1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef DBACCESS_MACROMIGRATION_HRC
25#define DBACCESS_MACROMIGRATION_HRC
26
27// height and width of tab pages
28#define TAB_PAGE_WIDTH  280
29#define TAB_PAGE_HEIGHT 185
30
31// margin between the tab page and its content
32#define TAB_PAGE_CONTENT_MARGIN 12
33
34// dimensions of certain control types
35#define FIXED_TEXT_HEIGHT       8
36#define INPUT_HEIGHT            12
37#define PROGRESS_HEIGHT         12
38#define BUTTON_WIDTH            50
39#define BUTTON_HEIGHT           14
40
41// spacing after the header on each page
42#define SPACING_AFTER_HEADER    6
43// spacing between related controls
44#define SPACING_RELATED         3
45// spacing between unrelated controls
46#define SPACING_UNRELATED       6
47
48// the position of the first control after the header
49#define CONTENT_POS_X           ( TAB_PAGE_CONTENT_MARGIN + FIXED_TEXT_HEIGHT + SPACING_AFTER_HEADER )
50
51//... fixed texts  .......................................................
52
53#define FT_HEADER                   1
54#define FT_INTRODUCTION             2
55#define FT_EXPLANATION              3
56#define FT_SAVE_AS_LABEL            4
57#define FT_START_MIGRATION          5
58#define FT_CURRENT_OBJECT_LABEL     6
59#define FT_CURRENT_OBJECT           7
60#define FT_CURRENT_PROGRESS_LABEL     8
61#define FT_CURRENT_PROGRESS           9
62#define FT_ALL_PROGRESS_LABEL       10
63#define FT_CHANGES_LABEL            11
64#define FT_OBJECT_COUNT             12
65#define FT_OBJECT_COUNT_PROGRESS    13
66#define FT_MIGRATION_DONE           14
67#define FT_CLOSE_DOC_ERROR          15
68
69//... windows ............................................................
70
71#define WND_CURRENT_PROGRESS    1
72#define WND_ALL_PROGRESS        2
73
74//... edits ..............................................................
75
76#define ED_SAVE_AS_LOCATION     1
77#define ED_CHANGES              2
78
79//... buttons ............................................................
80
81#define PB_BROWSE_SAVE_AS_LOCATION  1
82
83//... strings ............................................................
84
85#define STR_STATE_CLOSE_SUB_DOCS    1
86#define STR_STATE_BACKUP_DBDOC      2
87#define STR_STATE_MIGRATE           3
88#define STR_STATE_SUMMARY           4
89#define STR_SUCCESSFUL              5
90#define STR_UNSUCCESSFUL            6
91
92#endif // DBACCESS_MACROMIGRATION_HRC
93