1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28#include "macroass.hrc" 29#include "cuires.hrc" 30#include "helpid.hrc" 31#include <svx/dialogs.hrc> 32 33TabPage RID_SVXPAGE_EVENTASSIGN 34{ 35 HelpID = "cui:TabPage:RID_SVXPAGE_EVENTASSIGN"; 36 Hide = TRUE ; 37 SVLook = TRUE ; 38 DialogControl = TRUE ; 39 Size = MAP_APPFONT ( WIDTH_TP , HEIGHT_TP ) ; 40 Text [ en-US ] = "Assign Macro" ; 41 String STR_EVENT 42 { 43 Text [ en-US ] = "Event" ; 44 }; 45 String STR_ASSMACRO 46 { 47 Text [ en-US ] = "Assigned macro"; 48 }; 49 Control LB_EVENT 50 { 51 Border = TRUE ; 52 Pos = MAP_APPFONT ( COL0 , ROW0 ) ; 53 Size = MAP_APPFONT ( WIDTH1_2 , HEIGHT0 ) ; 54 TabStop = TRUE ; 55 DialogControl = TRUE ; 56 ClipChildren = TRUE ; 57 Disable = TRUE ; 58 Group = TRUE ; 59 HelpID = HID_MACRO_LB_EVENT ; 60 }; 61 FixedText FT_MACRO 62 { 63 Pos = MAP_APPFONT ( COL0 , ROW7A ) ; 64 Size = MAP_APPFONT ( WIDTH1 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 65 Group = TRUE ; 66 }; 67 Control LB_GROUP 68 { 69 Border = TRUE ; 70 Pos = MAP_APPFONT ( COL0 , ROW8 ) ; 71 Size = MAP_APPFONT ( WIDTH1 , HEIGHT8 ) ; 72 TabStop = TRUE ; 73 Group = TRUE ; 74 HelpId = HID_MACRO_GROUP ; 75 }; 76 FixedText FT_LABEL4LB_MACROS 77 { 78 Pos = MAP_APPFONT ( COL2 , ROW7 ) ; 79 Size = MAP_APPFONT ( WIDTH1 , RSC_CD_FIXEDTEXT_HEIGHT + HEIGHT_EXTRA7 ) ; 80 WordBreak = TRUE; 81 Text [ en-US ] = "~Existing macros\n" ; 82 }; 83 Control LB_MACROS 84 { 85 Border = TRUE ; 86 Pos = MAP_APPFONT ( COL2 , ROW8 ) ; 87 Size = MAP_APPFONT ( WIDTH2 , HEIGHT8 ) ; 88 TabStop = TRUE ; 89 HelpId = HID_MACRO_MACROS ; 90 }; 91 PushButton PB_ASSIGN 92 { 93 HelpID = "cui:PushButton:RID_SVXPAGE_EVENTASSIGN:PB_ASSIGN"; 94 Pos = MAP_APPFONT ( COL4 , ROW0 ) ; 95 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 96 // ### ACHTUNG: Neuer Text in Resource? Z~uweisen : Zuweisen 97 Disable = TRUE ; 98 TabStop = TRUE ; 99 Text [ en-US ] = "~Assign" ; 100 }; 101 PushButton PB_DELETE 102 { 103 HelpID = "cui:PushButton:RID_SVXPAGE_EVENTASSIGN:PB_DELETE"; 104 Pos = MAP_APPFONT ( COL4 , ROW2 ) ; 105 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 106 Disable = TRUE ; 107 TabStop = TRUE ; 108 Text [ en-US ] = "~Remove" ; 109 }; 110 String STR_MACROS 111 { 112 Text [ en-US ] = "Macros" ; 113 }; 114}; 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136