summaryrefslogtreecommitdiff
path: root/sw/inc/fldui.hrc
blob: 5ac6a742b2673ae3f2a62ca7ea8f245f32bb884c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: fldui.hrc,v $
 * $Revision: 1.7 $
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/
#ifndef _FLDUI_HRC
#define _FLDUI_HRC

#include "rcid.hrc"


#define DLG_FLD			   	RC_FLDDLG_BEGIN
#define DLG_RECORD_MRG      (RC_FLDDLG_BEGIN + 1)
#define DLG_RECORD_INS      (RC_FLDDLG_BEGIN + 2)
#define DLG_FLD_EDIT        (RC_FLDDLG_BEGIN + 3)
#define DLG_POSTIT          (RC_FLDDLG_BEGIN + 4)
#define DLG_FLD_INPUT       (RC_FLDDLG_BEGIN + 5)
#define DLG_BRCFG       	(RC_FLDDLG_BEGIN + 6)
#define DLG_BRSEEK       	(RC_FLDDLG_BEGIN + 7)
#define DLG_BRSORT       	(RC_FLDDLG_BEGIN + 8)
#define DLG_CHANGE_DB      	(RC_FLDDLG_BEGIN + 9)
#define DLG_JAVAEDIT      	(RC_FLDDLG_BEGIN + 10)
#define DLG_FLD_INSERT		(RC_FLDDLG_BEGIN + 11)
#define DLG_FLD_DROPDOWN    (RC_FLDDLG_BEGIN + 12)

/*--------------------------------------------------------------------
    Beschreibung: TypeId
 --------------------------------------------------------------------*/

#define STR_TYPE_BEGIN		RC_FLDDLG_BEGIN
#define STR_DATEFLD 		STR_TYPE_BEGIN
#define STR_TIMEFLD 		(STR_TYPE_BEGIN + 1)
#define STR_FILENAMEFLD 	(STR_TYPE_BEGIN + 2)
#define STR_DBNAMEFLD  		(STR_TYPE_BEGIN + 3)
#define STR_CHAPTERFLD 		(STR_TYPE_BEGIN + 4)
#define STR_PAGENUMBERFLD 	(STR_TYPE_BEGIN + 5)
#define STR_DOCSTATFLD 		(STR_TYPE_BEGIN + 6)
#define STR_AUTHORFLD 		(STR_TYPE_BEGIN + 7)
#define STR_SETFLD 			(STR_TYPE_BEGIN + 8)
#define STR_GETFLD 			(STR_TYPE_BEGIN + 9)
#define STR_FORMELFLD   	(STR_TYPE_BEGIN + 10)
#define STR_CONDTXTFLD 		(STR_TYPE_BEGIN + 11)
#define STR_SETREFFLD 		(STR_TYPE_BEGIN + 12)
#define STR_GETREFFLD 		(STR_TYPE_BEGIN + 13)
#define	STR_DDEFLD 			(STR_TYPE_BEGIN + 14)
#define STR_MACROFLD 		(STR_TYPE_BEGIN + 15)
#define STR_INPUTFLD 		(STR_TYPE_BEGIN + 16)
#define STR_DOCINFOFLD 		(STR_TYPE_BEGIN + 17)
#define STR_DBFLD 			(STR_TYPE_BEGIN + 19)
#define STR_USERFLD			(STR_TYPE_BEGIN + 20)
#define STR_POSTITFLD		(STR_TYPE_BEGIN + 21)
#define STR_HIDDENPARAFLD	(STR_TYPE_BEGIN + 22)

