1*8e0a7b1bSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*8e0a7b1bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*8e0a7b1bSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*8e0a7b1bSAndrew Rist * distributed with this work for additional information 6*8e0a7b1bSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*8e0a7b1bSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*8e0a7b1bSAndrew Rist * "License"); you may not use this file except in compliance 9*8e0a7b1bSAndrew Rist * with the License. You may obtain a copy of the License at 10*8e0a7b1bSAndrew Rist * 11*8e0a7b1bSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*8e0a7b1bSAndrew Rist * 13*8e0a7b1bSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*8e0a7b1bSAndrew Rist * software distributed under the License is distributed on an 15*8e0a7b1bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*8e0a7b1bSAndrew Rist * KIND, either express or implied. See the License for the 17*8e0a7b1bSAndrew Rist * specific language governing permissions and limitations 18*8e0a7b1bSAndrew Rist * under the License. 19*8e0a7b1bSAndrew Rist * 20*8e0a7b1bSAndrew Rist *************************************************************/ 21*8e0a7b1bSAndrew Rist 22*8e0a7b1bSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include <sfx2/sfx.hrc> 25cdf0e10cSrcweir#include <macrodlg.hrc> 26cdf0e10cSrcweir#include <basidesh.hrc> 27cdf0e10cSrcweir#include <helpid.hrc> 28cdf0e10cSrcweirModalDialog RID_MACROCHOOSER 29cdf0e10cSrcweir{ 30cdf0e10cSrcweir HelpId = "basctl:ModalDialog:RID_MACROCHOOSER" ; 31cdf0e10cSrcweir OutputSize = TRUE ; 32cdf0e10cSrcweir SVLook = TRUE ; 33cdf0e10cSrcweir Size = MAP_APPFONT ( 287 , 165 ) ; 34cdf0e10cSrcweir Text [ en-US ] = "%PRODUCTNAME Basic Macros" ; 35cdf0e10cSrcweir Moveable = TRUE ; 36cdf0e10cSrcweir // Closeable = TRUE; 37cdf0e10cSrcweir 38cdf0e10cSrcweir FixedText RID_TXT_MACROSIN 39cdf0e10cSrcweir { 40cdf0e10cSrcweir Pos = MAP_APPFONT ( 122 , 30 ) ; 41cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 10 ) ; 42cdf0e10cSrcweir Text [ en-US ] = "Existing macros ~in:"; 43cdf0e10cSrcweir }; 44cdf0e10cSrcweir Control RID_CTRL_MACRO 45cdf0e10cSrcweir { 46cdf0e10cSrcweir HelpID = HID_BASICIDE_MACROS ; 47cdf0e10cSrcweir Border = TRUE ; 48cdf0e10cSrcweir Pos = MAP_APPFONT ( 122 , 41 ) ; 49cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 117 ) ; 50cdf0e10cSrcweir // Size = MAP_APPFONT ( 100 , 117 ) ; 51cdf0e10cSrcweir TabStop = TRUE ; 52cdf0e10cSrcweir }; 53cdf0e10cSrcweir Control RID_CTRL_LIB 54cdf0e10cSrcweir { 55cdf0e10cSrcweir HelpID = HID_BASICIDE_LIBS ; 56cdf0e10cSrcweir Border = TRUE ; 57cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 41 ) ; 58cdf0e10cSrcweir Size = MAP_APPFONT ( 110 , 117 ) ; 59cdf0e10cSrcweir TabStop = TRUE ; 60cdf0e10cSrcweir }; 61cdf0e10cSrcweir FixedText RID_TXT_MACRONAME 62cdf0e10cSrcweir { 63cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 64cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 10 ) ; 65cdf0e10cSrcweir Text [ en-US ] = "~Macro name" ; 66cdf0e10cSrcweir }; 67cdf0e10cSrcweir Edit RID_ED_MACRONAME 68cdf0e10cSrcweir { 69cdf0e10cSrcweir HelpID = "basctl:Edit:RID_MACROCHOOSER:RID_ED_MACRONAME"; 70cdf0e10cSrcweir Border = TRUE ; 71cdf0e10cSrcweir SVLook = TRUE ; 72cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 14 ) ; 73cdf0e10cSrcweir Size = MAP_APPFONT ( 110 , 12 ) ; 74cdf0e10cSrcweir TabStop = TRUE ; 75cdf0e10cSrcweir }; 76cdf0e10cSrcweir FixedText RID_TXT_MACROFROM 77cdf0e10cSrcweir { 78cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 30 ) ; 79cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 10 ) ; 80cdf0e10cSrcweir Text [ en-US ] = "Macro ~from" ; 81cdf0e10cSrcweir }; 82cdf0e10cSrcweir FixedText RID_TXT_SAVEMACRO 83cdf0e10cSrcweir { 84cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 30 ) ; 85cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 10 ) ; 86cdf0e10cSrcweir Text [ en-US ] = "Save m~acro in"; 87cdf0e10cSrcweir }; 88cdf0e10cSrcweir 89cdf0e10cSrcweir FixedText RID_TXT_DESCRIPTION 90cdf0e10cSrcweir { 91cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 117 ) ; 92cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 10 ) ; 93cdf0e10cSrcweir Text [ en-US ] = "De~scription" ; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir PushButton RID_PB_RUN 96cdf0e10cSrcweir { 97cdf0e10cSrcweir HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_RUN"; 98cdf0e10cSrcweir Pos = MAP_APPFONT ( 231 , 6 ) ; 99cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 100cdf0e10cSrcweir DefButton = TRUE; 101cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Aus~f�hren : Aus~f�hren */ 102cdf0e10cSrcweir Text [ en-US ] = "R~un" ; 103cdf0e10cSrcweir TabStop = TRUE ; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir CancelButton RID_PB_CLOSE 106cdf0e10cSrcweir { 107cdf0e10cSrcweir Pos = MAP_APPFONT ( 231 , 23 ) ; 108cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 109cdf0e10cSrcweir TabStop = TRUE ; 110cdf0e10cSrcweir Text [ en-US ] = "Close"; 111cdf0e10cSrcweir }; 112cdf0e10cSrcweir 113cdf0e10cSrcweir PushButton RID_PB_ASSIGN 114cdf0e10cSrcweir { 115cdf0e10cSrcweir HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_ASSIGN"; 116cdf0e10cSrcweir Pos = MAP_APPFONT ( 231 , 60 ) ; 117cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 118cdf0e10cSrcweir Text [ en-US ] = "~Assign..." ; 119cdf0e10cSrcweir TabStop = TRUE ; 120cdf0e10cSrcweir }; 121cdf0e10cSrcweir PushButton RID_PB_EDIT 122cdf0e10cSrcweir { 123cdf0e10cSrcweir HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_EDIT"; 124cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 125cdf0e10cSrcweir Pos = MAP_APPFONT ( 231 , 77 ) ; 126cdf0e10cSrcweir Text [ en-US ] = "~Edit" ; 127cdf0e10cSrcweir TabStop = TRUE ; 128cdf0e10cSrcweir }; 129cdf0e10cSrcweir PushButton RID_PB_NEWLIB 130cdf0e10cSrcweir { 131cdf0e10cSrcweir HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_NEWLIB"; 132cdf0e10cSrcweir Pos = MAP_APPFONT ( 231 , 60 ) ; 133cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 134cdf0e10cSrcweir Text [ en-US ] = "New ~Library"; 135cdf0e10cSrcweir }; 136cdf0e10cSrcweir PushButton RID_PB_NEWMOD 137cdf0e10cSrcweir { 138cdf0e10cSrcweir HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_NEWMOD"; 139cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 140cdf0e10cSrcweir Pos = MAP_APPFONT ( 231 , 77 ) ; 141cdf0e10cSrcweir Text [ en-US ] = "New M~odule"; 142cdf0e10cSrcweir }; 143cdf0e10cSrcweir PushButton RID_PB_DEL 144cdf0e10cSrcweir { 145cdf0e10cSrcweir HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_DEL"; 146cdf0e10cSrcweir Pos = MAP_APPFONT ( 231 , 94 ) ; 147cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 148cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? ~L�schen... : ~L�schen... */ 149cdf0e10cSrcweir Text [ en-US ] = "~Delete" ; 150cdf0e10cSrcweir TabStop = TRUE ; 151cdf0e10cSrcweir }; 152cdf0e10cSrcweir PushButton RID_PB_ORG 153cdf0e10cSrcweir { 154cdf0e10cSrcweir HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_ORG"; 155cdf0e10cSrcweir Pos = MAP_APPFONT ( 231 , 114 ) ; 156cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 157cdf0e10cSrcweir Text [ en-US ] = "~Organizer..." ; 158cdf0e10cSrcweir }; 159cdf0e10cSrcweir HelpButton RID_PB_HELP 160cdf0e10cSrcweir { 161cdf0e10cSrcweir Pos = MAP_APPFONT ( 231 , 131 ) ; 162cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 163cdf0e10cSrcweir TabStop = TRUE ; 164cdf0e10cSrcweir }; 165cdf0e10cSrcweir MultiLineEdit RID_ML_DESCRIPTION 166cdf0e10cSrcweir { 167cdf0e10cSrcweir HelpID = "basctl:MultiLineEdit:RID_MACROCHOOSER:RID_ML_DESCRIPTION"; 168cdf0e10cSrcweir Border = TRUE ; 169cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 131 ) ; 170cdf0e10cSrcweir Size = MAP_APPFONT ( 216 , 28 ) ; 171cdf0e10cSrcweir TabStop = TRUE ; 172cdf0e10cSrcweir VScroll = TRUE ; 173cdf0e10cSrcweir IgnoreTab = TRUE ; 174cdf0e10cSrcweir }; 175cdf0e10cSrcweir}; 176cdf0e10cSrcweirString RID_STR_STDMACRONAME 177cdf0e10cSrcweir{ 178cdf0e10cSrcweir Text [ en-US ] = "Macro" ; 179cdf0e10cSrcweir}; 180cdf0e10cSrcweirString RID_STR_BTNDEL 181cdf0e10cSrcweir{ 182cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? ~L�schen... : ~L�schen... */ 183cdf0e10cSrcweir Text [ en-US ] = "~Delete" ; 184cdf0e10cSrcweir}; 185cdf0e10cSrcweirString RID_STR_BTNNEW 186cdf0e10cSrcweir{ 187cdf0e10cSrcweir Text [ en-US ] = "~New" ; 188cdf0e10cSrcweir}; 189cdf0e10cSrcweirString RID_STR_CLOSE 190cdf0e10cSrcweir{ 191cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Schlie�en : Schlie�en */ 192cdf0e10cSrcweir Text [ en-US ] = "Close" ; 193cdf0e10cSrcweir}; 194cdf0e10cSrcweirString RID_STR_CHOOSE 195cdf0e10cSrcweir{ 196cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Ausw�hlen : Ausw�hlen */ 197cdf0e10cSrcweir Text [ en-US ] = "Choose" ; 198cdf0e10cSrcweir}; 199cdf0e10cSrcweirString RID_STR_RUN 200cdf0e10cSrcweir{ 201cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Ausf�hren : Ausf�hren */ 202cdf0e10cSrcweir Text [ en-US ] = "Run" ; 203cdf0e10cSrcweir}; 204cdf0e10cSrcweir 205cdf0e10cSrcweirString RID_STR_RECORD 206cdf0e10cSrcweir{ 207cdf0e10cSrcweir Text [ en-US ] = "~Save" ; 208cdf0e10cSrcweir}; 209cdf0e10cSrcweir 210cdf0e10cSrcweir 211cdf0e10cSrcweir 212cdf0e10cSrcweir 213cdf0e10cSrcweir 214cdf0e10cSrcweir 215cdf0e10cSrcweir 216cdf0e10cSrcweir 217cdf0e10cSrcweir 218cdf0e10cSrcweir 219cdf0e10cSrcweir 220cdf0e10cSrcweir 221cdf0e10cSrcweir 222cdf0e10cSrcweir 223cdf0e10cSrcweir 224cdf0e10cSrcweir 225cdf0e10cSrcweir 226cdf0e10cSrcweir 227cdf0e10cSrcweir 228cdf0e10cSrcweir 229cdf0e10cSrcweir 230cdf0e10cSrcweir 231cdf0e10cSrcweir 232cdf0e10cSrcweir 233cdf0e10cSrcweir 234cdf0e10cSrcweir 235cdf0e10cSrcweir 236cdf0e10cSrcweir 237