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