1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef DBACCESS_MACROMIGRATION_HRC
29#define DBACCESS_MACROMIGRATION_HRC
30
31// height and width of tab pages
32#define TAB_PAGE_WIDTH  280
33#define TAB_PAGE_HEIGHT 185
34
35// margin between the tab page and its content
36#define TAB_PAGE_CONTENT_MARGIN 12
37
38// dimensions of certain control types
39#define FIXED_TEXT_HEIGHT       8
40#define INPUT_HEIGHT            12
41#define PROGRESS_HEIGHT         12
42#define BUTTON_WIDTH            50
43#define BUTTON_HEIGHT           14
44
45// spacing after the header on each page
46#define SPACING_AFTER_HEADER    6
47// spacing between related controls
48#define SPACING_RELATED         3
49// spacing between unrelated controls
50#define SPACING_UNRELATED       6
51
52// the position of the first control after the header
53#define CONTENT_POS_X           ( TAB_PAGE_CONTENT_MARGIN + FIXED_TEXT_HEIGHT + SPACING_AFTER_HEADER )
54
55//... fixed texts  .......................................................
56
57#define FT_HEADER                   1
58#define FT_INTRODUCTION             2
59#define FT_EXPLANATION              3
60#define FT_SAVE_AS_LABEL            4
61#define FT_START_MIGRATION          5
62#define FT_CURRENT_OBJECT_LABEL     6
63#define FT_CURRENT_OBJECT           7
64#define FT_CURRENT_PROGRESS_LABEL     8
65#define FT_CURRENT_PROGRESS           9
66#define FT_ALL_PROGRESS_LABEL       10
67#define FT_CHANGES_LABEL            11
68#define FT_OBJECT_COUNT             12
69#define FT_OBJECT_COUNT_PROGRESS    13
70#define FT_MIGRATION_DONE           14
71#define FT_CLOSE_DOC_ERROR          15
72
73//... windows ............................................................
74
75#define WND_CURRENT_PROGRESS    1
76#define WND_ALL_PROGRESS        2
77
78//... edits ..............................................................
79
80#define ED_SAVE_AS_LOCATION     1
81#define ED_CHANGES              2
82
83//... buttons ............................................................
84
85#define PB_BROWSE_SAVE_AS_LOCATION  1
86
87//... strings ............................................................
88
89#define STR_STATE_CLOSE_SUB_DOCS    1
90#define STR_STATE_BACKUP_DBDOC      2
91#define STR_STATE_MIGRATE           3
92#define STR_STATE_SUMMARY           4
93#define STR_SUCCESSFUL              5
94#define STR_UNSUCCESSFUL            6
95
96#endif // DBACCESS_MACROMIGRATION_HRC
97