#define STR_TEMPLNAMEFLD 	(STR_TYPE_BEGIN + 24)
#define STR_SEQFLD    		(STR_TYPE_BEGIN + 25)
#define STR_DBNEXTSETFLD 	(STR_TYPE_BEGIN + 26)
#define STR_DBNUMSETFLD 	(STR_TYPE_BEGIN + 27)
#define STR_DBSETNUMBERFLD 	(STR_TYPE_BEGIN + 28)
#define STR_PREVPAGEFLD 	(STR_TYPE_BEGIN + 29)
#define STR_NEXTPAGEFLD 	(STR_TYPE_BEGIN + 30)
#define STR_HIDDENTXTFLD 	(STR_TYPE_BEGIN + 31)
#define STR_EXTUSERFLD 		(STR_TYPE_BEGIN + 32)
#define STR_SETINPUTFLD		(STR_TYPE_BEGIN + 33)
#define STR_USRINPUTFLD		(STR_TYPE_BEGIN + 34)
#define STR_SETREFPAGEFLD	(STR_TYPE_BEGIN + 35)
#define STR_GETREFPAGEFLD	(STR_TYPE_BEGIN + 36)
#define STR_INTERNETFLD  	(STR_TYPE_BEGIN + 37)
#define STR_JUMPEDITFLD  	(STR_TYPE_BEGIN + 38)
#define STR_SCRIPTFLD		(STR_TYPE_BEGIN + 39)
#define STR_AUTHORITY       (STR_TYPE_BEGIN + 40)
#define STR_COMBINED_CHARS	(STR_TYPE_BEGIN + 41)
#define STR_DROPDOWN        (STR_TYPE_BEGIN + 42)
#define STR_CUSTOM          (STR_TYPE_BEGIN + 43)
#define STR_TYPE_END        (STR_TYPE_BEGIN + 44)

/*--------------------------------------------------------------------
    Beschreibung: SubTypes
 --------------------------------------------------------------------*/

#define	FLD_DATE_BEGIN		STR_TYPE_END
#define FLD_DATE_FIX		FLD_DATE_BEGIN
#define FLD_DATE_STD		(FLD_DATE_BEGIN + 1)
#define FLD_DATE_END		(FLD_DATE_BEGIN + 2)

#define FLD_TIME_BEGIN		FLD_DATE_END
#define FLD_TIME_FIX		FLD_TIME_BEGIN
#define FLD_TIME_STD		(FLD_TIME_BEGIN + 1)
#define FLD_TIME_END		(FLD_TIME_BEGIN + 2)

#define FLD_STAT_BEGIN		FLD_TIME_END
#define FLD_STAT_PAGE		FLD_STAT_BEGIN
#define FLD_STAT_PARA		(FLD_STAT_BEGIN + 1)
#define FLD_STAT_WORD		(FLD_STAT_BEGIN + 2)
#define FLD_STAT_CHAR		(FLD_STAT_BEGIN + 3)
#define FLD_STAT_TABLE		(FLD_STAT_BEGIN + 4)
#define FLD_STAT_GRF		(FLD_STAT_BEGIN + 5)
#define FLD_STAT_OBJ		(FLD_STAT_BEGIN + 6)
#define FLD_STAT_END		(FLD_STAT_BEGIN + 7)

#define FLD_INPUT_BEGIN		FLD_STAT_END
#define FLD_INPUT_TEXT		FLD_INPUT_BEGIN
#define FLD_INPUT_END		(FLD_INPUT_BEGIN + 1)

#define FLD_EU_BEGIN		FLD_INPUT_END
#define FLD_EU_FIRMA        FLD_EU_BEGIN
#define FLD_EU_VORNAME		(FLD_EU_BEGIN    + 1)
#define FLD_EU_NAME        	(FLD_EU_BEGIN    + 2)
#define FLD_EU_ABK         	(FLD_EU_BEGIN    + 3)
#define FLD_EU_STRASSE     	(FLD_EU_BEGIN    + 4)
#define FLD_EU_LAND        	(FLD_EU_BEGIN    + 5)
#define FLD_EU_PLZ         	(FLD_EU_BEGIN    + 6)
#define FLD_EU_ORT         	(FLD_EU_BEGIN    + 7)
#define FLD_EU_TITEL       	(FLD_EU_BEGIN    + 8)
#define FLD_EU_POS         	(FLD_EU_BEGIN    + 9)
#define FLD_EU_TELPRIV     	(FLD_EU_BEGIN    + 10)
#define FLD_EU_TELFIRMA    	(FLD_EU_BEGIN    + 11)
#define FLD_EU_FAX         	(FLD_EU_BEGIN    + 12)
#define FLD_EU_EMAIL        (FLD_EU_BEGIN    + 13)
#define FLD_EU_STATE        (FLD_EU_BEGIN    + 14)
#define FLD_EU_END       	(FLD_EU_BEGIN    + 15)

#define FLD_PAGEREF_BEGIN	FLD_EU_END
#define FLD_PAGEREF_OFF		FLD_PAGEREF_BEGIN
#define FLD_PAGEREF_ON  	(FLD_PAGEREF_BEGIN+1)
#define FLD_PAGEREF_END		(FLD_PAGEREF_BEGIN+2)

/*----------------------------------------------------------
 Format-Id's
 ----------------------------------------------------------*/
