/* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include #include #include #include ModalDialog RID_MACROCHOOSER { HelpId = "basctl:ModalDialog:RID_MACROCHOOSER" ; OutputSize = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 287 , 165 ) ; Text [ en-US ] = "%PRODUCTNAME Basic Macros" ; Moveable = TRUE ; // Closeable = TRUE; FixedText RID_TXT_MACROSIN { Pos = MAP_APPFONT ( 122 , 30 ) ; Size = MAP_APPFONT ( 100 , 10 ) ; Text [ en-US ] = "Existing macros ~in:"; }; Control RID_CTRL_MACRO { HelpID = HID_BASICIDE_MACROS ; Border = TRUE ; Pos = MAP_APPFONT ( 122 , 41 ) ; Size = MAP_APPFONT ( 100 , 117 ) ; // Size = MAP_APPFONT ( 100 , 117 ) ; TabStop = TRUE ; }; Control RID_CTRL_LIB { HelpID = HID_BASICIDE_LIBS ; Border = TRUE ; Pos = MAP_APPFONT ( 6 , 41 ) ; Size = MAP_APPFONT ( 110 , 117 ) ; TabStop = TRUE ; }; FixedText RID_TXT_MACRONAME { Pos = MAP_APPFONT ( 6 , 3 ) ; Size = MAP_APPFONT ( 100 , 10 ) ; Text [ en-US ] = "~Macro name" ; }; Edit RID_ED_MACRONAME { HelpID = "basctl:Edit:RID_MACROCHOOSER:RID_ED_MACRONAME"; Border = TRUE ; SVLook = TRUE ; Pos = MAP_APPFONT ( 6 , 14 ) ; Size = MAP_APPFONT ( 110 , 12 ) ; TabStop = TRUE ; }; FixedText RID_TXT_MACROFROM { Pos = MAP_APPFONT ( 6 , 30 ) ; Size = MAP_APPFONT ( 100 , 10 ) ; Text [ en-US ] = "Macro ~from" ; }; FixedText RID_TXT_SAVEMACRO { Pos = MAP_APPFONT ( 6 , 30 ) ; Size = MAP_APPFONT ( 100 , 10 ) ; Text [ en-US ] = "Save m~acro in"; }; FixedText RID_TXT_DESCRIPTION { Pos = MAP_APPFONT ( 6 , 117 ) ; Size = MAP_APPFONT ( 100 , 10 ) ; Text [ en-US ] = "De~scription" ; }; PushButton RID_PB_RUN { HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_RUN"; Pos = MAP_APPFONT ( 231 , 6 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; DefButton = TRUE; Text [ en-US ] = "R~un" ; TabStop = TRUE ; }; CancelButton RID_PB_CLOSE { Pos = MAP_APPFONT ( 231 , 23 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; Text [ en-US ] = "Close"; }; PushButton RID_PB_ASSIGN { HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_ASSIGN"; Pos = MAP_APPFONT ( 231 , 60 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; Text [ en-US ] = "~Assign..." ; TabStop = TRUE ; }; PushButton RID_PB_EDIT { HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_EDIT"; Size = MAP_APPFONT ( 50 , 14 ) ; Pos = MAP_APPFONT ( 231 , 77 ) ; Text [ en-US ] = "~Edit" ; TabStop = TRUE ; }; PushButton RID_PB_NEWLIB { HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_NEWLIB"; Pos = MAP_APPFONT ( 231 , 60 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; Text [ en-US ] = "New ~Library"; }; PushButton RID_PB_NEWMOD { HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_NEWMOD"; Size = MAP_APPFONT ( 50 , 14 ) ; Pos = MAP_APPFONT ( 231 , 77 ) ; Text [ en-US ] = "New M~odule"; }; PushButton RID_PB_DEL { HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_DEL"; Pos = MAP_APPFONT ( 231 , 94 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; Text [ en-US ] = "~Delete" ; TabStop = TRUE ; }; PushButton RID_PB_ORG { HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_ORG"; Pos = MAP_APPFONT ( 231 , 114 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; Text [ en-US ] = "~Organizer..." ; }; HelpButton RID_PB_HELP { Pos = MAP_APPFONT ( 231 , 131 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; }; MultiLineEdit RID_ML_DESCRIPTION { HelpID = "basctl:MultiLineEdit:RID_MACROCHOOSER:RID_ML_DESCRIPTION"; Border = TRUE ; Pos = MAP_APPFONT ( 6 , 131 ) ; Size = MAP_APPFONT ( 216 , 28 ) ; TabStop = TRUE ; VScroll = TRUE ; IgnoreTab = TRUE ; }; }; String RID_STR_STDMACRONAME { Text [ en-US ] = "Macro" ; }; String RID_STR_BTNDEL { Text [ en-US ] = "~Delete" ; }; String RID_STR_BTNNEW { Text [ en-US ] = "~New" ; }; String RID_STR_CLOSE { Text [ en-US ] = "Close" ; }; String RID_STR_CHOOSE { Text [ en-US ] = "Choose" ; }; String RID_STR_RUN { Text [ en-US ] = "Run" ; }; String RID_STR_RECORD { Text [ en-US ] = "~Save" ; };