summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/WizardPages.src
blob: de9634c03851e99dfc0eeb2873ac5bb4bd607f63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include "WizardPages.hrc"
#include "dbu_misc.hrc"
#include "dbaccess_helpid.hrc"
#include "dbaccess_slotid.hrc"

#define WINDOW_SIZE_X   276
#define WINDOW_SIZE_Y   185

#define WINDOW_BORDER_Y  14

#define BUTTON_SIZE_X    50
#define BUTTON_SIZE_Y    14

String STR_WIZ_COLUMN_SELECT_TITEL
{
    Text [ en-US ] = "Apply columns";
};

String STR_WIZ_TYPE_SELECT_TITEL
{
    Text [ en-US ] = "Type formatting";
};

String STR_WIZ_PKEY_ALREADY_DEFINED
{
    Text [ en-US ] = "The following fields have already been set as primary keys:\n";
};

String STR_WIZ_NAME_MATCHING_TITEL
{
    Text [ en-US ]  = "Assign columns" ;
};

String STR_WIZ_PB_PREV
{
    Text [ en-US ] = "< ~Back";
};

String STR_WIZ_PB_NEXT
{
    Text [ en-US ] = "~Next>";
};

String STR_WIZ_PB_OK
{
    Text [ en-US ] = "C~reate";
};

TabPage TAB_WIZ_TYPE_SELECT
{
    SVLook  = TRUE ;
    Size    = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;

    HelpId  = HID_TAB_WIZ_TYPE_SELECT;
    Hide    = TRUE;

    MultiListBox LB_NEW_COLUMN_NAMES
    {
        HelpID = "dbaccess:MultiListBox:TAB_WIZ_TYPE_SELECT:LB_NEW_COLUMN_NAMES";
        Border              = TRUE ;
        Pos                 = MAP_APPFONT ( 6 , 6 ) ;
        Size                = MAP_APPFONT ( 87 , WINDOW_SIZE_Y - 12 ) ;
        TabStop             = TRUE ;
        HScroll             = TRUE;
        VScroll             = TRUE;
        AutoHScroll         = TRUE;
        SimpleMode          = TRUE;
    };

    FixedLine FL_COLUMN_NAME
    {
        Pos                 = MAP_APPFONT ( 99 , 3  ) ;
        Size                = MAP_APPFONT ( WINDOW_SIZE_X -  105, 8 ) ;
        Text [ en-US ] = "Column information" ;
    };

    TabPage CONTROL_CONTAINER
    {
        HelpID = "dbaccess:TabPage:CONTROL_CONTAINER";
        Pos                 = MAP_APPFONT ( 102 , WINDOW_BORDER_Y  ) ;
        Size                = MAP_APPFONT ( WINDOW_SIZE_X -  111, WINDOW_SIZE_Y - WINDOW_BORDER_Y - 67 );
        SVLook              = TRUE;
        DialogControl       = TRUE;
    };

    FixedLine FL_AUTO_TYPE
    {
        Pos                 = MAP_APPFONT ( 99 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 41  ) ;
        Size                = MAP_APPFONT ( WINDOW_SIZE_X - 105, 8 ) ;
        Text [ en-US ] = "Automatic type recognition" ;
    };

    FixedText FT_AUTO
    {
        Pos                 = MAP_APPFONT ( 105 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 28 ) ;
        Size                = MAP_APPFONT ( 40 , 8 ) ;
        Text [ en-US ] = "Lines (ma~x)";
    };

    NumericField ET_AUTO
    {
        HelpID = "dbaccess:NumericField:TAB_WIZ_TYPE_SELECT:ET_AUTO";
        Border              = TRUE ;
        Pos                 = MAP_APPFONT ( 151 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 29) ;
        Size                = MAP_APPFONT ( 40 , 12 ) ;
        TabStop             = TRUE ;
    };

    PushButton PB_AUTO
    {
        HelpID = "dbaccess:PushButton:TAB_WIZ_TYPE_SELECT:PB_AUTO";
        Pos                 = MAP_APPFONT ( WINDOW_SIZE_X - 62 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 30 ) ;
        Size                = MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
        TabStop             = TRUE ;
        Text                = "~Auto" ;
    };
};

Menu RID_SBA_RTF_PKEYPOPUP
{
    ItemList =
    {
        MenuItem
        {
            Identifier      = SID_TABLEDESIGN_TABED_PRIMARYKEY ;
            HelpID          = HID_TABLEDESIGN_TABED_PRIMARYKEY ;
            Checkable       = TRUE ;
            Text [ en-US ] = "Primary Key" ;
        };
    };
};

