10e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 40e2af6afSAndrew Rist * or more contributor license agreements. See the NOTICE file 50e2af6afSAndrew Rist * distributed with this work for additional information 60e2af6afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the 80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance 90e2af6afSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 110e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing, 140e2af6afSAndrew Rist * software distributed under the License is distributed on an 150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 160e2af6afSAndrew Rist * KIND, either express or implied. See the License for the 170e2af6afSAndrew Rist * specific language governing permissions and limitations 180e2af6afSAndrew Rist * under the License. 19cdf0e10cSrcweir * 200e2af6afSAndrew Rist *************************************************************/ 210e2af6afSAndrew Rist 220e2af6afSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "macroass.hrc" 25cdf0e10cSrcweir#include "cuires.hrc" 26cdf0e10cSrcweir#include "helpid.hrc" 27cdf0e10cSrcweir#include <svx/dialogs.hrc> 28cdf0e10cSrcweir 29cdf0e10cSrcweirTabPage RID_SVXPAGE_EVENTASSIGN 30cdf0e10cSrcweir{ 31cdf0e10cSrcweir HelpID = "cui:TabPage:RID_SVXPAGE_EVENTASSIGN" ; 32cdf0e10cSrcweir Hide = TRUE ; 33cdf0e10cSrcweir SVLook = TRUE ; 34cdf0e10cSrcweir DialogControl = TRUE ; 35cdf0e10cSrcweir Size = MAP_APPFONT ( WIDTH_TP, HEIGHT_TP ) ; 36cdf0e10cSrcweir Text [ en-US ] = "Assign Macro" ; 37cdf0e10cSrcweir String STR_EVENT 38cdf0e10cSrcweir { 39cdf0e10cSrcweir Text [ en-US ] = "Event" ; 40cdf0e10cSrcweir }; 41cdf0e10cSrcweir String STR_ASSMACRO 42cdf0e10cSrcweir { 43cdf0e10cSrcweir Text [ en-US ] = "Assigned macro" ; 44cdf0e10cSrcweir }; 45cdf0e10cSrcweir Control LB_EVENT 46cdf0e10cSrcweir { 47cdf0e10cSrcweir Border = TRUE ; 48cdf0e10cSrcweir Pos = MAP_APPFONT ( COL0, ROW0 ) ; 49cdf0e10cSrcweir Size = MAP_APPFONT ( WIDTH1_2, HEIGHT0 ) ; 50cdf0e10cSrcweir TabStop = TRUE ; 51cdf0e10cSrcweir DialogControl = TRUE ; 52cdf0e10cSrcweir ClipChildren = TRUE ; 53cdf0e10cSrcweir Disable = TRUE ; 54cdf0e10cSrcweir Group = TRUE ; 55cdf0e10cSrcweir HelpID = HID_MACRO_LB_EVENT ; 56cdf0e10cSrcweir }; 57cdf0e10cSrcweir FixedText FT_MACRO 58cdf0e10cSrcweir { 59cdf0e10cSrcweir Pos = MAP_APPFONT ( COL0, ROW7A ) ; 60cdf0e10cSrcweir Size = MAP_APPFONT ( WIDTH1, RSC_CD_FIXEDTEXT_HEIGHT ) ; 61cdf0e10cSrcweir Group = TRUE ; 62cdf0e10cSrcweir }; 63cdf0e10cSrcweir Control LB_GROUP 64cdf0e10cSrcweir { 65cdf0e10cSrcweir Border = TRUE ; 66cdf0e10cSrcweir Pos = MAP_APPFONT ( COL0, ROW8 ) ; 67cdf0e10cSrcweir Size = MAP_APPFONT ( WIDTH1, HEIGHT8 ) ; 68cdf0e10cSrcweir TabStop = TRUE ; 69cdf0e10cSrcweir Group = TRUE ; 70cdf0e10cSrcweir HelpId = HID_MACRO_GROUP ; 71cdf0e10cSrcweir }; 72cdf0e10cSrcweir FixedText FT_LABEL4LB_MACROS 73cdf0e10cSrcweir { 74cdf0e10cSrcweir Pos = MAP_APPFONT ( COL2, ROW7 ) ; 75cdf0e10cSrcweir Size = MAP_APPFONT ( WIDTH1, RSC_CD_FIXEDTEXT_HEIGHT + HEIGHT_EXTRA7 ) ; 76cdf0e10cSrcweir WordBreak = TRUE ; 77cdf0e10cSrcweir Text [ en-US ] = "~Existing macros\n" ; 78cdf0e10cSrcweir }; 79cdf0e10cSrcweir Control LB_MACROS 80cdf0e10cSrcweir { 81cdf0e10cSrcweir Border = TRUE ; 82cdf0e10cSrcweir Pos = MAP_APPFONT ( COL2, ROW8 ) ; 83cdf0e10cSrcweir Size = MAP_APPFONT ( WIDTH2, HEIGHT8 ) ; 84cdf0e10cSrcweir TabStop = TRUE ; 85cdf0e10cSrcweir HelpId = HID_MACRO_MACROS ; 86cdf0e10cSrcweir }; 87cdf0e10cSrcweir PushButton PB_ASSIGN 88cdf0e10cSrcweir { 89cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXPAGE_EVENTASSIGN:PB_ASSIGN" ; 90cdf0e10cSrcweir Pos = MAP_APPFONT ( COL4, ROW0 ) ; 91cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 92cdf0e10cSrcweir Disable = TRUE ; 93cdf0e10cSrcweir TabStop = TRUE ; 94cdf0e10cSrcweir Text [ en-US ] = "~Assign" ; 95cdf0e10cSrcweir }; 96cdf0e10cSrcweir PushButton PB_DELETE 97cdf0e10cSrcweir { 98cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXPAGE_EVENTASSIGN:PB_DELETE" ; 99cdf0e10cSrcweir Pos = MAP_APPFONT ( COL4, ROW2 ) ; 100cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 101cdf0e10cSrcweir Disable = TRUE ; 102cdf0e10cSrcweir TabStop = TRUE ; 103cdf0e10cSrcweir Text [ en-US ] = "~Remove" ; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir String STR_MACROS 106cdf0e10cSrcweir { 107cdf0e10cSrcweir Text [ en-US ] = "Macros" ; 108cdf0e10cSrcweir }; 109cdf0e10cSrcweir}; 110cdf0e10cSrcweir 111*ef4882fcSmseidel// ********************************************************************** EOF 112