1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
30 #include <svtools/controldims.hrc>
32 // const -----------------------------------------------------------------
34 #define CUSTOM_TYPE_UNKNOWN 0
35 #define CUSTOM_TYPE_TEXT 1
36 #define CUSTOM_TYPE_NUMBER 2
37 #define CUSTOM_TYPE_DATE 3
38 #define CUSTOM_TYPE_BOOLEAN 4
39 #define CUSTOM_TYPE_DURATION 5
40 #define CUSTOM_TYPE_DATETIME 6
43 #define PAGE_WIDTH 260
44 #define WIDTH_CTRL_SPACE 3
48 #define WIDTH_FT1 (WIDTH_1 - WIDTH_CTRL_SPACE)
50 #define COL_1 (COL_0+WIDTH_0)
51 #define COL_2 (COL_1+WIDTH_1)
52 #define COL_3 (COL_2+WIDTH_2)
53 #define COL_4 (COL_3+WIDTH_CTRL_SPACE)
54 #define COL_7 (PAGE_WIDTH-2*WIDTH_0)
55 #define COL_6 (COL_7-WIDTH_0)
56 #define COL_5 (COL_6-WIDTH_CTRL_SPACE)
57 #define COL_LAST COL_7
59 #define ROWDIFF_FT_EDTFLD ((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
61 #define ROW_1 (ROW_0+16)
62 #define ROW_2 (ROW_1+13)
63 #define ROW_3 (ROW_2+16)
64 #define ROW_4 (ROW_3+13)
65 #define ROW_5 (ROW_4+16)
66 #define ROW_6 (ROW_5+16)
68 // defines ---------------------------------------------------------------
73 #define FT_CHANGE_VAL 4
75 #define FT_CREATE_VAL 8
80 #define FT_KEYWORDS 13
81 #define ED_KEYWORDS 14
94 #define FT_TEMPL_VAL 33
95 #define BTN_EDITLABEL 34
97 #define FT_TIMELOG_VAL 36
99 #define FT_DOCNO_VAL 38
102 #define CB_FILE_READONLY 48
103 #define CB_USE_USERDATA 49
104 #define BMP_FILE_1 50
105 #define ED_FILE_NAME 51
107 #define FT_FILE_TYP 53
108 #define FT_FILE_SHOW_TYP 54
109 #define FT_FILE_SIZE 55
110 #define FT_FILE_SHOW_SIZE 56
113 #define FT_PRINT_VAL 59
114 #define STR_UNKNOWNSIZE 60
116 #define BTN_DELETE 62
118 #define RB_NOAUTOUPDATE 63
119 #define RB_RELOADUPDATE 64
120 #define RB_FORWARDUPDATE 65
123 #define FT_RELOADSECS 68
125 #define ED_FORWARD 70
126 #define FT_FORWARDSECS 71
129 #define PB_BROWSEURL 74
130 #define STR_FORWARD_ERRMSSG 75
133 #define FT_SIGNED_VAL 77
134 #define STR_MULTSIGNED 78
135 #define BTN_SIGNATURE 79
136 #define BTN_CHANGE_PASS 80
138 #define WIN_PROPERTIES 90
139 #define SB_VERTICAL 91
140 #define FT_PROPERTIES 92
141 #define CTRL_PROPERTIES 93
143 #define LB_PROPNAME 95
144 #define ED_PROPVALUE 96
145 #define RB_PROPYES 96
147 #define LB_PROPTYPE 98
148 #define PB_REMOVEPROP 99
149 #define RB_PROPERTY_YES 100
150 #define RB_PROPERTY_NO 101
152 #define STR_HEADER_NAME 90
153 #define STR_HEADER_TYPE 91
154 #define STR_HEADER_VALUE 92
155 #define STR_HEADER_ACTION 93
157 //IAccessibility2 Implementation 2009-----
158 #define EDIT_FILE_NAME 94
159 //-----IAccessibility2 Implementation 2009
162 #define PB_CANCEL 101
164 #define CB_NEGATIVE 103
173 #define FT_MINUTE 112
174 #define ED_MINUTE 113
175 #define FT_SECOND 114
176 #define ED_SECOND 115
177 #define FT_MSECOND 116
178 #define ED_MSECOND 117
179 #define FL_DURATION 118