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