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 "xmlfiltersettingsdialog.hrc" 25#include "xmlfilterhelpids.hrc" 26 27#define BUTTONS_LEFT 248 28#define BUTTONS_TOP 6 29#define BUTTONS_SPACEING 3 30#define BUTTONS_WIDTH 66 31#define BUTTONS_HEIGHT 14 32 33WorkWindow DLG_XML_FILTER_SETTINGS_DIALOG 34{ 35 Size = MAP_APPFONT( 320, 154 ) ; 36 HelpId = HID_XML_FILTER_SETTINGS_DIALOG ; 37 OutputSize = TRUE ; 38 SVLook = TRUE ; 39 Moveable = TRUE ; 40 Closeable = TRUE ; 41 Sizeable = FALSE ; 42 DialogControl = TRUE ; 43 Text [ en-US ] = "XML Filter Settings" ; 44 45 Control CTRL_XML_FILTER_LIST 46 { 47 Pos = MAP_APPFONT ( 6, 6 ) ; 48 Size = MAP_APPFONT ( 235, 142 ) ; 49 Border = TRUE ; 50 TabStop = TRUE ; 51 }; 52 53 PushButton PB_XML_FILTER_NEW 54 { 55 Pos = MAP_APPFONT ( BUTTONS_LEFT, BUTTONS_TOP + 0 * BUTTONS_HEIGHT + 0 * BUTTONS_SPACEING ) ; 56 Size = MAP_APPFONT ( BUTTONS_WIDTH, BUTTONS_HEIGHT ) ; 57 HelpId = HID_XML_FILTER_NEW ; 58 TabStop = TRUE ; 59 Text [ en-US ] = "~New..." ; 60 }; 61 62 PushButton PB_XML_FILTER_EDIT 63 { 64 Pos = MAP_APPFONT ( BUTTONS_LEFT, BUTTONS_TOP + 1 * BUTTONS_HEIGHT + 1 * BUTTONS_SPACEING ) ; 65 Size = MAP_APPFONT ( BUTTONS_WIDTH, BUTTONS_HEIGHT ) ; 66 HelpId = HID_XML_FILTER_EDIT ; 67 TabStop = TRUE ; 68 Text [ en-US ] = "~Edit..." ; 69 }; 70 71 PushButton PB_XML_FILTER_TEST 72 { 73 Pos = MAP_APPFONT ( BUTTONS_LEFT, BUTTONS_TOP + 2 * BUTTONS_HEIGHT + 2 * BUTTONS_SPACEING ) ; 74 Size = MAP_APPFONT ( BUTTONS_WIDTH, BUTTONS_HEIGHT ) ; 75 HelpId = HID_XML_FILTER_TEST ; 76 TabStop = TRUE ; 77 Text [ en-US ] = "~Test XSLTs..." ; 78 }; 79 80 PushButton PB_XML_FILTER_DELETE 81 { 82 Pos = MAP_APPFONT ( BUTTONS_LEFT, BUTTONS_TOP + 3 * BUTTONS_HEIGHT + 4 * BUTTONS_SPACEING ) ; 83 Size = MAP_APPFONT ( BUTTONS_WIDTH, BUTTONS_HEIGHT ) ; 84 HelpId = HID_XML_FILTER_DELETE ; 85 TabStop = TRUE ; 86 Text [ en-US ] = "~Delete..." ; 87 }; 88 89 PushButton PB_XML_FILTER_SAVE 90 { 91 Pos = MAP_APPFONT ( BUTTONS_LEFT, BUTTONS_TOP + 4 * BUTTONS_HEIGHT + 6 * BUTTONS_SPACEING ) ; 92 Size = MAP_APPFONT ( BUTTONS_WIDTH, BUTTONS_HEIGHT ) ; 93 HelpId = HID_XML_FILTER_SAVE ; 94 TabStop = TRUE ; 95 Text [ en-US ] = "~Save as Package..." ; 96 }; 97 98 PushButton PB_XML_FILTER_OPEN 99 { 100 Pos = MAP_APPFONT ( BUTTONS_LEFT, BUTTONS_TOP + 5 * BUTTONS_HEIGHT + 7 * BUTTONS_SPACEING ) ; 101 Size = MAP_APPFONT ( BUTTONS_WIDTH, BUTTONS_HEIGHT ) ; 102 HelpId = HID_XML_FILTER_OPEN ; 103 TabStop = TRUE ; 104 Text [ en-US ] = "~Open Package..." ; 105 TabStop = TRUE ; 106 }; 107 108 HelpButton BTN_XML_FILTER_HELP 109 { 110 Pos = MAP_APPFONT ( BUTTONS_LEFT, BUTTONS_TOP + 6 * BUTTONS_HEIGHT + 9 * BUTTONS_SPACEING ) ; 111 Size = MAP_APPFONT ( BUTTONS_WIDTH, BUTTONS_HEIGHT ) ; 112 }; 113 114 PushButton PB_XML_FILTER_CLOSE 115 { 116 Pos = MAP_APPFONT ( BUTTONS_LEFT, BUTTONS_TOP + 7 * BUTTONS_HEIGHT + 10 * BUTTONS_SPACEING ) ; 117 Size = MAP_APPFONT ( BUTTONS_WIDTH, BUTTONS_HEIGHT ) ; 118 HelpId = HID_XML_FILTER_CLOSE ; 119 TabStop = TRUE ; 120 Text [ en-US ] = "~Close" ; 121 }; 122 123}; 124 125String STR_XML_FILTER_LISTBOX 126{ 127 Text [ en-US ] = "XML Filter List" ; 128}; 129 130// ********************************************************************** EOF 131