// Text
#define	FMT_TEXT			FLD_PAGEREF_END

// Nummern
#define FMT_NUM_BEGIN		(FMT_TEXT 		+ 1)
#define FMT_NUM_ABC			FMT_NUM_BEGIN
#define FMT_NUM_SABC        (FMT_NUM_BEGIN 	+ 1)
#define FMT_NUM_ABC_N		(FMT_NUM_BEGIN  + 2)
#define FMT_NUM_SABC_N      (FMT_NUM_BEGIN 	+ 3)
#define FMT_NUM_ROMAN       (FMT_NUM_BEGIN 	+ 4)
#define FMT_NUM_SROMAN      (FMT_NUM_BEGIN 	+ 5)
#define FMT_NUM_ARABIC		(FMT_NUM_BEGIN 	+ 6)
#define FMT_NUM_PAGEDESC	(FMT_NUM_BEGIN 	+ 7)
#define	FMT_NUM_PAGESPECIAL	(FMT_NUM_BEGIN  + 8)
#define	FMT_NUM_END			(FMT_NUM_BEGIN  + 9)

// AuthorFormat
#define FMT_AUTHOR_BEGIN	FMT_NUM_END
#define FMT_AUTHOR_NAME		FMT_AUTHOR_BEGIN
#define FMT_AUTHOR_SCUT		(FMT_AUTHOR_BEGIN + 1)
#define	FMT_AUTHOR_END		(FMT_AUTHOR_BEGIN + 2)

// Variable setzen
#define FMT_SETVAR_BEGIN	FMT_AUTHOR_END
#define FMT_SETVAR_SYS      (FMT_SETVAR_BEGIN + 0)
#define FMT_SETVAR_TEXT		(FMT_SETVAR_BEGIN + 1)
#define	FMT_SETVAR_END		(FMT_SETVAR_BEGIN + 2)

// Variable einfuegen
#define FMT_GETVAR_BEGIN	FMT_SETVAR_END
#define FMT_GETVAR_TEXT		(FMT_GETVAR_BEGIN + 0)
#define FMT_GETVAR_NAME		(FMT_GETVAR_BEGIN + 1)
#define	FMT_GETVAR_END		(FMT_GETVAR_BEGIN + 2)

// Userfeld einfuegen
#define FMT_USERVAR_BEGIN	FMT_GETVAR_END
#define FMT_USERVAR_TEXT	(FMT_USERVAR_BEGIN + 0)
#define FMT_USERVAR_CMD		(FMT_USERVAR_BEGIN + 1)
#define	FMT_USERVAR_END		(FMT_USERVAR_BEGIN + 2)

// Datenbankfeld einfuegen
#define FMT_DBFLD_BEGIN		FMT_USERVAR_END
#define FMT_DBFLD_DB		(FMT_DBFLD_BEGIN + 0)
#define FMT_DBFLD_SYS		(FMT_DBFLD_BEGIN + 1)
#define FMT_DBFLD_END		(FMT_DBFLD_BEGIN + 2)

//FileNameFormat
// Achtung die letzten 4 Formate gibt es in RTF nicht (Verlust!)
#define FMT_FF_BEGIN		FMT_DBFLD_END
#define FMT_FF_NAME 		FMT_FF_BEGIN
#define FMT_FF_PATHNAME 	(FMT_FF_BEGIN 	+ 1)
#define FMT_FF_PATH	  		(FMT_FF_BEGIN 	+ 2)
#define FMT_FF_NAME_NOEXT	(FMT_FF_BEGIN 	+ 3)
#define FMT_FF_UI_NAME		(FMT_FF_BEGIN 	+ 4)
#define FMT_FF_UI_RANGE		(FMT_FF_BEGIN 	+ 5)
#define	FMT_FF_END			(FMT_FF_BEGIN   + 6)

// Registry-Format
#define FMT_REG_BEGIN		FMT_FF_END
#define FMT_REG_AUTHOR		FMT_REG_BEGIN
#define FMT_REG_TIME		(FMT_REG_BEGIN	+ 1)
#define FMT_REG_DATE		(FMT_REG_BEGIN	+ 2)
#define FMT_REG_END			(FMT_REG_BEGIN 	+ 3)

