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: macromigration.hrc,v $
10 * $Revision: 1.3.2.1 $
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 DBACCESS_MACROMIGRATION_HRC
32 #define DBACCESS_MACROMIGRATION_HRC
34 // height and width of tab pages
35 #define TAB_PAGE_WIDTH 280
36 #define TAB_PAGE_HEIGHT 185
38 // margin between the tab page and its content
39 #define TAB_PAGE_CONTENT_MARGIN 12
41 // dimensions of certain control types
42 #define FIXED_TEXT_HEIGHT 8
43 #define INPUT_HEIGHT 12
44 #define PROGRESS_HEIGHT 12
45 #define BUTTON_WIDTH 50
46 #define BUTTON_HEIGHT 14
48 // spacing after the header on each page
49 #define SPACING_AFTER_HEADER 6
50 // spacing between related controls
51 #define SPACING_RELATED 3
52 // spacing between unrelated controls
53 #define SPACING_UNRELATED 6
55 // the position of the first control after the header
56 #define CONTENT_POS_X ( TAB_PAGE_CONTENT_MARGIN + FIXED_TEXT_HEIGHT + SPACING_AFTER_HEADER )
58 //... fixed texts .......................................................
61 #define FT_INTRODUCTION 2
62 #define FT_EXPLANATION 3
63 #define FT_SAVE_AS_LABEL 4
64 #define FT_START_MIGRATION 5
65 #define FT_CURRENT_OBJECT_LABEL 6
66 #define FT_CURRENT_OBJECT 7
67 #define FT_CURRENT_PROGRESS_LABEL 8
68 #define FT_CURRENT_PROGRESS 9
69 #define FT_ALL_PROGRESS_LABEL 10
70 #define FT_CHANGES_LABEL 11
71 #define FT_OBJECT_COUNT 12
72 #define FT_OBJECT_COUNT_PROGRESS 13
73 #define FT_MIGRATION_DONE 14
74 #define FT_CLOSE_DOC_ERROR 15
76 //... windows ............................................................
78 #define WND_CURRENT_PROGRESS 1
79 #define WND_ALL_PROGRESS 2
81 //... edits ..............................................................
83 #define ED_SAVE_AS_LOCATION 1
86 //... buttons ............................................................
88 #define PB_BROWSE_SAVE_AS_LOCATION 1
90 //... strings ............................................................
92 #define STR_STATE_CLOSE_SUB_DOCS 1
93 #define STR_STATE_BACKUP_DBDOC 2
94 #define STR_STATE_MIGRATE 3
95 #define STR_STATE_SUMMARY 4
96 #define STR_SUCCESSFUL 5
97 #define STR_UNSUCCESSFUL 6
99 #endif // DBACCESS_MACROMIGRATION_HRC