LibreOffice Module sw (master)  1
fields.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
21 #ifndef INCLUDED_SW_SOURCE_FILTER_WW8_FIELDS_HXX
22 #define INCLUDED_SW_SOURCE_FILTER_WW8_FIELDS_HXX
23 
24 namespace ww
25 {
26  enum eField
27  {
28  eNONE = 0,
29  eUNKNOWN = 1,
31  eREF = 3,
32  eXE = 4,
33  eFOOTREF = 5,
34  eSET = 6,
35  eIF = 7,
36  eINDEX = 8,
37  eTC = 9,
38  eSTYLEREF = 10,
39  eRD = 11,
40  eSEQ = 12,
41  eTOC = 13,
42  eINFO = 14,
43  eTITLE = 15,
44  eSUBJECT = 16,
45  eAUTHOR = 17,
46  eKEYWORDS = 18,
47  eCOMMENTS = 19,
50  eSAVEDATE = 22,
51  ePRINTDATE = 23,
52  eREVNUM = 24,
53  eEDITTIME = 25,
54  eNUMPAGE = 26,
55  eNUMWORDS = 27,
56  eNUMCHARS = 28,
57  eFILENAME = 29,
58  eTEMPLATE = 30,
59  eDATE = 31,
60  eTIME = 32,
61  ePAGE = 33,
62  eEquals = 34,
63  eQUOTE = 35,
64  eMERGEINC = 36,
65  ePAGEREF = 37,
66  eASK = 38,
67  eFILLIN = 39,
68  eMERGEDATA = 40,
69  eNEXT = 41,
70  eNEXTIF = 42,
71  eSKIPIF = 43,
72  eMERGEREC = 44,
73  eDDEREF = 45,
75  eGLOSSREF = 47,
76  ePRINT = 48,
77  eEQ = 49,
82  eAUTONUM = 54,
84  eLINK = 56,
85  eSYMBOL = 57,
86  eEMBED = 58,
88  eUSERNAME = 60,
91  eBARCODE = 63,
93  eSECTION = 65,
97  eFILESIZE = 69,
98  eFORMTEXT = 70,
100  eNOTEREF = 72,
101  eTOA = 73,
102  eTA = 74,
103  eMERGESEQ = 75,
104  eMACRO = 76,
105  ePRIVATE = 77,
106  eDATABASE = 78,
107  eAUTOTEXT = 79,
108  eCOMPARE = 80,
109  ePLUGIN = 81,
112  eADVANCE = 84,
114  eUNKNOWN2 = 86,
115  eCONTROL = 87,
118  eLISTNUM = 90,
123  eSHAPE = 95,
124  // NOTE: values > 95 / 0x5F do not correspond to documented WW8 fields
125  // and thus need special handling in WW8Export::OutputField()!
127  eCITATION = 97,
128  eFORMDATE = 98,
129  };
130 
146  const char *GetEnglishFieldName(eField eIndex) throw();
147 }
148 
149 #endif
150 
151 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: wwstyles.hxx:25
eField
Definition: fields.hxx:26
const char * GetEnglishFieldName(eField eIndex)
Find the English Field Name from a winword index.
Definition: fields.cxx:26