1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27
28#ifndef _EXTENSIONS_DBP_DBPRESID_HRC_
29#include "dbpresid.hrc"
30#endif
31
32TabPage RID_PAGE_TABLESELECTION
33{
34    HelpID = "extensions:TabPage:RID_PAGE_TABLESELECTION";
35	SVLook = TRUE ;
36	Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
37	Text [ en-US ] = "Data";
38
39	FixedLine FL_DATA
40	{
41		Pos = MAP_APPFONT ( 4 , 3  ) ;
42		Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
43		Text [ en-US ]	= "Data";
44	};
45	FixedText FT_EXPLANATION
46	{
47		Pos = MAP_APPFONT ( 7 , 15  ) ;
48		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 21 ) ;
49		WordBreak = TRUE;
50		Group = TRUE;
51		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	};
53	FixedText FT_DATASOURCE
54	{
55		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 15  ) ;
56		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , 8) ;
57		Group = TRUE;
58		Text [ en-US ] = "~Data source:";
59	};
60	ListBox LB_DATASOURCE
61	{
62	    HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION:LB_DATASOURCE";
63		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 26  ) ;
64		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 27 , 14 ) ;
65		SVLook = TRUE ;
66		Border = TRUE ;
67		DropDown = TRUE ;
68		AutoHScroll = TRUE ;
69	};
70
71	PushButton PB_FORMDATASOURCE
72	{
73	    HelpID = "extensions:PushButton:RID_PAGE_TABLESELECTION: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 ] = "~...";
77	};
78
79	FixedText FT_TABLE
80	{
81		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 46 ) ;
82		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 14 , 8) ;
83		Group = TRUE;
84		Text [ en-US ] = "~Table / Query:";
85	};
86	ListBox LB_TABLE
87	{
88	    HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION:LB_TABLE";
89		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 57  ) ;
90		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 6 - 57 ) ;
91		SVLook = TRUE ;
92		Border = TRUE ;
93		Sort = TRUE;
94		AutoHScroll = TRUE ;
95	};
96
97    Image IMG_TABLE
98    {
99	    ImageBitmap = Bitmap { File = "sx03188.bmp"; };
100	    MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
101    };
102
103    Image IMG_TABLE_HC
104    {
105	    ImageBitmap = Bitmap { File = "sxh03188.bmp"; };
106	    MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
107    };
108
109    Image IMG_QUERY
110    {
111	    ImageBitmap = Bitmap { File = "sx03202.bmp"; };
112	    MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
113    };
114
115    Image IMG_QUERY_HC
116    {
117	    ImageBitmap = Bitmap { File = "sxh03202.bmp"; };
118	    MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
119    };
120
121};
122
123TabPage RID_PAGE_OPTION_DBFIELD
124{
125    HelpID = "extensions:TabPage:RID_PAGE_OPTION_DBFIELD";
126	SVLook = TRUE ;
127	Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
128	Text [ en-US ] = "Database Field";
129
130	FixedLine FL_DATABASEFIELD_EXPL
131	{
132		Pos = MAP_APPFONT ( 4 , 3  ) ;
133		Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
134	};
135	FixedText FT_DATABASEFIELD_EXPL
136	{
137		Pos = MAP_APPFONT ( 7 , 15  ) ;
138		Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
139		WordBreak = TRUE;
140	};
141	FixedText FT_DATABASEFIELD_QUEST
142	{
143		Pos = MAP_APPFONT ( 7 , 34  ) ;
144		Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
145		WordBreak = TRUE;
146		Text [ en-US ] = "Do you want to save the value in a database field?";
147	};
148	RadioButton RB_STOREINFIELD_YES
149	{
150	    HelpID = "extensions:RadioButton:RID_PAGE_OPTION_DBFIELD:RB_STOREINFIELD_YES";
151		Pos = MAP_APPFONT ( 7 , 53  ) ;
152		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 20, 10 ) ;
153		Group = TRUE;
154		TabStop = TRUE;
155		Text [ en-US ] = "~Yes, I want to save it in the following database field:";
156	};
157	ListBox LB_STOREINFIELD
158	{
159	    HelpID = "extensions:ListBox:RID_PAGE_OPTION_DBFIELD:LB_STOREINFIELD";
160		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 23, 51 ) ;
161		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 30, 14 ) ;
162		TabStop = TRUE;
163		SVLook = TRUE ;
164		Border = TRUE ;
165		DropDown = TRUE;
166		AutoHScroll = TRUE ;
167	};
168	RadioButton RB_STOREINFIELD_NO
169	{
170	    HelpID = "extensions:RadioButton:RID_PAGE_OPTION_DBFIELD:RB_STOREINFIELD_NO";
171		Pos = MAP_APPFONT ( 7 , 68 ) ;
172		Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 10 ) ;
173		TabStop = FALSE;
174		Text [ en-US ] = "~No, I only want to save the value in the form.";
175	};
176};
177
178TabPage RID_PAGE_FORM_DATASOURCE_STATUS
179{
180    HelpID = "extensions:TabPage:RID_PAGE_FORM_DATASOURCE_STATUS";
181	FixedLine FL_FORMSETINGS
182	{
183		Pos = MAP_APPFONT ( 4 , 3  ) ;
184		Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
185		Text [ en-US ] = "Form";
186	};
187	FixedText FT_FORMDATASOURCELABEL
188	{
189		Pos = MAP_APPFONT ( 7 , 15 ) ;
190		Size = MAP_APPFONT ( 60 , 8 ) ;
191		Text [ en-US ] = "Data source";
192	};
193	FixedText FT_FORMDATASOURCE
194	{
195		Pos = MAP_APPFONT ( 7 + 60 + 3 , 15 ) ;
196		Size = MAP_APPFONT ( WINDOW_SIZE_X / 2 - 80 - 3 , 19 ) ;
197		WordBreak = TRUE;
198	};
199
200	FixedText FT_FORMCONTENTTYPELABEL
201	{
202		Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 15 ) ;
203		Size = MAP_APPFONT ( 60 , 8 ) ;
204		Text [ en-US ] = "Content type";
205	};
206	FixedText FT_FORMCONTENTTYPE
207	{
208		Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60 , 15 ) ;
209		Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7 , 8 ) ;
210	};
211
212	FixedText FT_FORMTABLELABEL
213	{
214		Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 26 ) ;
215		Size = MAP_APPFONT ( 60 , 8 ) ;
216		Text [ en-US ] = "Content";
217	};
218	FixedText FT_FORMTABLE
219	{
220		Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60 , 26 ) ;
221		Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7 , 8 ) ;
222	};
223};
224
225String RID_STR_TYPE_TABLE
226{
227	Text [ en-US ] = "Table";
228};
229
230String RID_STR_TYPE_QUERY
231{
232	Text [ en-US ] = "Query";
233};
234
235String RID_STR_TYPE_COMMAND
236{
237	Text [ en-US ] = "SQL command";
238};
239
240