merge the formfield patch from ooo-build
[ooovba.git] / sfx2 / source / dialog / dinfdlg.hrc
blob91f566f55f39cad43f87123898ce81aae2c5a007
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: dinfdlg.hrc,v $
10  * $Revision: 1.8 $
11  *
12  * This file is part of OpenOffice.org.
13  *
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.
17  *
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).
23  *
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.
28  *
29  ************************************************************************/
30 #ifndef _DINFDLG_HRC
31 #define _DINFDLG_HRC
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
43 // 4 TP_DOCINFORELOAD
44 #define PAGE_WIDTH                      260
45 #define WIDTH_CTRL_SPACE        3
46 #define WIDTH_0                         10
47 #define WIDTH_1                         48
48 #define WIDTH_2                         28
49 #define WIDTH_FT1                       (WIDTH_1 - WIDTH_CTRL_SPACE)
50 #define COL_0                           6
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)
61 #define ROW_0                           6
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 ---------------------------------------------------------------
71 #define FT_FILE                         1
72 #define FT_FILE_VAL             2
73 #define FT_CHANGE                       3
74 #define FT_CHANGE_VAL           4
75 #define FT_CREATE                       7
76 #define FT_CREATE_VAL           8
77 #define FT_TITLE                        9
78 #define ED_TITLE                        10
79 #define FT_THEMA                        11
80 #define ED_THEMA                        12
81 #define FT_KEYWORDS             13
82 #define ED_KEYWORDS             14
83 #define FT_INFO1                        15
84 #define ED_INFO1                        16
85 #define FT_INFO2                        17
86 #define ED_INFO2                        18
87 #define FT_INFO3                        19
88 #define ED_INFO3                        20
89 #define FT_INFO4                        21
90 #define ED_INFO4                        22
91 #define FT_COMMENT                      23
92 #define ED_COMMENT                      24
93 #define GB_INFO                         30
94 #define FT_TEMPL                        32
95 #define FT_TEMPL_VAL            33
96 #define BTN_EDITLABEL           34
97 #define FT_TIMELOG                      35
98 #define FT_TIMELOG_VAL          36
99 #define FT_DOCNO                        37
100 #define FT_DOCNO_VAL            38
101 #define FT_URL                          43
102 #define ED_URL                          44
103 #define CB_FILE_READONLY        48
104 #define CB_USE_USERDATA         49
105 #define BMP_FILE_1                      50
106 #define ED_FILE_NAME        51
107 #define FL_FILE_1                       52
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
112 #define FL_FILE_2                       57
113 #define FT_PRINT                        58
114 #define FT_PRINT_VAL            59
115 #define STR_UNKNOWNSIZE     60
116 #define FL_FILE_3                       61
117 #define BTN_DELETE                      62
119 #define RB_NOAUTOUPDATE         63
120 #define RB_RELOADUPDATE         64
121 #define RB_FORWARDUPDATE        65
122 #define FT_EVERY                        66
123 #define ED_RELOAD                       67
124 #define FT_RELOADSECS           68
125 #define FT_AFTER                        69
126 #define ED_FORWARD                      70
127 #define FT_FORWARDSECS          71
128 #define FT_FRAME                        72
129 #define CB_FRAME                        73
130 #define PB_BROWSEURL            74
131 #define STR_FORWARD_ERRMSSG     75
133 #define FT_SIGNED                       76
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
143 #define BTN_ADD             94
144 #define LB_PROPNAME         95
145 #define ED_PROPVALUE        96
146 #define RB_PROPYES          96
147 #define RB_PROPNO           97
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
158 #endif