merge the formfield patch from ooo-build
[ooovba.git] / filter / source / xsltdialog / xmlfiltertabpagexslt.src
blobe70e8670cd5328124b99b2eb8612a01a0adfdcd3
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: xmlfiltertabpagexslt.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 "xmlfiltertabpagexslt.hrc"
32 #include "xmlfilterhelpids.hrc"
34 #define TAB_PAGE_WIDTH  260
35 #define TAB_PAGE_HEIGHT 120
37 #define SPACING                 3
39 #define FIRST_ROW_X                     6
40 #define FIRST_ROW_Y                     6
41 #define FIRST_ROW_WIDTH         75
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 - 2*SPACING)
46 #define BROWSE_WIDTH            50
48 #define EDIT_OFFSET                     1
49 #define FIXED_TEXT_OFFSET       2
51 #define ROW_HEIGHT                      14
54 TabPage RID_XML_FILTER_TABPAGE_XSLT
56     HelpId                                      = HID_XML_FILTER_TABPAGE_XSLT;
57     Hide                                        = TRUE;
58     Size                                        = MAP_APPFONT ( TAB_PAGE_WIDTH , TAB_PAGE_HEIGHT );
59     Text [ en-US ] = "Transformation";
61     // DocType --------------------------------------------------------
63     FixedText FT_XML_DOCTYPE
64     {
65         Pos                                     = MAP_APPFONT ( FIRST_ROW_X , FIRST_ROW_Y + 0 * ROW_HEIGHT + 0 * SPACING + FIXED_TEXT_OFFSET + EDIT_OFFSET ) ;
66         Size                            = MAP_APPFONT ( FIRST_ROW_WIDTH , 8 ) ;
67         Text [ en-US ]  = "DocType";
68     };
70     Edit ED_XML_DOCTYPE
71     {
72         Pos                                     = MAP_APPFONT ( SECOND_ROW_X , SECOND_ROW_Y + 0 * ROW_HEIGHT + 0 * SPACING + EDIT_OFFSET ) ;
73         Size                            = MAP_APPFONT ( SECOND_ROW_WIDTH - SPACING - BROWSE_WIDTH, 12 ) ;
74         HelpId                          = HID_XML_FILTER_DOCTYPE;
75         Border                          = TRUE;
76     };
78     // DTD/Schema -----------------------------------------------------
80     FixedText FT_XML_DTD_SCHEMA
81     {
82         Pos                                     = MAP_APPFONT ( FIRST_ROW_X , FIRST_ROW_Y + 1 * ROW_HEIGHT + 1 * SPACING + FIXED_TEXT_OFFSET + EDIT_OFFSET ) ;
83         Size                            = MAP_APPFONT ( FIRST_ROW_WIDTH , 8 ) ;
84         Text [ en-US ]  = "DTD";
85     };
87     ComboBox ED_XML_DTD_SCHEMA
88     {
89         Pos                                     = MAP_APPFONT ( SECOND_ROW_X , SECOND_ROW_Y + 1 * ROW_HEIGHT + 1 * SPACING + EDIT_OFFSET ) ;
90         Size                            = MAP_APPFONT ( SECOND_ROW_WIDTH - SPACING - BROWSE_WIDTH, 12 ) ;
91         HelpId                          = HID_XML_FILTER_DTD;
92         Border                          = TRUE;
93         DropDown                        = FALSE ;
94     };
96     PushButton ED_XML_DTD_SCHEMA_BROWSE
97     {
98         Pos                                     = MAP_APPFONT ( SECOND_ROW_X + SECOND_ROW_WIDTH - BROWSE_WIDTH , FIRST_ROW_Y + 1 * ROW_HEIGHT + 1 * SPACING ) ;
99         Size                            = MAP_APPFONT ( BROWSE_WIDTH , 14 ) ;
100         HelpId                          = HID_XML_FILTER_DTD_BROWSE;
101         Text [ en-US ]  = "Browse...";
102     };
104     // Export XSLT ----------------------------------------------------
106     FixedText FT_XML_EXPORT_XSLT
107     {
108         Pos                                     = MAP_APPFONT ( FIRST_ROW_X , FIRST_ROW_Y + 2 * ROW_HEIGHT + 2 * SPACING + FIXED_TEXT_OFFSET + EDIT_OFFSET ) ;
109         Size                            = MAP_APPFONT ( FIRST_ROW_WIDTH, 8 ) ;
110         Text [ en-US ]  = "XSLT for export";
111     };
113     ComboBox ED_XML_EXPORT_XSLT
114     {
115         Pos                                     = MAP_APPFONT ( SECOND_ROW_X , FIRST_ROW_Y + 2 * ROW_HEIGHT + 2 * SPACING + EDIT_OFFSET ) ;
116         Size                            = MAP_APPFONT ( SECOND_ROW_WIDTH - SPACING - BROWSE_WIDTH , 12 ) ;
117         HelpId                          = HID_XML_FILTER_EXPORT_XSLT;
118         Border                          = TRUE;
119     };
121     PushButton PB_XML_EXPORT_XSLT_BROWSE
122     {
123         Pos                                     = MAP_APPFONT ( SECOND_ROW_X + SECOND_ROW_WIDTH - BROWSE_WIDTH , FIRST_ROW_Y + 2 * ROW_HEIGHT + 2 * SPACING ) ;
124         Size                            = MAP_APPFONT ( BROWSE_WIDTH , 14 ) ;
125         HelpId                          = HID_XML_FILTER_EXPORT_XSLT_BROWSE;
126         Text [ en-US ]  = "Browse...";
127     };
129     // Import XSLT ----------------------------------------------------
131     FixedText FT_XML_IMPORT_XSLT
132     {
133         Pos                                     = MAP_APPFONT ( FIRST_ROW_X , FIRST_ROW_Y + 3 * ROW_HEIGHT + 3 * SPACING + FIXED_TEXT_OFFSET + EDIT_OFFSET ) ;
134         Size                            = MAP_APPFONT ( FIRST_ROW_WIDTH , 8 ) ;
135         Text [ en-US ]  = "XSLT for import";
136     };
138     ComboBox ED_XML_IMPORT_XSLT
139     {
140         Pos                                     = MAP_APPFONT ( SECOND_ROW_X , FIRST_ROW_Y + 3 * ROW_HEIGHT + 3 * SPACING + EDIT_OFFSET ) ;
141         Size                            = MAP_APPFONT ( SECOND_ROW_WIDTH - SPACING - BROWSE_WIDTH , 12 ) ;
142         HelpId                          = HID_XML_FILTER_IMPORT_XSLT;
143         Border                          = TRUE;
144     };
146     PushButton PB_XML_IMPORT_XSLT_BROWSE
147     {
148         Pos                                     = MAP_APPFONT ( SECOND_ROW_X + SECOND_ROW_WIDTH - BROWSE_WIDTH , FIRST_ROW_Y + 3 * ROW_HEIGHT + 3 * SPACING ) ;
149         Size                            = MAP_APPFONT ( BROWSE_WIDTH , 14 ) ;
150         HelpId                          = HID_XML_FILTER_IMPORT_XSLT_BROWSE;
151         Text [ en-US ]  = "Browse...";
152     };
154     // Import Template ------------------------------------------------
156     FixedText FT_XML_IMPORT_TEMPLATE
157     {
158         Pos                                     = MAP_APPFONT ( FIRST_ROW_X , FIRST_ROW_Y + 4 * ROW_HEIGHT + 4 * SPACING + FIXED_TEXT_OFFSET + EDIT_OFFSET ) ;
159         Size                            = MAP_APPFONT ( FIRST_ROW_WIDTH , 8 ) ;
160         Text [ en-US ]  = "Template for import";
161     };
163     ComboBox ED_XML_IMPORT_TEMPLATE
164     {
165         Pos                                     = MAP_APPFONT ( SECOND_ROW_X , FIRST_ROW_Y + 4 * ROW_HEIGHT + 4 * SPACING + EDIT_OFFSET ) ;
166         Size                            = MAP_APPFONT ( SECOND_ROW_WIDTH - SPACING - BROWSE_WIDTH , 12 ) ;
167         HelpId                          = HID_XML_FILTER_IMPORT_TEMPLATE;
168         Border                          = TRUE;
169     };
171     PushButton PB_XML_IMPORT_TEMPLATE_BROWSE
172     {
173         Pos                                     = MAP_APPFONT ( SECOND_ROW_X + SECOND_ROW_WIDTH - BROWSE_WIDTH , FIRST_ROW_Y + 4 * ROW_HEIGHT + 4 * SPACING ) ;
174         Size                            = MAP_APPFONT ( BROWSE_WIDTH , 14 ) ;
175         HelpId                          = HID_XML_FILTER_IMPORT_TEMPLATE_BROWSE;
176         Text [ en-US ]  = "Browse...";
177     };