xref: /aoo42x/main/sw/inc/fldui.hrc (revision fefe2166)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef _FLDUI_HRC
24#define _FLDUI_HRC
25
26#include "rcid.hrc"
27
28
29#define DLG_FLD			   	RC_FLDDLG_BEGIN
30#define DLG_RECORD_MRG      (RC_FLDDLG_BEGIN + 1)
31#define DLG_RECORD_INS      (RC_FLDDLG_BEGIN + 2)
32#define DLG_FLD_EDIT        (RC_FLDDLG_BEGIN + 3)
33#define DLG_POSTIT          (RC_FLDDLG_BEGIN + 4)
34#define DLG_FLD_INPUT       (RC_FLDDLG_BEGIN + 5)
35#define DLG_BRCFG       	(RC_FLDDLG_BEGIN + 6)
36#define DLG_BRSEEK       	(RC_FLDDLG_BEGIN + 7)
37#define DLG_BRSORT       	(RC_FLDDLG_BEGIN + 8)
38#define DLG_CHANGE_DB      	(RC_FLDDLG_BEGIN + 9)
39#define DLG_JAVAEDIT      	(RC_FLDDLG_BEGIN + 10)
40#define DLG_FLD_INSERT		(RC_FLDDLG_BEGIN + 11)
41#define DLG_FLD_DROPDOWN    (RC_FLDDLG_BEGIN + 12)
42
43/*--------------------------------------------------------------------
44	Beschreibung: TypeId
45 --------------------------------------------------------------------*/
46
47#define STR_TYPE_BEGIN		RC_FLDDLG_BEGIN
48#define STR_DATEFLD 		STR_TYPE_BEGIN
49#define STR_TIMEFLD 		(STR_TYPE_BEGIN + 1)
50#define STR_FILENAMEFLD 	(STR_TYPE_BEGIN + 2)
51#define STR_DBNAMEFLD  		(STR_TYPE_BEGIN + 3)
52#define STR_CHAPTERFLD 		(STR_TYPE_BEGIN + 4)
53#define STR_PAGENUMBERFLD 	(STR_TYPE_BEGIN + 5)
54#define STR_DOCSTATFLD 		(STR_TYPE_BEGIN + 6)
55#define STR_AUTHORFLD 		(STR_TYPE_BEGIN + 7)
56#define STR_SETFLD 			(STR_TYPE_BEGIN + 8)
57#define STR_GETFLD 			(STR_TYPE_BEGIN + 9)
58#define STR_FORMELFLD   	(STR_TYPE_BEGIN + 10)
59#define STR_CONDTXTFLD 		(STR_TYPE_BEGIN + 11)
60#define STR_SETREFFLD 		(STR_TYPE_BEGIN + 12)
61#define STR_GETREFFLD 		(STR_TYPE_BEGIN + 13)
62#define	STR_DDEFLD 			(STR_TYPE_BEGIN + 14)
63#define STR_MACROFLD 		(STR_TYPE_BEGIN + 15)
64#define STR_INPUTFLD 		(STR_TYPE_BEGIN + 16)
65#define STR_DOCINFOFLD 		(STR_TYPE_BEGIN + 17)
66#define STR_DBFLD 			(STR_TYPE_BEGIN + 19)
67#define STR_USERFLD			(STR_TYPE_BEGIN + 20)
68#define STR_POSTITFLD		(STR_TYPE_BEGIN + 21)
69#define STR_HIDDENPARAFLD	(STR_TYPE_BEGIN + 22)
70
71#define STR_TEMPLNAMEFLD 	(STR_TYPE_BEGIN + 24)
72#define STR_SEQFLD    		(STR_TYPE_BEGIN + 25)
73#define STR_DBNEXTSETFLD 	(STR_TYPE_BEGIN + 26)
74#define STR_DBNUMSETFLD 	(STR_TYPE_BEGIN + 27)
75#define STR_DBSETNUMBERFLD 	(STR_TYPE_BEGIN + 28)
76#define STR_PREVPAGEFLD 	(STR_TYPE_BEGIN + 29)
77#define STR_NEXTPAGEFLD 	(STR_TYPE_BEGIN + 30)
78#define STR_HIDDENTXTFLD 	(STR_TYPE_BEGIN + 31)
79#define STR_EXTUSERFLD 		(STR_TYPE_BEGIN + 32)
80#define STR_SETINPUTFLD		(STR_TYPE_BEGIN + 33)
81#define STR_USRINPUTFLD		(STR_TYPE_BEGIN + 34)
82#define STR_SETREFPAGEFLD	(STR_TYPE_BEGIN + 35)
83#define STR_GETREFPAGEFLD	(STR_TYPE_BEGIN + 36)
84#define STR_INTERNETFLD  	(STR_TYPE_BEGIN + 37)
85#define STR_JUMPEDITFLD  	(STR_TYPE_BEGIN + 38)
86#define STR_SCRIPTFLD		(STR_TYPE_BEGIN + 39)
87#define STR_AUTHORITY       (STR_TYPE_BEGIN + 40)
88#define STR_COMBINED_CHARS	(STR_TYPE_BEGIN + 41)
89#define STR_DROPDOWN        (STR_TYPE_BEGIN + 42)
90#define STR_CUSTOM          (STR_TYPE_BEGIN + 43)
91#define STR_TYPE_END        (STR_TYPE_BEGIN + 44)
92
93/*--------------------------------------------------------------------
94	Beschreibung: SubTypes
95 --------------------------------------------------------------------*/
96
97#define	FLD_DATE_BEGIN		STR_TYPE_END
98#define FLD_DATE_FIX		FLD_DATE_BEGIN
99#define FLD_DATE_STD		(FLD_DATE_BEGIN + 1)
100#define FLD_DATE_END		(FLD_DATE_BEGIN + 2)
101
102#define FLD_TIME_BEGIN		FLD_DATE_END
103#define FLD_TIME_FIX		FLD_TIME_BEGIN
104#define FLD_TIME_STD		(FLD_TIME_BEGIN + 1)
105#define FLD_TIME_END		(FLD_TIME_BEGIN + 2)
106
107#define FLD_STAT_BEGIN		FLD_TIME_END
108#define FLD_STAT_PAGE		FLD_STAT_BEGIN
109#define FLD_STAT_PARA		(FLD_STAT_BEGIN + 1)
110#define FLD_STAT_WORD		(FLD_STAT_BEGIN + 2)
111#define FLD_STAT_CHAR		(FLD_STAT_BEGIN + 3)
112#define FLD_STAT_TABLE		(FLD_STAT_BEGIN + 4)
113#define FLD_STAT_GRF		(FLD_STAT_BEGIN + 5)
114#define FLD_STAT_OBJ		(FLD_STAT_BEGIN + 6)
115#define FLD_STAT_END		(FLD_STAT_BEGIN + 7)
116
117#define FLD_INPUT_BEGIN		FLD_STAT_END
118#define FLD_INPUT_TEXT		FLD_INPUT_BEGIN
119#define FLD_INPUT_END		(FLD_INPUT_BEGIN + 1)
120
121#define FLD_EU_BEGIN		FLD_INPUT_END
122#define FLD_EU_FIRMA        FLD_EU_BEGIN
123#define FLD_EU_VORNAME		(FLD_EU_BEGIN    + 1)
124#define FLD_EU_NAME        	(FLD_EU_BEGIN    + 2)
125#define FLD_EU_ABK         	(FLD_EU_BEGIN    + 3)
126#define FLD_EU_STRASSE     	(FLD_EU_BEGIN    + 4)
127#define FLD_EU_LAND        	(FLD_EU_BEGIN    + 5)
128#define FLD_EU_PLZ         	(FLD_EU_BEGIN    + 6)
129#define FLD_EU_ORT         	(FLD_EU_BEGIN    + 7)
130#define FLD_EU_TITEL       	(FLD_EU_BEGIN    + 8)
131#define FLD_EU_POS         	(FLD_EU_BEGIN    + 9)
132#define FLD_EU_TELPRIV     	(FLD_EU_BEGIN    + 10)
133#define FLD_EU_TELFIRMA    	(FLD_EU_BEGIN    + 11)
134#define FLD_EU_FAX         	(FLD_EU_BEGIN    + 12)
135#define FLD_EU_EMAIL        (FLD_EU_BEGIN    + 13)
136#define FLD_EU_STATE        (FLD_EU_BEGIN    + 14)
137#define FLD_EU_END       	(FLD_EU_BEGIN    + 15)
138
139#define FLD_PAGEREF_BEGIN	FLD_EU_END
140#define FLD_PAGEREF_OFF		FLD_PAGEREF_BEGIN
141#define FLD_PAGEREF_ON  	(FLD_PAGEREF_BEGIN+1)
142#define FLD_PAGEREF_END		(FLD_PAGEREF_BEGIN+2)
143
144/*----------------------------------------------------------
145 Format-Id's
146 ----------------------------------------------------------*/
147// Text
148#define	FMT_TEXT			FLD_PAGEREF_END
149
150// Nummern
151#define FMT_NUM_BEGIN		(FMT_TEXT 		+ 1)
152#define FMT_NUM_ABC			FMT_NUM_BEGIN
153#define FMT_NUM_SABC        (FMT_NUM_BEGIN 	+ 1)
154#define FMT_NUM_ABC_N		(FMT_NUM_BEGIN  + 2)
155#define FMT_NUM_SABC_N      (FMT_NUM_BEGIN 	+ 3)
156#define FMT_NUM_ROMAN       (FMT_NUM_BEGIN 	+ 4)
157#define FMT_NUM_SROMAN      (FMT_NUM_BEGIN 	+ 5)
158#define FMT_NUM_ARABIC		(FMT_NUM_BEGIN 	+ 6)
159#define FMT_NUM_PAGEDESC	(FMT_NUM_BEGIN 	+ 7)
160#define	FMT_NUM_PAGESPECIAL	(FMT_NUM_BEGIN  + 8)
161#define	FMT_NUM_END			(FMT_NUM_BEGIN  + 9)
162
163// AuthorFormat
164#define FMT_AUTHOR_BEGIN	FMT_NUM_END
165#define FMT_AUTHOR_NAME		FMT_AUTHOR_BEGIN
166#define FMT_AUTHOR_SCUT		(FMT_AUTHOR_BEGIN + 1)
167#define	FMT_AUTHOR_END		(FMT_AUTHOR_BEGIN + 2)
168
169// Variable setzen
170#define FMT_SETVAR_BEGIN	FMT_AUTHOR_END
171#define FMT_SETVAR_SYS      (FMT_SETVAR_BEGIN + 0)
172#define FMT_SETVAR_TEXT		(FMT_SETVAR_BEGIN + 1)
173#define	FMT_SETVAR_END		(FMT_SETVAR_BEGIN + 2)
174
175// Variable einfuegen
176#define FMT_GETVAR_BEGIN	FMT_SETVAR_END
177#define FMT_GETVAR_TEXT		(FMT_GETVAR_BEGIN + 0)
178#define FMT_GETVAR_NAME		(FMT_GETVAR_BEGIN + 1)
179#define	FMT_GETVAR_END		(FMT_GETVAR_BEGIN + 2)
180
181// Userfeld einfuegen
182#define FMT_USERVAR_BEGIN	FMT_GETVAR_END
183#define FMT_USERVAR_TEXT	(FMT_USERVAR_BEGIN + 0)
184#define FMT_USERVAR_CMD		(FMT_USERVAR_BEGIN + 1)
185#define	FMT_USERVAR_END		(FMT_USERVAR_BEGIN + 2)
186
187// Datenbankfeld einfuegen
188#define FMT_DBFLD_BEGIN		FMT_USERVAR_END
189#define FMT_DBFLD_DB		(FMT_DBFLD_BEGIN + 0)
190#define FMT_DBFLD_SYS		(FMT_DBFLD_BEGIN + 1)
191#define FMT_DBFLD_END		(FMT_DBFLD_BEGIN + 2)
192
193//FileNameFormat
194// Achtung die letzten 4 Formate gibt es in RTF nicht (Verlust!)
195#define FMT_FF_BEGIN		FMT_DBFLD_END
196#define FMT_FF_NAME 		FMT_FF_BEGIN
197#define FMT_FF_PATHNAME 	(FMT_FF_BEGIN 	+ 1)
198#define FMT_FF_PATH	  		(FMT_FF_BEGIN 	+ 2)
199#define FMT_FF_NAME_NOEXT	(FMT_FF_BEGIN 	+ 3)
200#define FMT_FF_UI_NAME		(FMT_FF_BEGIN 	+ 4)
201#define FMT_FF_UI_RANGE		(FMT_FF_BEGIN 	+ 5)
202#define	FMT_FF_END			(FMT_FF_BEGIN   + 6)
203
204// Registry-Format
205#define FMT_REG_BEGIN		FMT_FF_END
206#define FMT_REG_AUTHOR		FMT_REG_BEGIN
207#define FMT_REG_TIME		(FMT_REG_BEGIN	+ 1)
208#define FMT_REG_DATE		(FMT_REG_BEGIN	+ 2)
209#define FMT_REG_END			(FMT_REG_BEGIN 	+ 3)
210
211// Kapitel
212#define FMT_CHAPTER_BEGIN	FMT_REG_END
213#define FMT_CHAPTER_NO		FMT_CHAPTER_BEGIN
214#define FMT_CHAPTER_NAME	(FMT_CHAPTER_BEGIN	+ 1)
215#define FMT_CHAPTER_NAMENO	(FMT_CHAPTER_BEGIN	+ 2)
216#define FMT_CHAPTER_NO_NOSEPARATOR	(FMT_CHAPTER_BEGIN	+ 3)
217#define FMT_CHAPTER_END		(FMT_CHAPTER_BEGIN	+ 4)
218
219// DDE-Formate
220#define FMT_DDE_BEGIN		FMT_CHAPTER_END
221#define FMT_DDE_NORMAL		FMT_DDE_BEGIN
222#define FMT_DDE_HOT			(FMT_DDE_BEGIN	+ 1)
223#define FMT_DDE_END			(FMT_DDE_BEGIN	+ 2)
224
225#define FMT_REF_BEGIN		FMT_DDE_END
226#define FMT_REF_PAGE		FMT_REF_BEGIN
227#define FMT_REF_CHAPTER		(FMT_REF_BEGIN	+ 1)
228#define FMT_REF_TEXT		(FMT_REF_BEGIN	+ 2)
229#define FMT_REF_UPDOWN		(FMT_REF_BEGIN	+ 3)
230#define FMT_REF_PAGE_PGDSC	(FMT_REF_BEGIN	+ 4)
231#define FMT_REF_ONLYNUMBER	(FMT_REF_BEGIN	+ 5)
232#define FMT_REF_ONLYCAPTION     (FMT_REF_BEGIN  + 6)
233#define FMT_REF_ONLYSEQNO       (FMT_REF_BEGIN  + 7)
234#define FMT_REF_NUMBER          (FMT_REF_BEGIN  + 8)
235#define FMT_REF_NUMBER_NO_CONTEXT (FMT_REF_BEGIN  + 9)
236#define FMT_REF_NUMBER_FULL_CONTEXT (FMT_REF_BEGIN  + 10)
237#define FMT_REF_END             (FMT_REF_BEGIN  + 11)
238
239// Platzhalter
240#define FMT_MARK_BEGIN		FMT_REF_END
241#define FMT_MARK_TEXT		FMT_MARK_BEGIN
242#define FMT_MARK_TABLE		(FMT_MARK_BEGIN + 1)
243#define FMT_MARK_FRAME		(FMT_MARK_BEGIN + 2)
244#define FMT_MARK_GRAFIC		(FMT_MARK_BEGIN + 3)
245#define FMT_MARK_OLE		(FMT_MARK_BEGIN + 4)
246#define FMT_MARK_END		(FMT_MARK_BEGIN + 5)
247
248/*--------------------------------------------------------------------
249	Beschreibung: globale String-Ressourcen
250 --------------------------------------------------------------------*/
251
252#define STR_FLDUI				FMT_MARK_END
253#define	STR_INSERT		   		STR_FLDUI
254#define	STR_ALL			  		(STR_FLDUI + 1)
255#define STR_EXTRA        		(STR_FLDUI + 2)
256
257/*--------------------------------------------------------------------
258	Beschreibung: Buttons fuer Field-Edit-Dlg
259 --------------------------------------------------------------------*/
260
261#define BTN_FLDEDT_PREV			STR_EXTRA
262#define BTN_FLDEDT_NEXT			(STR_EXTRA  + 1)
263#define PB_FLDEDT_ADDRESS		(STR_EXTRA  + 2)
264
265/*--------------------------------------------------------------------
266	Beschreibung: Zusaetzliche Strings
267 --------------------------------------------------------------------*/
268
269#define STR_COND				STR_EXTRA
270#define STR_TEXT				(STR_EXTRA  + 1)
271#define STR_DDE_CMD				(STR_EXTRA  + 2)
272#define STR_INSTEXT				(STR_EXTRA  + 3)
273#define STR_COMBCHRS_FT			(STR_EXTRA  + 4)
274#define STR_PROMPT				(STR_EXTRA  + 5)
275#define STR_MACNAME				(STR_EXTRA  + 6)
276#define STR_SETNO				(STR_EXTRA  + 7)
277#define STR_OFFSET				(STR_EXTRA  + 8)
278#define STR_VALUE   			(STR_EXTRA  + 9)
279
280#define STR_URLPROMPT   		(STR_EXTRA  + 11)
281#define STR_FORMULA   			(STR_EXTRA  + 12)
282#define STR_ALL_DATABASE   		(STR_EXTRA  + 13)
283#define STR_FLD_EDIT_DLG   		(STR_EXTRA  + 14)
284
285#define FLDDLG_ACT_END			(STR_FLD_EDIT_DLG)
286
287
288#endif
289