1*0e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*0e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*0e2af6afSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*0e2af6afSAndrew Rist * distributed with this work for additional information 6*0e2af6afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*0e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*0e2af6afSAndrew Rist * "License"); you may not use this file except in compliance 9*0e2af6afSAndrew Rist * with the License. You may obtain a copy of the License at 10*0e2af6afSAndrew Rist * 11*0e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*0e2af6afSAndrew Rist * 13*0e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*0e2af6afSAndrew Rist * software distributed under the License is distributed on an 15*0e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*0e2af6afSAndrew Rist * KIND, either express or implied. See the License for the 17*0e2af6afSAndrew Rist * specific language governing permissions and limitations 18*0e2af6afSAndrew Rist * under the License. 19*0e2af6afSAndrew Rist * 20*0e2af6afSAndrew Rist *************************************************************/ 21*0e2af6afSAndrew Rist 22*0e2af6afSAndrew 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 // ### ACHTUNG: Neuer Text in Resource? Z~uweisen : Zuweisen 93cdf0e10cSrcweir Disable = TRUE ; 94cdf0e10cSrcweir TabStop = TRUE ; 95cdf0e10cSrcweir Text [ en-US ] = "~Assign" ; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir PushButton PB_DELETE 98cdf0e10cSrcweir { 99cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXPAGE_EVENTASSIGN:PB_DELETE"; 100cdf0e10cSrcweir Pos = MAP_APPFONT ( COL4 , ROW2 ) ; 101cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 102cdf0e10cSrcweir Disable = TRUE ; 103cdf0e10cSrcweir TabStop = TRUE ; 104cdf0e10cSrcweir Text [ en-US ] = "~Remove" ; 105cdf0e10cSrcweir }; 106cdf0e10cSrcweir String STR_MACROS 107cdf0e10cSrcweir { 108cdf0e10cSrcweir Text [ en-US ] = "Macros" ; 109cdf0e10cSrcweir }; 110cdf0e10cSrcweir}; 111cdf0e10cSrcweir 112cdf0e10cSrcweir 113cdf0e10cSrcweir 114cdf0e10cSrcweir 115cdf0e10cSrcweir 116cdf0e10cSrcweir 117cdf0e10cSrcweir 118cdf0e10cSrcweir 119cdf0e10cSrcweir 120cdf0e10cSrcweir 121cdf0e10cSrcweir 122cdf0e10cSrcweir 123cdf0e10cSrcweir 124cdf0e10cSrcweir 125cdf0e10cSrcweir 126cdf0e10cSrcweir 127cdf0e10cSrcweir 128cdf0e10cSrcweir 129cdf0e10cSrcweir 130cdf0e10cSrcweir 131cdf0e10cSrcweir 132