1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #ifndef _EXTENSIONS_DBP_DBPRESID_HRC_
29 #include "dbpresid.hrc"
32 TabPage RID_PAGE_TABLESELECTION
35 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
36 Text [ en-US ] = "Data";
40 Pos = MAP_APPFONT ( 4 , 3 ) ;
41 Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
42 Text [ en-US ] = "Data";
44 FixedText FT_EXPLANATION
46 Pos = MAP_APPFONT ( 7 , 15 ) ;
47 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 21 ) ;
50 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.";
52 FixedText FT_DATASOURCE
54 Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 15 ) ;
55 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , 8) ;
57 Text [ en-US ] = "~Data source:";
61 Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 26 ) ;
62 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 27 , 14 ) ;
69 PushButton PB_FORMDATASOURCE
71 Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 + WINDOW_HALF_SIZE_X - 24 , 25 ) ;
72 Size = MAP_APPFONT ( 14 , 14 ) ;
73 Text [ en-US ] = "~...";
78 Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 46 ) ;
79 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 14 , 8) ;
81 Text [ en-US ] = "~Table / Query:";
85 Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 57 ) ;
86 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 6 - 57 ) ;
95 ImageBitmap = Bitmap { File = "sx03188.bmp"; };
96 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
101 ImageBitmap = Bitmap { File = "sxh03188.bmp"; };
102 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
107 ImageBitmap = Bitmap { File = "sx03202.bmp"; };
108 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
113 ImageBitmap = Bitmap { File = "sxh03202.bmp"; };
114 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
119 TabPage RID_PAGE_OPTION_DBFIELD
122 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
123 Text [ en-US ] = "Database Field";
125 FixedLine FL_DATABASEFIELD_EXPL
127 Pos = MAP_APPFONT ( 4 , 3 ) ;
128 Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
130 FixedText FT_DATABASEFIELD_EXPL
132 Pos = MAP_APPFONT ( 7 , 15 ) ;
133 Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
136 FixedText FT_DATABASEFIELD_QUEST
138 Pos = MAP_APPFONT ( 7 , 34 ) ;
139 Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
141 Text [ en-US ] = "Do you want to save the value in a database field?";
143 RadioButton RB_STOREINFIELD_YES
145 Pos = MAP_APPFONT ( 7 , 53 ) ;
146 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 20, 10 ) ;
149 Text [ en-US ] = "~Yes, I want to save it in the following database field:";
151 ListBox LB_STOREINFIELD
153 Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 23, 51 ) ;
154 Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 30, 14 ) ;
161 RadioButton RB_STOREINFIELD_NO
163 Pos = MAP_APPFONT ( 7 , 68 ) ;
164 Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 10 ) ;
166 Text [ en-US ] = "~No, I only want to save the value in the form.";
170 TabPage RID_PAGE_FORM_DATASOURCE_STATUS
172 FixedLine FL_FORMSETINGS
174 Pos = MAP_APPFONT ( 4 , 3 ) ;
175 Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
176 Text [ en-US ] = "Form";
178 FixedText FT_FORMDATASOURCELABEL
180 Pos = MAP_APPFONT ( 7 , 15 ) ;
181 Size = MAP_APPFONT ( 60 , 8 ) ;
182 Text [ en-US ] = "Data source";
184 FixedText FT_FORMDATASOURCE
186 Pos = MAP_APPFONT ( 7 + 60 + 3 , 15 ) ;
187 Size = MAP_APPFONT ( WINDOW_SIZE_X / 2 - 80 - 3 , 19 ) ;
191 FixedText FT_FORMCONTENTTYPELABEL
193 Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 15 ) ;
194 Size = MAP_APPFONT ( 60 , 8 ) ;
195 Text [ en-US ] = "Content type";
197 FixedText FT_FORMCONTENTTYPE
199 Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60 , 15 ) ;
200 Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7 , 8 ) ;
203 FixedText FT_FORMTABLELABEL
205 Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 26 ) ;
206 Size = MAP_APPFONT ( 60 , 8 ) ;
207 Text [ en-US ] = "Content";
209 FixedText FT_FORMTABLE
211 Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60 , 26 ) ;
212 Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7 , 8 ) ;
216 String RID_STR_TYPE_TABLE
218 Text [ en-US ] = "Table";
221 String RID_STR_TYPE_QUERY
223 Text [ en-US ] = "Query";
226 String RID_STR_TYPE_COMMAND
228 Text [ en-US ] = "SQL command";