1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: xmlfiltersettingsdialog.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include "xmlfiltersettingsdialog.hrc"
32 #include "xmlfilterhelpids.hrc"
34 #define BUTTONS_LEFT 248
36 #define BUTTONS_SPACEING 3
37 #define BUTTONS_WIDTH 66
38 #define BUTTONS_HEIGHT 14
40 WorkWindow DLG_XML_FILTER_SETTINGS_DIALOG
42 Size = MAP_APPFONT( 320, 154 );
43 HelpId = HID_XML_FILTER_SETTINGS_DIALOG;
49 DialogControl = TRUE ;
50 Text [ en-US ] = "XML Filter Settings" ;
52 Control CTRL_XML_FILTER_LIST
54 Pos = MAP_APPFONT ( 6 , 6 ) ;
55 Size = MAP_APPFONT ( 235 , 142 );
60 PushButton PB_XML_FILTER_NEW
62 Pos = MAP_APPFONT ( BUTTONS_LEFT , BUTTONS_TOP + 0 * BUTTONS_HEIGHT + 0 * BUTTONS_SPACEING ) ;
63 Size = MAP_APPFONT ( BUTTONS_WIDTH , BUTTONS_HEIGHT ) ;
64 HelpId = HID_XML_FILTER_NEW;
66 Text [ en-US ] = "~New...";
69 PushButton PB_XML_FILTER_EDIT
71 Pos = MAP_APPFONT ( BUTTONS_LEFT , BUTTONS_TOP + 1 * BUTTONS_HEIGHT + 1 * BUTTONS_SPACEING ) ;
72 Size = MAP_APPFONT ( BUTTONS_WIDTH , BUTTONS_HEIGHT ) ;
73 HelpId = HID_XML_FILTER_EDIT;
75 Text [ en-US ] = "~Edit...";
78 PushButton PB_XML_FILTER_TEST
80 Pos = MAP_APPFONT ( BUTTONS_LEFT , BUTTONS_TOP + 2 * BUTTONS_HEIGHT + 2 * BUTTONS_SPACEING ) ;
81 Size = MAP_APPFONT ( BUTTONS_WIDTH , BUTTONS_HEIGHT ) ;
82 HelpId = HID_XML_FILTER_TEST;
84 Text [ en-US ] = "~Test XSLTs...";
87 PushButton PB_XML_FILTER_DELETE
89 Pos = MAP_APPFONT ( BUTTONS_LEFT , BUTTONS_TOP + 3 * BUTTONS_HEIGHT + 4 * BUTTONS_SPACEING ) ;
90 Size = MAP_APPFONT ( BUTTONS_WIDTH , BUTTONS_HEIGHT ) ;
91 HelpId = HID_XML_FILTER_DELETE;
93 Text [ en-US ] = "~Delete...";
96 PushButton PB_XML_FILTER_SAVE
98 Pos = MAP_APPFONT ( BUTTONS_LEFT , BUTTONS_TOP + 4 * BUTTONS_HEIGHT + 6 * BUTTONS_SPACEING ) ;
99 Size = MAP_APPFONT ( BUTTONS_WIDTH , BUTTONS_HEIGHT ) ;
100 HelpId = HID_XML_FILTER_SAVE;
102 Text [ en-US ] = "~Save as Package...";
105 PushButton PB_XML_FILTER_OPEN
107 Pos = MAP_APPFONT ( BUTTONS_LEFT , BUTTONS_TOP + 5 * BUTTONS_HEIGHT + 7 * BUTTONS_SPACEING ) ;
108 Size = MAP_APPFONT ( BUTTONS_WIDTH , BUTTONS_HEIGHT ) ;
109 HelpId = HID_XML_FILTER_OPEN;
111 Text [ en-US ] = "~Open Package...";
115 HelpButton BTN_XML_FILTER_HELP
117 Pos = MAP_APPFONT ( BUTTONS_LEFT, BUTTONS_TOP + 6 * BUTTONS_HEIGHT + 9 * BUTTONS_SPACEING );
118 Size = MAP_APPFONT ( BUTTONS_WIDTH, BUTTONS_HEIGHT );
121 PushButton PB_XML_FILTER_CLOSE
123 Pos = MAP_APPFONT ( BUTTONS_LEFT , BUTTONS_TOP + 7 * BUTTONS_HEIGHT + 10 * BUTTONS_SPACEING ) ;
124 Size = MAP_APPFONT ( BUTTONS_WIDTH , BUTTONS_HEIGHT ) ;
125 HelpId = HID_XML_FILTER_CLOSE;
127 Text [ en-US ] = "~Close";