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: commonpagesdbp.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 #ifndef _EXTENSIONS_DBP_DBPRESID_HRC_
32 #include "dbpresid.hrc"
35 TabPage RID_PAGE_TABLESELECTION
38 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
39 Text [ en-US ] = "Data";
43 Pos = MAP_APPFONT ( 4 , 3 ) ;
44 Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
45 Text [ en-US ] = "Data";
47 FixedText FT_EXPLANATION
49 Pos = MAP_APPFONT ( 7 , 15 ) ;
50 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 21 ) ;
53 Text [ en-US ] = "Currently, the form the control belongs to is not (or not completely) bound to a data source.\n\nPlease choose a data source and a table.\n\n\nPlease note that the settings made on this page will take effect immediately upon leaving the page.";
55 FixedText FT_DATASOURCE
57 Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 15 ) ;
58 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , 8) ;
60 Text [ en-US ] = "~Data source:";
64 Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 26 ) ;
65 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 27 , 14 ) ;
72 PushButton PB_FORMDATASOURCE
74 Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 + WINDOW_HALF_SIZE_X - 24 , 25 ) ;
75 Size = MAP_APPFONT ( 14 , 14 ) ;
76 Text [ en-US ] = "~...";
81 Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 46 ) ;
82 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 14 , 8) ;
84 Text [ en-US ] = "~Table / Query:";
88 Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 57 ) ;
89 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 6 - 57 ) ;
98 ImageBitmap = Bitmap { File = "sx03188.bmp"; };
99 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
104 ImageBitmap = Bitmap { File = "sxh03188.bmp"; };
105 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
110 ImageBitmap = Bitmap { File = "sx03202.bmp"; };
111 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
116 ImageBitmap = Bitmap { File = "sxh03202.bmp"; };
117 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
122 TabPage RID_PAGE_OPTION_DBFIELD
125 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
126 Text [ en-US ] = "Database Field";
128 FixedLine FL_DATABASEFIELD_EXPL
130 Pos = MAP_APPFONT ( 4 , 3 ) ;
131 Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
133 FixedText FT_DATABASEFIELD_EXPL
135 Pos = MAP_APPFONT ( 7 , 15 ) ;
136 Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
139 FixedText FT_DATABASEFIELD_QUEST
141 Pos = MAP_APPFONT ( 7 , 34 ) ;
142 Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
144 Text [ en-US ] = "Do you want to save the value in a database field?";
146 RadioButton RB_STOREINFIELD_YES
148 Pos = MAP_APPFONT ( 7 , 53 ) ;
149 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 20, 10 ) ;
152 Text [ en-US ] = "~Yes, I want to save it in the following database field:";
154 ListBox LB_STOREINFIELD
156 Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 23, 51 ) ;
157 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 30, 14 ) ;
164 RadioButton RB_STOREINFIELD_NO
166 Pos = MAP_APPFONT ( 7 , 68 ) ;
167 Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 10 ) ;
169 Text [ en-US ] = "~No, I only want to save the value in the form.";
173 TabPage RID_PAGE_FORM_DATASOURCE_STATUS
175 FixedLine FL_FORMSETINGS
177 Pos = MAP_APPFONT ( 4 , 3 ) ;
178 Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
179 Text [ en-US ] = "Form";
181 FixedText FT_FORMDATASOURCELABEL
183 Pos = MAP_APPFONT ( 7 , 15 ) ;
184 Size = MAP_APPFONT ( 60 , 8 ) ;
185 Text [ en-US ] = "Data source";
187 FixedText FT_FORMDATASOURCE
189 Pos = MAP_APPFONT ( 7 + 60 + 3 , 15 ) ;
190 Size = MAP_APPFONT ( WINDOW_SIZE_X / 2 - 80 - 3 , 19 ) ;
194 FixedText FT_FORMCONTENTTYPELABEL
196 Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 15 ) ;
197 Size = MAP_APPFONT ( 60 , 8 ) ;
198 Text [ en-US ] = "Content type";
200 FixedText FT_FORMCONTENTTYPE
202 Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60 , 15 ) ;
203 Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7 , 8 ) ;
206 FixedText FT_FORMTABLELABEL
208 Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 26 ) ;
209 Size = MAP_APPFONT ( 60 , 8 ) ;
210 Text [ en-US ] = "Content";
212 FixedText FT_FORMTABLE
214 Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60 , 26 ) ;
215 Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7 , 8 ) ;
219 String RID_STR_TYPE_TABLE
221 Text [ en-US ] = "Table";
224 String RID_STR_TYPE_QUERY
226 Text [ en-US ] = "Query";
229 String RID_STR_TYPE_COMMAND
231 Text [ en-US ] = "SQL command";