TabPage TAB_WIZ_NAME_MATCHING
{
    HelpID = "dbaccess:TabPage:TAB_WIZ_NAME_MATCHING";
    SVLook  = TRUE ;
    Size    = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;

    Hide    = TRUE;

    FixedText FT_TABLE_LEFT
    {
        Pos                 = MAP_APPFONT ( 52 , 6  ) ;
        Size                = MAP_APPFONT ( 75 , 20) ;
        Text [ en-US ] = "Source table: \n";
    };

    FixedText FT_TABLE_RIGHT
    {
        Pos                 = MAP_APPFONT ( 144, 6  ) ;
        Size                = MAP_APPFONT ( 75 , 20) ;
        Text [ en-US ] = "Destination table: \n";
    };

    Control CTRL_LEFT
    {
        Border              = TRUE;
        Pos                 = MAP_APPFONT ( 52, 28) ;
        Size                = MAP_APPFONT ( 82 , WINDOW_SIZE_Y - 34 ) ;
        TabStop             = TRUE;
        HelpId              = HID_TAB_NAMEMATCHING_COLS_AVAIL;
        /*DialogControl       = TRUE;*/
    };

    Control CTRL_RIGHT
    {
        Border              = TRUE ;
        Pos                 = MAP_APPFONT ( 144, 28) ;
        Size                = MAP_APPFONT ( 82 , WINDOW_SIZE_Y - 34 ) ;
        TabStop             = TRUE;
        HelpId              = HID_TAB_NAMEMATCHING_COLS_ASSIGN;
        /*DialogControl       = TRUE;*/
    };

    ImageButton IB_COLUMN_UP
    {
        HelpID = "dbaccess:ImageButton:TAB_WIZ_NAME_MATCHING:IB_COLUMN_UP";
        Pos                 = MAP_APPFONT ( 19 ,  45 ) ;
        Size                = MAP_APPFONT ( 14 , 14 ) ;
        TabStop             = TRUE;
        DefButton           = TRUE;
        ButtonImage = Image
        {
            ImageBitmap = Bitmap
            {
                File = "sortup.png" ;
            };
            MaskColor = Color
            {
                Red = 0xFFFF ;
                Green = 0x0000 ;
                Blue = 0xFFFF ;
            };
        };
    };
    ImageButton IB_COLUMN_DOWN
    {
        HelpID = "dbaccess:ImageButton:TAB_WIZ_NAME_MATCHING:IB_COLUMN_DOWN";
        Pos                 = MAP_APPFONT ( 19 ,  63 ) ;
        Size                = MAP_APPFONT ( 14 , 14 ) ;
        TabStop             = TRUE;
        ButtonImage = Image
        {
            ImageBitmap = Bitmap
            {
                File = "sortdown.png" ;
            };
            MaskColor = Color
            {
                Red = 0xFFFF ;
                Green = 0x0000 ;
                Blue = 0xFFFF ;
            };
        };
    };
    ImageButton IB_COLUMN_UP_RIGHT
    {
        HelpID = "dbaccess:ImageButton:TAB_WIZ_NAME_MATCHING:IB_COLUMN_UP_RIGHT";
        Pos                 = MAP_APPFONT ( WINDOW_SIZE_X - 33, 45 ) ;
        Size                = MAP_APPFONT ( 14 , 14 ) ;
        TabStop             = TRUE;
        DefButton           = TRUE;
        ButtonImage = Image
        {
            ImageBitmap = Bitmap
            {
                File = "sortup.png" ;
            };
            MaskColor = Color
            {
                Red = 0xFFFF ;
                Green = 0x0000 ;
                Blue = 0xFFFF ;
            };
        };
    };
    ImageButton IB_COLUMN_DOWN_RIGHT
    {
        HelpID = "dbaccess:ImageButton:TAB_WIZ_NAME_MATCHING:IB_COLUMN_DOWN_RIGHT";
        Pos                 = MAP_APPFONT ( WINDOW_SIZE_X - 33, 63) ;
        Size                = MAP_APPFONT ( 14 , 14 ) ;
        TabStop             = TRUE ;
        ButtonImage = Image
        {
            ImageBitmap = Bitmap
            {
                File = "sortdown.png" ;
            };
            MaskColor = Color
            {
                Red = 0xFFFF ;
                Green = 0x0000 ;
                Blue = 0xFFFF ;
            };
        };
    };

    PushButton PB_ALL
    {
        HelpID = "dbaccess:PushButton:TAB_WIZ_NAME_MATCHING:PB_ALL";
        Pos                 = MAP_APPFONT ( 6, 83) ;
        Size                = MAP_APPFONT ( 40 , 14 ) ;
        TabStop             = TRUE ;
        Text [ en-US ]  = "~All" ;
    };

    PushButton PB_NONE
    {
        HelpID = "dbaccess:PushButton:TAB_WIZ_NAME_MATCHING:PB_NONE";
        Pos                 = MAP_APPFONT ( 6, 103) ;
        Size                = MAP_APPFONT ( 40 , 14 ) ;
        TabStop             = TRUE ;
        Text [ en-US ]  = "Non~e" ;
    };
};

String STR_WIZ_TABLE_COPY
{
    Text [ en-US ] = "Copy table" ;
};

String STR_COPYTABLE_TITLE_COPY
{
    Text [ en-US ] = "Copy table" ;
};

String STR_INVALID_TABLE_NAME
{
    Text [ en-US ] = "This table name is not valid in the current database.";
};
String STR_SUGGEST_APPEND_TABLE_DATA
{
    Text [ en-US ] = "Choose the option 'Append data' on the first page to append data to an existing table.";
};

String STR_INVALID_TABLE_NAME_LENGTH
{
    Text [ en-US ] = "Please change the table name. It is too long.";
};

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */