1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#include "helpid.hrc" 25#include "eventdlg.hrc" 26 27#define MASKCOLOR MaskColor = \ 28 Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 29 30 // TP_CONFIG_EVENT ------------------------------------------------------- 31TabPage RID_SVXPAGE_EVENTS 32{ 33 HelpId = HID_SVX_CONFIG_EVENT ; 34 OutputSize = TRUE ; 35 Hide = TRUE ; 36 Size = MAP_APPFONT ( 272 , 258 ) ; 37 String STR_EVENT 38 { 39 Text [ en-US ] = "Event" ; 40 }; 41 String STR_ASSMACRO 42 { 43 Text [ en-US ] = "Assigned Action" ; 44 }; 45 Control LB_EVENT 46 { 47 Border = TRUE ; 48 Pos = MAP_APPFONT ( 6 , 6 ) ; 49 Size = MAP_APPFONT ( 205 , 229 ) ; 50 TabStop = TRUE ; 51 HelpID = HID_SVX_MACRO_LB_EVENT ; 52 }; 53 FixedText TXT_SAVEIN 54 { 55 Pos = MAP_APPFONT ( 6 , 240 ) ; 56 Size = MAP_APPFONT ( 55 , 8 ) ; 57 Group = TRUE ; 58 Text [ en-US ] = "Save In" ; 59 }; 60 ListBox LB_SAVEIN 61 { 62 HelpID = "cui:ListBox:RID_SVXPAGE_EVENTS:LB_SAVEIN"; 63 Border = TRUE ; 64 Pos = MAP_APPFONT ( 54 , 238 ) ; 65 Size = MAP_APPFONT ( 132 , 53 ) ; 66 DropDown = TRUE ; 67 }; 68 FixedText FT_ASSIGN 69 { 70 Pos = MAP_APPFONT ( 217, ROW0 ) ; 71 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; 72 Text [ en-US ] = "Assign:" ; 73 }; 74 PushButton PB_ASSIGN 75 { 76 HelpID = "cui:PushButton:RID_SVXPAGE_EVENTS:PB_ASSIGN"; 77 Pos = MAP_APPFONT ( 217 , ROW0A ) ; 78 Size = MAP_APPFONT ( 50 , 14 ) ; 79 Disable = TRUE ; 80 Text [ en-US ] = "M~acro..." ; 81 }; 82 PushButton PB_DELETE 83 { 84 HelpID = "cui:PushButton:RID_SVXPAGE_EVENTS:PB_DELETE"; 85 Pos = MAP_APPFONT ( 217 , ROW0A+RSC_CD_PUSHBUTTON_HEIGHT+12 ) ; 86 Size = MAP_APPFONT ( 50 , 14 ) ; 87 Disable = TRUE ; 88 Text [ en-US ] = "~Remove" ; 89 }; 90 Image IMG_MACRO 91 { 92 ImageBitmap = Bitmap { File = "id018.png"; }; 93 MASKCOLOR 94 }; 95 Image IMG_COMPONENT 96 { 97 ImageBitmap = Bitmap { File = "component_16.png"; }; 98 MASKCOLOR 99 }; 100 Image IMG_MACRO_H 101 { 102 ImageBitmap = Bitmap { File = "idh018.png"; }; 103 MASKCOLOR 104 }; 105 Image IMG_COMPONENT_H 106 { 107 ImageBitmap = Bitmap { File = "component_16_h.png"; }; 108 MASKCOLOR 109 }; 110}; 111