Update ooo320-m1
[ooovba.git] / filter / source / xsltdialog / xmlfiltertabpagebasic.src
blobf7603ef623752fe21bf9130cc59c15fa649dca83
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: xmlfiltertabpagebasic.src,v $
10  * $Revision: 1.13 $
11  *
12  * This file is part of OpenOffice.org.
13  *
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.
17  *
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).
23  *
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.
28  *
29  ************************************************************************/
31 #include "xmlfiltertabpagebasic.hrc"
32 #include "xmlfilterhelpids.hrc"
34 #define TAB_PAGE_WIDTH  260
35 #define TAB_PAGE_HEIGHT 185
37 #define SPACING                 3
39 #define FIRST_ROW_X                     6
40 #define FIRST_ROW_Y                     6
41 #define FIRST_ROW_WIDTH         60
43 #define SECOND_ROW_X            (FIRST_ROW_X + FIRST_ROW_WIDTH + SPACING)
44 #define SECOND_ROW_Y            6
45 #define SECOND_ROW_WIDTH        (TAB_PAGE_WIDTH - SECOND_ROW_X - SPACING)
47 #define FIXED_TEXT_OFFSET       2
49 #define ROW_HEIGHT                      12
52 TabPage RID_XML_FILTER_TABPAGE_BASIC
54     HelpId                                      = HID_XML_FILTER_TABPAGE_BASIC;
55     Hide                                        = TRUE;
56     Size                                        = MAP_APPFONT ( TAB_PAGE_WIDTH , TAB_PAGE_HEIGHT );
57     Text [ en-US ]              = "General";
59     // Filter Name ----------------------------------------------------
61     FixedText FT_XML_FILTER_NAME
62     {
63         Pos                                     = MAP_APPFONT ( FIRST_ROW_X , FIRST_ROW_Y + 0 * ROW_HEIGHT + 0 * SPACING + FIXED_TEXT_OFFSET ) ;
64         Size                            = MAP_APPFONT ( FIRST_ROW_WIDTH , 8 ) ;
65         Text [ en-US ]  = "Filter name";
66     };
68     Edit ED_XML_FILTER_NAME
69     {
70         Pos                                     = MAP_APPFONT ( SECOND_ROW_X , SECOND_ROW_Y + 0 * ROW_HEIGHT + 0 * SPACING ) ;
71         Size                            = MAP_APPFONT ( 102 , 12 ) ;
72         HelpId                          = HID_XML_FILTER_NAME;
73         Border                          = TRUE;
74     };
76     // Application ----------------------------------------------------
78     FixedText FT_XML_APPLICATION
79     {
80         Pos                                     = MAP_APPFONT ( FIRST_ROW_X , FIRST_ROW_Y + 1 * ROW_HEIGHT + 1 * SPACING + FIXED_TEXT_OFFSET ) ;
81         Size                            = MAP_APPFONT ( FIRST_ROW_WIDTH , 8 ) ;
82         Text [ en-US ]  = "Application";
83     };
85     ComboBox CB_XML_APPLICATION
86     {
87         Pos                                     = MAP_APPFONT ( SECOND_ROW_X , SECOND_ROW_Y + 1 * ROW_HEIGHT + 1 * SPACING ) ;
88         Size                            = MAP_APPFONT ( 102 , 60 ) ;
89         HelpId                          = HID_XML_FILTER_APPLICATION;
90         Border                          = TRUE ;
91         TabStop                         = TRUE ;
92         DropDown                        = TRUE ;
93         Sort                            = TRUE ;
94     };
96     // Interface Name -------------------------------------------------
98     FixedText FT_XML_INTERFACE_NAME
99     {
100         Pos                                     = MAP_APPFONT ( FIRST_ROW_X , FIRST_ROW_Y + 2 * ROW_HEIGHT + 2 * SPACING ) ; // + FIXED_TEXT_OFFSET ) ;
101         Size                            = MAP_APPFONT ( FIRST_ROW_WIDTH , 16 ) ;
102         Text [ en-US ]  = "Name of\nfile type";
103     };
105     Edit ED_XML_INTERFACE_NAME
106     {
107         Pos                                     = MAP_APPFONT ( SECOND_ROW_X , 2 + SECOND_ROW_Y + 2 * ROW_HEIGHT + 2 * SPACING ) ;
108         Size                            = MAP_APPFONT ( 102 , 12 ) ;
109         HelpId                          = HID_XML_FILTER_INTERFACE_NAME;
110         Border                          = TRUE;
111     };
113     // Extension ------------------------------------------------------
115     FixedText FT_XML_EXTENSION
116     {
117         Pos                                     = MAP_APPFONT ( FIRST_ROW_X , 4 + FIRST_ROW_Y + 3 * ROW_HEIGHT + 3 * SPACING + FIXED_TEXT_OFFSET) ;
118         Size                            = MAP_APPFONT ( FIRST_ROW_WIDTH , 8 ) ;
119         Text [ en-US ]  = "File extension";
120     };
122     Edit ED_XML_EXTENSION
123     {
124         Pos                                     = MAP_APPFONT ( SECOND_ROW_X , 4 + SECOND_ROW_Y + 3 * ROW_HEIGHT + 3 * SPACING ) ;
125         Size                            = MAP_APPFONT ( 32 , 12 ) ;
126         HelpId                          = HID_XML_FILTER_EXTENSION;
127         Border                          = TRUE;
128     };
130     // Description ----------------------------------------------------
132     FixedText FT_XML_DESCRIPTION
133     {
134         Pos                                     = MAP_APPFONT ( FIRST_ROW_X , 4 + FIRST_ROW_Y + 4 * ROW_HEIGHT + 4 * SPACING + FIXED_TEXT_OFFSET ) ;
135         Size                            = MAP_APPFONT ( FIRST_ROW_WIDTH , 8 ) ;
136         Text [ en-US ]  = "Comments";
137     };
139     MultiLineEdit ED_XML_DESCRIPTION
140     {
141         Pos                                     = MAP_APPFONT ( SECOND_ROW_X , 4 + SECOND_ROW_Y + 4 * ROW_HEIGHT + 4 * SPACING ) ;
142         Size                            = MAP_APPFONT ( SECOND_ROW_WIDTH , 3*ROW_HEIGHT ) ;
143         HelpId                          = HID_XML_FILTER_DESCRIPTION;
144         Border                          = TRUE;
145         IgnoreTab = TRUE ;
146     };