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 <sfx2/sfx.hrc> 25#include <macrodlg.hrc> 26#include <basidesh.hrc> 27#include <helpid.hrc> 28ModalDialog RID_MACROCHOOSER 29{ 30 HelpId = "basctl:ModalDialog:RID_MACROCHOOSER" ; 31 OutputSize = TRUE ; 32 SVLook = TRUE ; 33 Size = MAP_APPFONT ( 287 , 165 ) ; 34 Text [ en-US ] = "%PRODUCTNAME Basic Macros" ; 35 Moveable = TRUE ; 36 // Closeable = TRUE; 37 38 FixedText RID_TXT_MACROSIN 39 { 40 Pos = MAP_APPFONT ( 122 , 30 ) ; 41 Size = MAP_APPFONT ( 100 , 10 ) ; 42 Text [ en-US ] = "Existing macros ~in:"; 43 }; 44 Control RID_CTRL_MACRO 45 { 46 HelpID = HID_BASICIDE_MACROS ; 47 Border = TRUE ; 48 Pos = MAP_APPFONT ( 122 , 41 ) ; 49 Size = MAP_APPFONT ( 100 , 117 ) ; 50 // Size = MAP_APPFONT ( 100 , 117 ) ; 51 TabStop = TRUE ; 52 }; 53 Control RID_CTRL_LIB 54 { 55 HelpID = HID_BASICIDE_LIBS ; 56 Border = TRUE ; 57 Pos = MAP_APPFONT ( 6 , 41 ) ; 58 Size = MAP_APPFONT ( 110 , 117 ) ; 59 TabStop = TRUE ; 60 }; 61 FixedText RID_TXT_MACRONAME 62 { 63 Pos = MAP_APPFONT ( 6 , 3 ) ; 64 Size = MAP_APPFONT ( 100 , 10 ) ; 65 Text [ en-US ] = "~Macro name" ; 66 }; 67 Edit RID_ED_MACRONAME 68 { 69 HelpID = "basctl:Edit:RID_MACROCHOOSER:RID_ED_MACRONAME"; 70 Border = TRUE ; 71 SVLook = TRUE ; 72 Pos = MAP_APPFONT ( 6 , 14 ) ; 73 Size = MAP_APPFONT ( 110 , 12 ) ; 74 TabStop = TRUE ; 75 }; 76 FixedText RID_TXT_MACROFROM 77 { 78 Pos = MAP_APPFONT ( 6 , 30 ) ; 79 Size = MAP_APPFONT ( 100 , 10 ) ; 80 Text [ en-US ] = "Macro ~from" ; 81 }; 82 FixedText RID_TXT_SAVEMACRO 83 { 84 Pos = MAP_APPFONT ( 6 , 30 ) ; 85 Size = MAP_APPFONT ( 100 , 10 ) ; 86 Text [ en-US ] = "Save m~acro in"; 87 }; 88 89 FixedText RID_TXT_DESCRIPTION 90 { 91 Pos = MAP_APPFONT ( 6 , 117 ) ; 92 Size = MAP_APPFONT ( 100 , 10 ) ; 93 Text [ en-US ] = "De~scription" ; 94 }; 95 PushButton RID_PB_RUN 96 { 97 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_RUN"; 98 Pos = MAP_APPFONT ( 231 , 6 ) ; 99 Size = MAP_APPFONT ( 50 , 14 ) ; 100 DefButton = TRUE; 101 /* ### ACHTUNG: Neuer Text in Resource? Aus~f�hren : Aus~f�hren */ 102 Text [ en-US ] = "R~un" ; 103 TabStop = TRUE ; 104 }; 105 CancelButton RID_PB_CLOSE 106 { 107 Pos = MAP_APPFONT ( 231 , 23 ) ; 108 Size = MAP_APPFONT ( 50 , 14 ) ; 109 TabStop = TRUE ; 110 Text [ en-US ] = "Close"; 111 }; 112 113 PushButton RID_PB_ASSIGN 114 { 115 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_ASSIGN"; 116 Pos = MAP_APPFONT ( 231 , 60 ) ; 117 Size = MAP_APPFONT ( 50 , 14 ) ; 118 Text [ en-US ] = "~Assign..." ; 119 TabStop = TRUE ; 120 }; 121 PushButton RID_PB_EDIT 122 { 123 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_EDIT"; 124 Size = MAP_APPFONT ( 50 , 14 ) ; 125 Pos = MAP_APPFONT ( 231 , 77 ) ; 126 Text [ en-US ] = "~Edit" ; 127 TabStop = TRUE ; 128 }; 129 PushButton RID_PB_NEWLIB 130 { 131 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_NEWLIB"; 132 Pos = MAP_APPFONT ( 231 , 60 ) ; 133 Size = MAP_APPFONT ( 50 , 14 ) ; 134 Text [ en-US ] = "New ~Library"; 135 }; 136 PushButton RID_PB_NEWMOD 137 { 138 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_NEWMOD"; 139 Size = MAP_APPFONT ( 50 , 14 ) ; 140 Pos = MAP_APPFONT ( 231 , 77 ) ; 141 Text [ en-US ] = "New M~odule"; 142 }; 143 PushButton RID_PB_DEL 144 { 145 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_DEL"; 146 Pos = MAP_APPFONT ( 231 , 94 ) ; 147 Size = MAP_APPFONT ( 50 , 14 ) ; 148 /* ### ACHTUNG: Neuer Text in Resource? ~L�schen... : ~L�schen... */ 149 Text [ en-US ] = "~Delete" ; 150 TabStop = TRUE ; 151 }; 152 PushButton RID_PB_ORG 153 { 154 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_ORG"; 155 Pos = MAP_APPFONT ( 231 , 114 ) ; 156 Size = MAP_APPFONT ( 50 , 14 ) ; 157 Text [ en-US ] = "~Organizer..." ; 158 }; 159 HelpButton RID_PB_HELP 160 { 161 Pos = MAP_APPFONT ( 231 , 131 ) ; 162 Size = MAP_APPFONT ( 50 , 14 ) ; 163 TabStop = TRUE ; 164 }; 165 MultiLineEdit RID_ML_DESCRIPTION 166 { 167 HelpID = "basctl:MultiLineEdit:RID_MACROCHOOSER:RID_ML_DESCRIPTION"; 168 Border = TRUE ; 169 Pos = MAP_APPFONT ( 6 , 131 ) ; 170 Size = MAP_APPFONT ( 216 , 28 ) ; 171 TabStop = TRUE ; 172 VScroll = TRUE ; 173 IgnoreTab = TRUE ; 174 }; 175}; 176String RID_STR_STDMACRONAME 177{ 178 Text [ en-US ] = "Macro" ; 179}; 180String RID_STR_BTNDEL 181{ 182 /* ### ACHTUNG: Neuer Text in Resource? ~L�schen... : ~L�schen... */ 183 Text [ en-US ] = "~Delete" ; 184}; 185String RID_STR_BTNNEW 186{ 187 Text [ en-US ] = "~New" ; 188}; 189String RID_STR_CLOSE 190{ 191 /* ### ACHTUNG: Neuer Text in Resource? Schlie�en : Schlie�en */ 192 Text [ en-US ] = "Close" ; 193}; 194String RID_STR_CHOOSE 195{ 196 /* ### ACHTUNG: Neuer Text in Resource? Ausw�hlen : Ausw�hlen */ 197 Text [ en-US ] = "Choose" ; 198}; 199String RID_STR_RUN 200{ 201 /* ### ACHTUNG: Neuer Text in Resource? Ausf�hren : Ausf�hren */ 202 Text [ en-US ] = "Run" ; 203}; 204 205String RID_STR_RECORD 206{ 207 Text [ en-US ] = "~Save" ; 208}; 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237