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