/* * 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 "macroass.hrc" #include "cuires.hrc" #include "helpid.hrc" #include TabPage RID_SVXPAGE_EVENTASSIGN { HelpID = "cui:TabPage:RID_SVXPAGE_EVENTASSIGN"; Hide = TRUE ; SVLook = TRUE ; DialogControl = TRUE ; Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "Assign Macro" ; String STR_EVENT { Text [ en-US ] = "Event" ; }; String STR_ASSMACRO { Text [ en-US ] = "Assigned macro"; }; Control LB_EVENT { Border = TRUE ; Pos = MAP_APPFONT ( COL0 , ROW0 ) ; Size = MAP_APPFONT ( WIDTH1_2 , HEIGHT0 ) ; TabStop = TRUE ; DialogControl = TRUE ; ClipChildren = TRUE ; Disable = TRUE ; Group = TRUE ; HelpID = HID_MACRO_LB_EVENT ; }; FixedText FT_MACRO { Pos = MAP_APPFONT ( COL0 , ROW7A ) ; Size = MAP_APPFONT ( WIDTH1 , RSC_CD_FIXEDTEXT_HEIGHT ) ; Group = TRUE ; }; Control LB_GROUP { Border = TRUE ; Pos = MAP_APPFONT ( COL0 , ROW8 ) ; Size = MAP_APPFONT ( WIDTH1 , HEIGHT8 ) ; TabStop = TRUE ; Group = TRUE ; HelpId = HID_MACRO_GROUP ; }; FixedText FT_LABEL4LB_MACROS { Pos = MAP_APPFONT ( COL2 , ROW7 ) ; Size = MAP_APPFONT ( WIDTH1 , RSC_CD_FIXEDTEXT_HEIGHT + HEIGHT_EXTRA7 ) ; WordBreak = TRUE; Text [ en-US ] = "~Existing macros\n" ; }; Control LB_MACROS { Border = TRUE ; Pos = MAP_APPFONT ( COL2 , ROW8 ) ; Size = MAP_APPFONT ( WIDTH2 , HEIGHT8 ) ; TabStop = TRUE ; HelpId = HID_MACRO_MACROS ; }; PushButton PB_ASSIGN { HelpID = "cui:PushButton:RID_SVXPAGE_EVENTASSIGN:PB_ASSIGN"; Pos = MAP_APPFONT ( COL4 , ROW0 ) ; Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; Disable = TRUE ; TabStop = TRUE ; Text [ en-US ] = "~Assign" ; }; PushButton PB_DELETE { HelpID = "cui:PushButton:RID_SVXPAGE_EVENTASSIGN:PB_DELETE"; Pos = MAP_APPFONT ( COL4 , ROW2 ) ; Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; Disable = TRUE ; TabStop = TRUE ; Text [ en-US ] = "~Remove" ; }; String STR_MACROS { Text [ en-US ] = "Macros" ; }; };