xref: /AOO42X/main/sw/source/ui/dbui/dbinsdlg.src (revision 09dd143aff9dd1e65210b6e304bdba429195bdc8)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22#include "dbinsdlg.hrc"
23#include "dbui.hrc"
24#include "cmdid.h"
25#include "helpid.h"
26ModalDialog DLG_AP_INSERT_DB_SEL
27{
28    HelpID = HID_AP_INSERT_DB_SEL ;
29    OUTPUTSIZE = TRUE ;
30    Pos = MAP_APPFONT ( 0, 0 ) ;
31    Size = MAP_APPFONT ( 291, 189 ) ;
32    Moveable = TRUE ;
33    Closeable = TRUE ;
34    SVLOOK = TRUE ;
35    FixedText FT_INSERT_DATA
36    {
37        Pos = MAP_APPFONT ( 6, 6 ) ;
38        Size = MAP_APPFONT ( 66, 8 ) ;
39        Text [ en-US ] = "Insert data as:" ;
40    };
41    RadioButton RB_AS_TABLE
42    {
43        HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_AS_TABLE" ;
44        Pos = MAP_APPFONT ( 80, 6 ) ;
45        Size = MAP_APPFONT ( 60, 10 ) ;
46        TabStop = TRUE ;
47        Check = TRUE ;
48        Text [ en-US ] = "T~able" ;
49    };
50    RadioButton RB_AS_FIELD
51    {
52        HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_AS_FIELD" ;
53        Pos = MAP_APPFONT ( 145, 6 ) ;
54        Size = MAP_APPFONT ( 60, 10 ) ;
55        TabStop = TRUE ;
56        Text [ en-US ] = "~Fields" ;
57    };
58    RadioButton RB_AS_TEXT
59    {
60        HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_AS_TEXT" ;
61        Pos = MAP_APPFONT ( 210, 6 ) ;
62        Size = MAP_APPFONT ( 60, 10 ) ;
63        TabStop = TRUE ;
64        Text [ en-US ] = "~Text" ;
65    };
66    OKButton BT_OK
67    {
68        Pos = MAP_APPFONT ( 123, 172 ) ;
69        Size = MAP_APPFONT ( 50, 14 ) ;
70        TabStop = TRUE ;
71        DefButton = TRUE ;
72    };
73    CancelButton BT_CANCEL
74    {
75        Pos = MAP_APPFONT ( 179, 172 ) ;
76        Size = MAP_APPFONT ( 50, 14 ) ;
77        TabStop = TRUE ;
78    };
79    HelpButton BT_HELP
80    {
81        Pos = MAP_APPFONT ( 235, 172 ) ;
82        Size = MAP_APPFONT ( 50, 14 ) ;
83        TabStop = TRUE ;
84    };
85    FixedLine FL_HEAD
86    {
87        Pos = MAP_APPFONT ( 6, 19 ) ;
88        Size = MAP_APPFONT ( 279, 8 ) ;
89        /* wird dynamisch gesetzt! */
90        Text = "" ;
91    };
92    FixedText FT_DB_COLUMN
93    {
94        Pos = MAP_APPFONT ( 12, 31 ) ;
95        Size = MAP_APPFONT ( 72, 8 ) ;
96        Text [ en-US ] = "Database ~columns" ;
97    };
98    FixedLine FL_FORMAT
99    {
100        Pos = MAP_APPFONT ( 6, 117 ) ;
101        Size = MAP_APPFONT ( 279, 8 ) ;
102        Text [ en-US ] = "For~mat" ;
103    };
104    RadioButton RB_DBFMT_FROM_DB
105    {
106        HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_DBFMT_FROM_DB" ;
107        Pos = MAP_APPFONT ( 15, 128 ) ;
108        Size = MAP_APPFONT ( 90, 10 ) ;
109        TabStop = TRUE ;
110        Check = TRUE ;
111        Text [ en-US ] = "From ~database" ;
112    };
113    RadioButton RB_DBFMT_FROM_USR
114    {
115        HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_DBFMT_FROM_USR" ;
116        Pos = MAP_APPFONT ( 15, 143 ) ;
117        Size = MAP_APPFONT ( 10, 10 ) ;
118        TabStop = TRUE ;
119    };
120    ListBox LB_DBFMT_FROM_USR
121    {
122        HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_DBFMT_FROM_USR" ;
123        Border = TRUE ;
124        Pos = MAP_APPFONT ( 30, 142 ) ;
125        Size = MAP_APPFONT ( 75, 44 ) ;
126        TabStop = TRUE ;
127        DropDown = TRUE ;
128        AutoHScroll = TRUE ;
129    };
130    /* -------------- Page Text / Fields -------------------------------- */
131    ListBox LB_TXT_DB_COLUMN
132    {
133        HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_TXT_DB_COLUMN" ;
134        Border = TRUE ;
135        Pos = MAP_APPFONT ( 12, 41 ) ;
136        Size = MAP_APPFONT ( 93, 70 ) ;
137        TabStop = TRUE ;
138        Hide = TRUE ;
139    };
140    ImageButton IB_DBCOL_TOEDIT
141    {
142        HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_TOEDIT" ;
143        Pos = MAP_APPFONT ( 111, 41 ) ;
144        Size = MAP_APPFONT ( 20, 12 ) ;
145        TabStop = TRUE ;
146        Hide = TRUE ;
147        ButtonImage = Image
148        {
149            ImageBitmap = Bitmap
150            {
151                File = "one_right.png" ;
152            };
153        };
154    };
155    MultiLineEdit ED_DB_TEXT
156    {
157        HelpID = "sw:MultiLineEdit:DLG_AP_INSERT_DB_SEL:ED_DB_TEXT" ;
158        Border = TRUE ;
159        Pos = MAP_APPFONT ( 137, 41 ) ;
160        Size = MAP_APPFONT ( 142, 70 ) ;
161        TabStop = TRUE ;
162        Left = TRUE ;
163        VScroll = TRUE ;
164        HScroll = TRUE ;
165        Hide = TRUE ;
166        IgnoreTab = TRUE ;
167    };
168    FixedText FT_DB_PARA_COLL
169    {
170        Pos = MAP_APPFONT ( 118, 129 ) ;
171        Size = MAP_APPFONT ( 58, 8 ) ;
172        Text [ en-US ] = "Paragraph ~Style:" ;
173        Hide = TRUE ;
174    };
175    ListBox LB_DB_PARA_COLL
176    {
177        HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_DB_PARA_COLL" ;
178        Border = TRUE ;
179        Pos = MAP_APPFONT ( 182, 127 ) ;
180        Size = MAP_APPFONT ( 97, 59 ) ;
181        TabStop = TRUE ;
182        DropDown = TRUE ;
183        Hide = TRUE ;
184        Sort = TRUE ;
185    };
186    /* -------------- Page Table ---------------------------------------- */
187    ListBox LB_TBL_DB_COLUMN
188    {
189        HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_TBL_DB_COLUMN" ;
190        Border = TRUE ;
191        Pos = MAP_APPFONT ( 12, 41 ) ;
192        Size = MAP_APPFONT ( 93, 70 ) ;
193        TabStop = TRUE ;
194    };
195    ImageButton IB_DBCOL_ALL_TO
196    {
197        HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_ALL_TO" ;
198        Pos = MAP_APPFONT ( 111, 41 ) ;
199        Size = MAP_APPFONT ( 20, 12 ) ;
200        TabStop = TRUE ;
201        ButtonImage = Image
202        {
203            ImageBitmap = Bitmap
204            {
205                File = "all_right.png" ;
206            };
207        };
208    };
209    ImageButton IB_DBCOL_ONE_TO
210    {
211        HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_ONE_TO" ;
212        Pos = MAP_APPFONT ( 111, 56 ) ;
213        Size = MAP_APPFONT ( 20, 12 ) ;
214        TabStop = TRUE ;
215        ButtonImage = Image
216        {
217            ImageBitmap = Bitmap
218            {
219                File = "one_right.png" ;
220            };
221        };
222    };
223    ImageButton IB_DBCOL_ONE_FROM
224    {
225        HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_ONE_FROM" ;
226        Pos = MAP_APPFONT ( 111, 84 ) ;
227        Size = MAP_APPFONT ( 20, 12 ) ;
228        TabStop = TRUE ;
229        ButtonImage = Image
230        {
231            ImageBitmap = Bitmap
232            {
233                File = "one_left.png" ;
234            };
235        };
236    };
237    ImageButton IB_DBCOL_ALL_FROM
238    {
239        HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_ALL_FROM" ;
240        Pos = MAP_APPFONT ( 111, 99 ) ;
241        Size = MAP_APPFONT ( 20, 12 ) ;
242        TabStop = TRUE ;
243        ButtonImage = Image
244        {
245            ImageBitmap = Bitmap
246            {
247                File = "all_left.png" ;
248            };
249        };
250    };
251    FixedText FT_TABLE_COL
252    {
253        Pos = MAP_APPFONT ( 137, 31 ) ;
254        Size = MAP_APPFONT ( 75, 8 ) ;
255
256        Text [ en-US ] = "Tab~le column(s)" ;
257    };
258    ListBox LB_TABLE_COL
259    {
260        HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_TABLE_COL" ;
261        Border = TRUE ;
262        Pos = MAP_APPFONT ( 137, 41 ) ;
263        Size = MAP_APPFONT ( 75, 70 ) ;
264        TabStop = TRUE ;
265    };
266    FixedLine FL_BOTTOM
267    {
268        Pos = MAP_APPFONT ( 0, 164 ) ;
269        Size = MAP_APPFONT ( 291, 8 ) ;
270    };
271    CheckBox CB_TABLE_HEADON
272    {
273        HelpID = "sw:CheckBox:DLG_AP_INSERT_DB_SEL:CB_TABLE_HEADON" ;
274        Pos = MAP_APPFONT ( 111, 128 ) ;
275        Size = MAP_APPFONT ( 100, 10 ) ;
276        TabStop = TRUE ;
277        Check = TRUE ;
278        Text [ en-US ] = "Insert table heading" ;
279    };
280    RadioButton RB_HEADL_COLNMS
281    {
282        HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_HEADL_COLNMS" ;
283        Pos = MAP_APPFONT ( 120, 142 ) ;
284        Size = MAP_APPFONT ( 90, 10 ) ;
285        TabStop = TRUE ;
286        Check = TRUE ;
287        Text [ en-US ] = "Apply column ~name" ;
288    };
289    RadioButton RB_HEADL_EMPTY
290    {
291        HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_HEADL_EMPTY" ;
292        Pos = MAP_APPFONT ( 120, 155 ) ;
293        Size = MAP_APPFONT ( 90, 10 ) ;
294        TabStop = TRUE ;
295        Text [ en-US ] = "Create row only" ;
296    };
297    PushButton PB_TBL_FORMAT
298    {
299        HelpID = "sw:PushButton:DLG_AP_INSERT_DB_SEL:PB_TBL_FORMAT" ;
300        Pos = MAP_APPFONT ( 214, 128 ) ;
301        Size = MAP_APPFONT ( 65, 12 ) ;
302        Text [ en-US ] = "Pr~operties..." ;
303        TabStop = TRUE ;
304    };
305    PushButton PB_TBL_AUTOFMT
306    {
307        HelpID = "sw:PushButton:DLG_AP_INSERT_DB_SEL:PB_TBL_AUTOFMT" ;
308        Pos = MAP_APPFONT ( 214, 144 ) ;
309        Size = MAP_APPFONT ( 65, 12 ) ;
310        TabStop = TRUE ;
311        Text [ en-US ] = "Aut~oFormat..." ;
312    };
313    String STR_NOTEMPL
314    {
315        Text [ en-US ] = "<none>" ;
316    };
317    Text [ en-US ] = "Insert Database Columns" ;
318};
319
320// ********************************************************************** EOF
321