1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: WizardPages.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef DBAUI_WIZARD_PAGES_HRC
32 #include "WizardPages.hrc"
34 #ifndef _DBU_MISC_HRC_
35 #include "dbu_misc.hrc"
37 #ifndef _DBA_DBACCESS_HELPID_HRC_
38 #include "dbaccess_helpid.hrc"
42 #define WINDOW_SIZE_X 276
43 #define WINDOW_SIZE_Y 185
45 #define WINDOW_BORDER_X 12
46 #define WINDOW_BORDER_Y 14
48 #define BUTTON_SIZE_X 50
49 #define BUTTON_SIZE_Y 14
51 String STR_WIZ_COLUMN_SELECT_TITEL
53 Text [ en-US ] = "Apply columns";
56 String STR_WIZ_TYPE_SELECT_TITEL
58 Text [ en-US ] = "Type formatting";
61 String STR_WIZ_PKEY_ALREADY_DEFINED
63 Text [ en-US ] = "The following fields have already been set as primary keys:\n";
66 String STR_WIZ_NAME_MATCHING_TITEL
68 Text [ en-US ] = "Assign columns" ;
71 ModalDialog WIZ_RTFCOPYTABLE
74 Text [ en-US ] = "Copy RTF Table" ;
86 Size = MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
87 Text [ en-US ] = "~Help";
89 CancelButton PB_CANCEL
92 Size = MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
93 Text [ en-US ] = "~Cancel";
98 Size = MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
99 Text [ en-US ] = "< ~Back";
104 Size = MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
105 Text [ en-US ] = "~Next>";
110 Size = MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
111 Text [ en-US ] = "C~reate";
116 //==================================================================
117 // TAB_WIZ_COLUMN_SELECT
118 //==================================================================
119 TabPage TAB_WIZ_COLUMN_SELECT
122 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
124 HelpId = HID_TAB_WIZ_COLUMN_SELECT;
127 FixedLine FL_COLUMN_SELECT
129 Pos = MAP_APPFONT ( 6 , 3 ) ;
130 Size = MAP_APPFONT ( WINDOW_SIZE_X - 12 , 8 ) ;
131 Text [ en-US ] = "Existing columns" ;
134 MultiListBox LB_ORG_COLUMN_NAMES
137 Pos = MAP_APPFONT ( WINDOW_BORDER_X , WINDOW_BORDER_Y ) ;
138 Size = MAP_APPFONT ( 95 , WINDOW_SIZE_Y - 23 ) ;
146 ImageButton IB_COLUMN_RH
148 Pos = MAP_APPFONT ( WINDOW_BORDER_X + 116 , WINDOW_BORDER_Y + 25 ) ;
149 Size = MAP_APPFONT ( 20 , 14 ) ;
155 File = "one_right.bmp" ;
165 ImageButton IB_COLUMNS_RH
167 Pos = MAP_APPFONT ( WINDOW_BORDER_X + 116 , WINDOW_BORDER_Y + 45 ) ;
168 Size = MAP_APPFONT ( 20 , 14 ) ;
175 File = "all_right.bmp" ;
185 ImageButton IB_COLUMN_LH
187 Pos = MAP_APPFONT ( WINDOW_BORDER_X + 116 , WINDOW_BORDER_Y + 65) ;
188 Size = MAP_APPFONT ( 20 , 14 ) ;
194 File = "one_left.bmp" ;
204 ImageButton IB_COLUMNS_LH
206 Pos = MAP_APPFONT ( WINDOW_BORDER_X + 116 , WINDOW_BORDER_Y + 85) ;
207 Size = MAP_APPFONT ( 20 , 14 ) ;
213 File = "all_left.bmp" ;
224 MultiListBox LB_NEW_COLUMN_NAMES
227 Pos = MAP_APPFONT ( WINDOW_BORDER_X + 157, WINDOW_BORDER_Y) ;
228 Size = MAP_APPFONT ( 95 , WINDOW_SIZE_Y - 23 ) ;
238 //==================================================================
239 // TAB_WIZ_TYPE_SELECT
240 //==================================================================
241 TabPage TAB_WIZ_TYPE_SELECT
244 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
246 HelpId = HID_TAB_WIZ_TYPE_SELECT;
249 MultiListBox LB_NEW_COLUMN_NAMES
252 Pos = MAP_APPFONT ( 6 , 6 ) ;
253 Size = MAP_APPFONT ( 87 , WINDOW_SIZE_Y - 12 ) ;
261 FixedLine FL_COLUMN_NAME
263 Pos = MAP_APPFONT ( 99 , 3 ) ;
264 Size = MAP_APPFONT ( WINDOW_SIZE_X - 105, 8 ) ;
265 Text [ en-US ] = "Column information" ;
268 TabPage CONTROL_CONTAINER
270 Pos = MAP_APPFONT ( 102 , WINDOW_BORDER_Y ) ;
271 Size = MAP_APPFONT ( WINDOW_SIZE_X - 111, WINDOW_SIZE_Y - WINDOW_BORDER_Y - 67 );
273 DialogControl = TRUE;
276 FixedLine FL_AUTO_TYPE
278 Pos = MAP_APPFONT ( 99 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 41 ) ;
279 Size = MAP_APPFONT ( WINDOW_SIZE_X - 105, 8 ) ;
280 Text [ en-US ] = "Automatic type recognition" ;
285 Pos = MAP_APPFONT ( 105 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 28 ) ;
286 Size = MAP_APPFONT ( 40 , 8 ) ;
287 Text [ en-US ] = "Lines (ma~x)";
293 Pos = MAP_APPFONT ( 151 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 29) ;
294 Size = MAP_APPFONT ( 40 , 12 ) ;
300 Pos = MAP_APPFONT ( WINDOW_SIZE_X - 62 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 30 ) ;
301 Size = MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
307 Menu RID_SBA_RTF_PKEYPOPUP
313 Identifier = SID_TABLEDESIGN_TABED_PRIMARYKEY ;
314 HelpID = SID_TABLEDESIGN_TABED_PRIMARYKEY ;
316 Text [ en-US ] = "Primary Key" ;
320 //==================================================================
321 // TAB_WIZ_NAME_MATCHING
322 //==================================================================
323 TabPage TAB_WIZ_NAME_MATCHING
326 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
330 FixedText FT_TABLE_LEFT
332 Pos = MAP_APPFONT ( 52 , 6 ) ;
333 Size = MAP_APPFONT ( 75 , 20) ;
334 Text [ en-US ] = "Source table: \n";
337 FixedText FT_TABLE_RIGHT
339 Pos = MAP_APPFONT ( 144, 6 ) ;
340 Size = MAP_APPFONT ( 75 , 20) ;
341 Text [ en-US ] = "Destination table: \n";
347 Pos = MAP_APPFONT ( 52, 28) ;
348 Size = MAP_APPFONT ( 82 , WINDOW_SIZE_Y - 34 ) ;
350 HelpId = HID_TAB_NAMEMATCHING_COLS_AVAIL;
351 /*DialogControl = TRUE;*/
357 Pos = MAP_APPFONT ( 144, 28) ;
358 Size = MAP_APPFONT ( 82 , WINDOW_SIZE_Y - 34 ) ;
360 HelpId = HID_TAB_NAMEMATCHING_COLS_ASSIGN;
361 /*DialogControl = TRUE;*/
364 ImageButton IB_COLUMN_UP
366 Pos = MAP_APPFONT ( 19 , 45 ) ;
367 Size = MAP_APPFONT ( 14 , 14 ) ;
374 File = "sortup.bmp" ;
384 ImageButton IB_COLUMN_DOWN
386 Pos = MAP_APPFONT ( 19 , 63 ) ;
387 Size = MAP_APPFONT ( 14 , 14 ) ;
393 File = "sortdown.bmp" ;
403 ImageButton IB_COLUMN_UP_RIGHT
405 Pos = MAP_APPFONT ( WINDOW_SIZE_X - 33, 45 ) ;
406 Size = MAP_APPFONT ( 14 , 14 ) ;
413 File = "sortup.bmp" ;
423 ImageButton IB_COLUMN_DOWN_RIGHT
425 Pos = MAP_APPFONT ( WINDOW_SIZE_X - 33, 63) ;
426 Size = MAP_APPFONT ( 14 , 14 ) ;
432 File = "sortdown.bmp" ;
445 Pos = MAP_APPFONT ( 6, 83) ;
446 Size = MAP_APPFONT ( 40 , 14 ) ;
448 Text [ en-US ] = "~All" ;
453 Pos = MAP_APPFONT ( 6, 103) ;
454 Size = MAP_APPFONT ( 40 , 14 ) ;
456 Text [ en-US ] = "Non~e" ;
459 TabPage TAB_WIZ_COPYTABLE
462 Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ;
464 HelpId = HID_TAB_WIZ_COPYTABLE;
467 FixedText FT_TABLENAME
469 Pos = MAP_APPFONT ( 12 , 11) ;
470 Size = MAP_APPFONT ( 60 , 8 ) ;
471 Text [ en-US ] = "Ta~ble name";
476 HelpId = HID_TAB_WIZ_TABLENAME_EDIT;
478 Pos = MAP_APPFONT ( 80 , 9) ;
479 Size = MAP_APPFONT ( WINDOW_SIZE_X - 92 , 12 ) ;
485 Pos = MAP_APPFONT ( 6 , 24 ) ;
486 Size = MAP_APPFONT ( WINDOW_SIZE_X - 12 , 8 ) ;
487 Text [ en-US ] = "Options" ;
489 RadioButton RB_DEFDATA
491 Pos = MAP_APPFONT ( 12 , 35 ) ;
492 Size = MAP_APPFONT ( 73 , 10 ) ;
493 Text [ en-US ] = "De~finition and data" ;
497 Pos = MAP_APPFONT ( 12, 49 ) ;
498 Size = MAP_APPFONT ( 73 , 10 ) ;
499 Text [ en-US ] = "Def~inition" ;
504 Pos = MAP_APPFONT ( 12, 63 ) ;
505 Size = MAP_APPFONT ( 73 , 10 ) ;
506 Text [ en-US ] = "A~s table view";
509 RadioButton RB_APPENDDATA
511 Pos = MAP_APPFONT ( 12, 77 ) ;
512 Size = MAP_APPFONT ( 73 , 10 ) ;
513 Text [ en-US ] = "Append ~data" ;
516 CheckBox CB_USEHEADERLINE
518 Pos = MAP_APPFONT ( 12, 93 ) ;
519 Size = MAP_APPFONT ( WINDOW_SIZE_X - 18, 10 ) ;
520 Text [ en-US ] = "Use first ~line as column names" ;
523 CheckBox CB_PRIMARY_COLUMN
525 Pos = MAP_APPFONT ( 12, 107 ) ;
526 Size = MAP_APPFONT ( 90 , 10 ) ;
527 Text [ en-US ] = "Crea~te primary key";
531 Pos = MAP_APPFONT ( 21 , 122 ) ;
532 Size = MAP_APPFONT ( 39 , 8 ) ;
533 Text [ en-US ] = "Name";
538 Pos = MAP_APPFONT ( 80, 120 ) ;
539 Size = MAP_APPFONT ( 65 , 12 ) ;
545 String STR_WIZ_TABLE_COPY
547 Text [ en-US ] = "Copy table" ;
550 String STR_COPYTABLE_TITLE_COPY
552 Text [ en-US ] = "Copy table" ;
555 ErrorBox ERROR_INVALID_TABLE_NAME
558 Message [ en-US ] = "This table name is not valid in the current database.";
560 String STR_SUGGEST_APPEND_TABLE_DATA
562 Text [ en-US ] = "Choose the option 'Append data' on the first page to append data to an existing table.";
565 ErrorBox ERROR_INVALID_TABLE_NAME_LENGTH
568 Message [ en-US ] = "Please change the table name. It is too long.";
575 File = "sortup_h.bmp" ;
589 File = "sortdown_h.bmp" ;