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