xref: /aoo41x/main/sw/source/ui/dbui/dbinsdlg.src (revision cdf0e10c)
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#include "dbinsdlg.hrc"
29#include "dbui.hrc"
30#include "cmdid.h"
31#include "helpid.h"
32ModalDialog DLG_AP_INSERT_DB_SEL
33{
34	HelpID = HID_AP_INSERT_DB_SEL ;
35	OUTPUTSIZE = TRUE ;
36	Pos = MAP_APPFONT ( 0 , 0 ) ;
37	Size = MAP_APPFONT ( 291 , 189 ) ;
38	Moveable = TRUE ;
39	Closeable = TRUE ;
40	SVLOOK = TRUE ;
41	FixedText FT_INSERT_DATA
42	{
43		Pos = MAP_APPFONT ( 6 , 6 ) ;
44        Size = MAP_APPFONT ( 66 , 8 ) ;
45		Text [ en-US ] = "Insert data as:" ;
46	};
47	RadioButton RB_AS_TABLE
48	{
49	    HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_AS_TABLE";
50		Pos = MAP_APPFONT ( 80 , 6 ) ;
51		Size = MAP_APPFONT ( 60 , 10 ) ;
52		TabStop = TRUE ;
53		Check = TRUE ;
54		Text [ en-US ] = "T~able" ;
55	};
56	RadioButton RB_AS_FIELD
57	{
58	    HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_AS_FIELD";
59		Pos = MAP_APPFONT ( 145 , 6 ) ;
60		Size = MAP_APPFONT ( 60 , 10 ) ;
61		TabStop = TRUE ;
62		Text [ en-US ] = "~Fields" ;
63	};
64	RadioButton RB_AS_TEXT
65	{
66	    HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_AS_TEXT";
67		Pos = MAP_APPFONT ( 210 , 6 ) ;
68		Size = MAP_APPFONT ( 60 , 10 ) ;
69		TabStop = TRUE ;
70		Text [ en-US ] = "~Text" ;
71	};
72	OKButton BT_OK
73	{
74		Pos = MAP_APPFONT ( 123 , 172 ) ;
75		Size = MAP_APPFONT ( 50 , 14 ) ;
76		TabStop = TRUE ;
77		DefButton = TRUE ;
78	};
79	CancelButton BT_CANCEL
80	{
81		Pos = MAP_APPFONT ( 179 , 172 ) ;
82		Size = MAP_APPFONT ( 50 , 14 ) ;
83		TabStop = TRUE ;
84	};
85	HelpButton BT_HELP
86	{
87		Pos = MAP_APPFONT ( 235 , 172 ) ;
88		Size = MAP_APPFONT ( 50 , 14 ) ;
89		TabStop = TRUE ;
90	};
91    FixedLine FL_HEAD
92	{
93		Pos = MAP_APPFONT ( 6 , 19 ) ;
94        Size = MAP_APPFONT ( 279 , 8 ) ;
95		/* wird dynamisch gesetzt! */
96		Text = "" ;
97	};
98	FixedText FT_DB_COLUMN
99	{
100		Pos = MAP_APPFONT ( 12 , 31 ) ;
101        Size = MAP_APPFONT ( 72 , 8 ) ;
102		Text [ en-US ] = "Database ~columns" ;
103	};
104    FixedLine FL_FORMAT
105	{
106        Pos = MAP_APPFONT (   6 , 117 ) ;
107        Size = MAP_APPFONT ( 279 , 8 ) ;
108		Text [ en-US ] = "For~mat" ;
109	};
110	RadioButton RB_DBFMT_FROM_DB
111	{
112	    HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_DBFMT_FROM_DB";
113        Pos = MAP_APPFONT ( 15 , 128 ) ;
114		Size = MAP_APPFONT ( 90 , 10 ) ;
115		TabStop = TRUE ;
116		Check = TRUE ;
117		Text [ en-US ] = "From ~database" ;
118	};
119	RadioButton RB_DBFMT_FROM_USR
120	{
121	    HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_DBFMT_FROM_USR";
122        Pos = MAP_APPFONT ( 15 , 143 ) ;
123		Size = MAP_APPFONT ( 10 , 10 ) ;
124		TabStop = TRUE ;
125	};
126	ListBox LB_DBFMT_FROM_USR
127	{
128	    HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_DBFMT_FROM_USR";
129		Border = TRUE ;
130        Pos = MAP_APPFONT ( 30 , 142 ) ;
131		Size = MAP_APPFONT ( 75 , 44 ) ;
132		TabStop = TRUE ;
133		DropDown = TRUE ;
134		AutoHScroll = TRUE ;
135	};
136	/* -------------- Page Text / Fields -------------------------------- */
137	ListBox LB_TXT_DB_COLUMN
138	{
139	    HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_TXT_DB_COLUMN";
140		Border = TRUE ;
141		Pos = MAP_APPFONT ( 12 , 41 ) ;
142        Size = MAP_APPFONT ( 93 , 70 ) ;
143		TabStop = TRUE ;
144		Hide = TRUE ;
145	};
146    ImageButton IB_DBCOL_TOEDIT
147	{
148        HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_TOEDIT";
149        Pos = MAP_APPFONT ( 111 , 41 ) ;
150		Size = MAP_APPFONT ( 20 , 12 ) ;
151		TabStop = TRUE ;
152		Hide = TRUE ;
153		ButtonImage = Image
154		{
155			ImageBitmap = Bitmap
156			{
157                File = "one_right.bmp" ;
158			};
159            MaskColor = IMAGE_MASK_COLOR ;
160		};
161	};
162	MultiLineEdit ED_DB_TEXT
163	{
164	    HelpID = "sw:MultiLineEdit:DLG_AP_INSERT_DB_SEL:ED_DB_TEXT";
165		Border = TRUE ;
166        Pos = MAP_APPFONT ( 137 , 41 ) ;
167        Size = MAP_APPFONT ( 142 , 70 ) ;
168		TabStop = TRUE ;
169		Left = TRUE ;
170		VScroll = TRUE ;
171		HScroll = TRUE ;
172		Hide = TRUE ;
173		IgnoreTab = TRUE;
174	};
175	FixedText FT_DB_PARA_COLL
176	{
177        Pos = MAP_APPFONT ( 118 , 129 ) ;
178        Size = MAP_APPFONT ( 58 , 8 ) ;
179		Text [ en-US ] = "Paragraph ~Style:" ;
180		Hide = TRUE ;
181	};
182	ListBox LB_DB_PARA_COLL
183	{
184	    HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_DB_PARA_COLL";
185		Border = TRUE ;
186        Pos = MAP_APPFONT ( 182 , 127 ) ;
187        Size = MAP_APPFONT ( 97 , 59 ) ;
188		TabStop = TRUE ;
189		DropDown = TRUE ;
190		Hide = TRUE ;
191		Sort = TRUE ;
192	};
193	/* -------------- Page Table ---------------------------------------- */
194	ListBox LB_TBL_DB_COLUMN
195	{
196	    HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_TBL_DB_COLUMN";
197		Border = TRUE ;
198		Pos = MAP_APPFONT ( 12 , 41 ) ;
199        Size = MAP_APPFONT ( 93 , 70 ) ;
200		TabStop = TRUE ;
201	};
202    ImageButton IB_DBCOL_ALL_TO
203	{
204        HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_ALL_TO";
205        Pos = MAP_APPFONT ( 111 , 41 ) ;
206		Size = MAP_APPFONT ( 20 , 12 ) ;
207		TabStop = TRUE ;
208		ButtonImage = Image
209		{
210			ImageBitmap = Bitmap
211			{
212                File = "all_right.bmp" ;
213			};
214            MaskColor = IMAGE_MASK_COLOR ;
215		};
216	};
217    ImageButton IB_DBCOL_ONE_TO
218	{
219        HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_ONE_TO";
220        Pos = MAP_APPFONT ( 111 , 56 ) ;
221		Size = MAP_APPFONT ( 20 , 12 ) ;
222		TabStop = TRUE ;
223		ButtonImage = Image
224		{
225			ImageBitmap = Bitmap
226			{
227                File = "one_right.bmp" ;
228			};
229            MaskColor = IMAGE_MASK_COLOR ;
230		};
231	};
232    ImageButton IB_DBCOL_ONE_FROM
233	{
234        HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_ONE_FROM";
235        Pos = MAP_APPFONT ( 111 , 84 ) ;
236		Size = MAP_APPFONT ( 20 , 12 ) ;
237		TabStop = TRUE ;
238		ButtonImage = Image
239		{
240			ImageBitmap = Bitmap
241			{
242                File = "one_left.bmp" ;
243			};
244            MaskColor = IMAGE_MASK_COLOR ;
245		};
246	};
247    ImageButton IB_DBCOL_ALL_FROM
248	{
249        HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_ALL_FROM";
250        Pos = MAP_APPFONT ( 111 , 99 ) ;
251		Size = MAP_APPFONT ( 20 , 12 ) ;
252		TabStop = TRUE ;
253		ButtonImage = Image
254		{
255			ImageBitmap = Bitmap
256			{
257                File = "all_left.bmp" ;
258			};
259            MaskColor = IMAGE_MASK_COLOR ;
260		};
261	};
262	FixedText FT_TABLE_COL
263	{
264        Pos = MAP_APPFONT ( 137 , 31 ) ;
265        Size = MAP_APPFONT ( 75 , 8 ) ;
266
267		Text [ en-US ] = "Tab~le column(s)" ;
268	};
269	ListBox LB_TABLE_COL
270	{
271	    HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_TABLE_COL";
272		Border = TRUE ;
273        Pos = MAP_APPFONT ( 137 , 41 ) ;
274		Size = MAP_APPFONT ( 75 , 70 ) ;
275		TabStop = TRUE ;
276	};
277    FixedLine FL_BOTTOM
278	{
279        Pos = MAP_APPFONT ( 0 , 164 ) ;
280        Size = MAP_APPFONT ( 291, 8 ) ;
281	};
282	CheckBox CB_TABLE_HEADON
283	{
284	    HelpID = "sw:CheckBox:DLG_AP_INSERT_DB_SEL:CB_TABLE_HEADON";
285        Pos = MAP_APPFONT ( 111 , 128 ) ;
286        Size = MAP_APPFONT ( 100 , 10 ) ;
287		TabStop = TRUE ;
288		Check = TRUE ;
289		Text [ en-US ] = "Insert table heading";
290	};
291	RadioButton RB_HEADL_COLNMS
292	{
293	    HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_HEADL_COLNMS";
294        Pos = MAP_APPFONT ( 120 , 142 ) ;
295        Size = MAP_APPFONT ( 90 , 10 ) ;
296		TabStop = TRUE ;
297		Check = TRUE ;
298		Text [ en-US ] = "Apply column ~name";
299	};
300	RadioButton RB_HEADL_EMPTY
301	{
302	    HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_HEADL_EMPTY";
303        Pos = MAP_APPFONT ( 120 , 155 ) ;
304        Size = MAP_APPFONT ( 90 , 10 ) ;
305		TabStop = TRUE ;
306		Text [ en-US ] = "Create row only";
307	};
308	PushButton PB_TBL_FORMAT
309	{
310	    HelpID = "sw:PushButton:DLG_AP_INSERT_DB_SEL:PB_TBL_FORMAT";
311        Pos = MAP_APPFONT ( 214 , 128 ) ;
312        Size = MAP_APPFONT ( 65 , 12 ) ;
313		Text [ en-US ] = "Pr~operties..." ;
314		TabStop = TRUE ;
315	};
316	PushButton PB_TBL_AUTOFMT
317	{
318	    HelpID = "sw:PushButton:DLG_AP_INSERT_DB_SEL:PB_TBL_AUTOFMT";
319        Pos = MAP_APPFONT ( 214 , 144 ) ;
320        Size = MAP_APPFONT ( 65 , 12 ) ;
321		TabStop = TRUE ;
322		Text [ en-US ] = "Aut~oFormat..." ;
323	};
324	String STR_NOTEMPL
325	{
326		Text [ en-US ] = "<none>" ;
327	};
328	Text [ en-US ] = "Insert Database Columns" ;
329};
330
331