// Kapitel
#define FMT_CHAPTER_BEGIN	FMT_REG_END
#define FMT_CHAPTER_NO		FMT_CHAPTER_BEGIN
#define FMT_CHAPTER_NAME	(FMT_CHAPTER_BEGIN	+ 1)
#define FMT_CHAPTER_NAMENO	(FMT_CHAPTER_BEGIN	+ 2)
#define FMT_CHAPTER_NO_NOSEPARATOR	(FMT_CHAPTER_BEGIN	+ 3)
#define FMT_CHAPTER_END		(FMT_CHAPTER_BEGIN	+ 4)

// DDE-Formate
#define FMT_DDE_BEGIN		FMT_CHAPTER_END
#define FMT_DDE_NORMAL		FMT_DDE_BEGIN
#define FMT_DDE_HOT			(FMT_DDE_BEGIN	+ 1)
#define FMT_DDE_END			(FMT_DDE_BEGIN	+ 2)

#define FMT_REF_BEGIN		FMT_DDE_END
#define FMT_REF_PAGE		FMT_REF_BEGIN
#define FMT_REF_CHAPTER		(FMT_REF_BEGIN	+ 1)
#define FMT_REF_TEXT		(FMT_REF_BEGIN	+ 2)
#define FMT_REF_UPDOWN		(FMT_REF_BEGIN	+ 3)
#define FMT_REF_PAGE_PGDSC	(FMT_REF_BEGIN	+ 4)
#define FMT_REF_ONLYNUMBER	(FMT_REF_BEGIN	+ 5)
#define FMT_REF_ONLYCAPTION     (FMT_REF_BEGIN  + 6)
#define FMT_REF_ONLYSEQNO       (FMT_REF_BEGIN  + 7)
#define FMT_REF_NUMBER          (FMT_REF_BEGIN  + 8)
#define FMT_REF_NUMBER_NO_CONTEXT (FMT_REF_BEGIN  + 9)
#define FMT_REF_NUMBER_FULL_CONTEXT (FMT_REF_BEGIN  + 10)
#define FMT_REF_END             (FMT_REF_BEGIN  + 11)

// Platzhalter
#define FMT_MARK_BEGIN		FMT_REF_END
#define FMT_MARK_TEXT		FMT_MARK_BEGIN
#define FMT_MARK_TABLE		(FMT_MARK_BEGIN + 1)
#define FMT_MARK_FRAME		(FMT_MARK_BEGIN + 2)
#define FMT_MARK_GRAFIC		(FMT_MARK_BEGIN + 3)
#define FMT_MARK_OLE		(FMT_MARK_BEGIN + 4)
#define FMT_MARK_END		(FMT_MARK_BEGIN + 5)

/*--------------------------------------------------------------------
    Beschreibung: globale String-Ressourcen
 --------------------------------------------------------------------*/

#define STR_FLDUI				FMT_MARK_END
#define	STR_INSERT		   		STR_FLDUI
#define	STR_ALL			  		(STR_FLDUI + 1)
#define STR_EXTRA        		(STR_FLDUI + 2)

/*--------------------------------------------------------------------
    Beschreibung: Buttons fuer Field-Edit-Dlg
 --------------------------------------------------------------------*/

#define BTN_FLDEDT_PREV			STR_EXTRA
#define BTN_FLDEDT_NEXT			(STR_EXTRA  + 1)
#define PB_FLDEDT_ADDRESS		(STR_EXTRA  + 2)

/*--------------------------------------------------------------------
    Beschreibung: Zusaetzliche Strings
 --------------------------------------------------------------------*/

#define STR_COND				STR_EXTRA
#define STR_TEXT				(STR_EXTRA  + 1)
#define STR_DDE_CMD				(STR_EXTRA  + 2)
#define STR_INSTEXT				(STR_EXTRA  + 3)
#define STR_COMBCHRS_FT			(STR_EXTRA  + 4)
#define STR_PROMPT				(STR_EXTRA  + 5)
#define STR_MACNAME				(STR_EXTRA  + 6)
#define STR_SETNO				(STR_EXTRA  + 7)
#define STR_OFFSET				(STR_EXTRA  + 8)
#define STR_VALUE   			(STR_EXTRA  + 9)

#define STR_URLPROMPT   		(STR_EXTRA  + 11)
#define STR_FORMULA   			(STR_EXTRA  + 12)
#define STR_ALL_DATABASE   		(STR_EXTRA  + 13)
#define STR_FLD_EDIT_DLG   		(STR_EXTRA  + 14)

#define FLDDLG_ACT_END			(STR_FLD_EDIT_DLG)


#endif