1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: dinfdlg.hrc,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
33 #include <svtools/controldims.hrc>
35 // const -----------------------------------------------------------------
37 #define CUSTOM_TYPE_UNKNOWN 0
38 #define CUSTOM_TYPE_TEXT 1
39 #define CUSTOM_TYPE_NUMBER 2
40 #define CUSTOM_TYPE_DATE 3
41 #define CUSTOM_TYPE_BOOLEAN 4
44 #define PAGE_WIDTH 260
45 #define WIDTH_CTRL_SPACE 3
49 #define WIDTH_FT1 (WIDTH_1 - WIDTH_CTRL_SPACE)
51 #define COL_1 (COL_0+WIDTH_0)
52 #define COL_2 (COL_1+WIDTH_1)
53 #define COL_3 (COL_2+WIDTH_2)
54 #define COL_4 (COL_3+WIDTH_CTRL_SPACE)
55 #define COL_7 (PAGE_WIDTH-2*WIDTH_0)
56 #define COL_6 (COL_7-WIDTH_0)
57 #define COL_5 (COL_6-WIDTH_CTRL_SPACE)
58 #define COL_LAST COL_7
60 #define ROWDIFF_FT_EDTFLD ((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
62 #define ROW_1 (ROW_0+16)
63 #define ROW_2 (ROW_1+13)
64 #define ROW_3 (ROW_2+16)
65 #define ROW_4 (ROW_3+13)
66 #define ROW_5 (ROW_4+16)
67 #define ROW_6 (ROW_5+16)
69 // defines ---------------------------------------------------------------
74 #define FT_CHANGE_VAL 4
76 #define FT_CREATE_VAL 8
81 #define FT_KEYWORDS 13
82 #define ED_KEYWORDS 14
95 #define FT_TEMPL_VAL 33
96 #define BTN_EDITLABEL 34
98 #define FT_TIMELOG_VAL 36
100 #define FT_DOCNO_VAL 38
103 #define CB_FILE_READONLY 48
104 #define CB_USE_USERDATA 49
105 #define BMP_FILE_1 50
106 #define ED_FILE_NAME 51
108 #define FT_FILE_TYP 53
109 #define FT_FILE_SHOW_TYP 54
110 #define FT_FILE_SIZE 55
111 #define FT_FILE_SHOW_SIZE 56
114 #define FT_PRINT_VAL 59
115 #define STR_UNKNOWNSIZE 60
117 #define BTN_DELETE 62
119 #define RB_NOAUTOUPDATE 63
120 #define RB_RELOADUPDATE 64
121 #define RB_FORWARDUPDATE 65
124 #define FT_RELOADSECS 68
126 #define ED_FORWARD 70
127 #define FT_FORWARDSECS 71
130 #define PB_BROWSEURL 74
131 #define STR_FORWARD_ERRMSSG 75
134 #define FT_SIGNED_VAL 77
135 #define STR_MULTSIGNED 78
136 #define BTN_SIGNATURE 79
137 #define BTN_CHANGE_PASS 80
139 #define WIN_PROPERTIES 90
140 #define SB_VERTICAL 91
141 #define FT_PROPERTIES 92
142 #define CTRL_PROPERTIES 93
144 #define LB_PROPNAME 95
145 #define ED_PROPVALUE 96
146 #define RB_PROPYES 96
148 #define LB_PROPTYPE 98
149 #define PB_REMOVEPROP 99
150 #define RB_PROPERTY_YES 100
151 #define RB_PROPERTY_NO 101
153 #define STR_HEADER_NAME 90
154 #define STR_HEADER_TYPE 91
155 #define STR_HEADER_VALUE 92
156 #define STR_HEADER_ACTION 93