1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#include "macroass.hrc" 25#include "cuires.hrc" 26#include "helpid.hrc" 27#include <svx/dialogs.hrc> 28 29TabPage RID_SVXPAGE_EVENTASSIGN 30{ 31 HelpID = "cui:TabPage:RID_SVXPAGE_EVENTASSIGN"; 32 Hide = TRUE ; 33 SVLook = TRUE ; 34 DialogControl = TRUE ; 35 Size = MAP_APPFONT ( WIDTH_TP , HEIGHT_TP ) ; 36 Text [ en-US ] = "Assign Macro" ; 37 String STR_EVENT 38 { 39 Text [ en-US ] = "Event" ; 40 }; 41 String STR_ASSMACRO 42 { 43 Text [ en-US ] = "Assigned macro"; 44 }; 45 Control LB_EVENT 46 { 47 Border = TRUE ; 48 Pos = MAP_APPFONT ( COL0 , ROW0 ) ; 49 Size = MAP_APPFONT ( WIDTH1_2 , HEIGHT0 ) ; 50 TabStop = TRUE ; 51 DialogControl = TRUE ; 52 ClipChildren = TRUE ; 53 Disable = TRUE ; 54 Group = TRUE ; 55 HelpID = HID_MACRO_LB_EVENT ; 56 }; 57 FixedText FT_MACRO 58 { 59 Pos = MAP_APPFONT ( COL0 , ROW7A ) ; 60 Size = MAP_APPFONT ( WIDTH1 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 61 Group = TRUE ; 62 }; 63 Control LB_GROUP 64 { 65 Border = TRUE ; 66 Pos = MAP_APPFONT ( COL0 , ROW8 ) ; 67 Size = MAP_APPFONT ( WIDTH1 , HEIGHT8 ) ; 68 TabStop = TRUE ; 69 Group = TRUE ; 70 HelpId = HID_MACRO_GROUP ; 71 }; 72 FixedText FT_LABEL4LB_MACROS 73 { 74 Pos = MAP_APPFONT ( COL2 , ROW7 ) ; 75 Size = MAP_APPFONT ( WIDTH1 , RSC_CD_FIXEDTEXT_HEIGHT + HEIGHT_EXTRA7 ) ; 76 WordBreak = TRUE; 77 Text [ en-US ] = "~Existing macros\n" ; 78 }; 79 Control LB_MACROS 80 { 81 Border = TRUE ; 82 Pos = MAP_APPFONT ( COL2 , ROW8 ) ; 83 Size = MAP_APPFONT ( WIDTH2 , HEIGHT8 ) ; 84 TabStop = TRUE ; 85 HelpId = HID_MACRO_MACROS ; 86 }; 87 PushButton PB_ASSIGN 88 { 89 HelpID = "cui:PushButton:RID_SVXPAGE_EVENTASSIGN:PB_ASSIGN"; 90 Pos = MAP_APPFONT ( COL4 , ROW0 ) ; 91 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 92 // ### ACHTUNG: Neuer Text in Resource? Z~uweisen : Zuweisen 93 Disable = TRUE ; 94 TabStop = TRUE ; 95 Text [ en-US ] = "~Assign" ; 96 }; 97 PushButton PB_DELETE 98 { 99 HelpID = "cui:PushButton:RID_SVXPAGE_EVENTASSIGN:PB_DELETE"; 100 Pos = MAP_APPFONT ( COL4 , ROW2 ) ; 101 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 102 Disable = TRUE ; 103 TabStop = TRUE ; 104 Text [ en-US ] = "~Remove" ; 105 }; 106 String STR_MACROS 107 { 108 Text [ en-US ] = "Macros" ; 109 }; 110}; 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132