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 Text [ en-US ] = "R~un" ; 102 TabStop = TRUE ; 103 }; 104 CancelButton RID_PB_CLOSE 105 { 106 Pos = MAP_APPFONT ( 231, 23 ) ; 107 Size = MAP_APPFONT ( 50, 14 ) ; 108 TabStop = TRUE ; 109 Text [ en-US ] = "Close" ; 110 }; 111 112 PushButton RID_PB_ASSIGN 113 { 114 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_ASSIGN" ; 115 Pos = MAP_APPFONT ( 231, 60 ) ; 116 Size = MAP_APPFONT ( 50, 14 ) ; 117 Text [ en-US ] = "~Assign..." ; 118 TabStop = TRUE ; 119 }; 120 PushButton RID_PB_EDIT 121 { 122 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_EDIT" ; 123 Size = MAP_APPFONT ( 50, 14 ) ; 124 Pos = MAP_APPFONT ( 231, 77 ) ; 125 Text [ en-US ] = "~Edit" ; 126 TabStop = TRUE ; 127 }; 128 PushButton RID_PB_NEWLIB 129 { 130 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_NEWLIB" ; 131 Pos = MAP_APPFONT ( 231, 60 ) ; 132 Size = MAP_APPFONT ( 50, 14 ) ; 133 Text [ en-US ] = "New ~Library" ; 134 }; 135 PushButton RID_PB_NEWMOD 136 { 137 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_NEWMOD" ; 138 Size = MAP_APPFONT ( 50, 14 ) ; 139 Pos = MAP_APPFONT ( 231, 77 ) ; 140 Text [ en-US ] = "New M~odule" ; 141 }; 142 PushButton RID_PB_DEL 143 { 144 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_DEL" ; 145 Pos = MAP_APPFONT ( 231, 94 ) ; 146 Size = MAP_APPFONT ( 50, 14 ) ; 147 Text [ en-US ] = "~Delete" ; 148 TabStop = TRUE ; 149 }; 150 PushButton RID_PB_ORG 151 { 152 HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_ORG" ; 153 Pos = MAP_APPFONT ( 231, 114 ) ; 154 Size = MAP_APPFONT ( 50, 14 ) ; 155 Text [ en-US ] = "~Organizer..." ; 156 }; 157 HelpButton RID_PB_HELP 158 { 159 Pos = MAP_APPFONT ( 231, 131 ) ; 160 Size = MAP_APPFONT ( 50, 14 ) ; 161 TabStop = TRUE ; 162 }; 163 MultiLineEdit RID_ML_DESCRIPTION 164 { 165 HelpID = "basctl:MultiLineEdit:RID_MACROCHOOSER:RID_ML_DESCRIPTION" ; 166 Border = TRUE ; 167 Pos = MAP_APPFONT ( 6, 131 ) ; 168 Size = MAP_APPFONT ( 216, 28 ) ; 169 TabStop = TRUE ; 170 VScroll = TRUE ; 171 IgnoreTab = TRUE ; 172 }; 173}; 174String RID_STR_STDMACRONAME 175{ 176 Text [ en-US ] = "Macro" ; 177}; 178String RID_STR_BTNDEL 179{ 180 Text [ en-US ] = "~Delete" ; 181}; 182String RID_STR_BTNNEW 183{ 184 Text [ en-US ] = "~New" ; 185}; 186String RID_STR_CLOSE 187{ 188 Text [ en-US ] = "Close" ; 189}; 190String RID_STR_CHOOSE 191{ 192 Text [ en-US ] = "Choose" ; 193}; 194String RID_STR_RUN 195{ 196 Text [ en-US ] = "Run" ; 197}; 198 199String RID_STR_RECORD 200{ 201 Text [ en-US ] = "~Save" ; 202}; 203 204// ********************************************************************** EOF 205