1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: PropertyIds.hxx,v $
12 * This file is part of OpenOffice.org.
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.
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).
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.
29 ************************************************************************/
30 #ifndef INCLUDED_DMAPPER_PROPERTYIDS_HXX
31 #define INCLUDED_DMAPPER_PROPERTYIDS_HXX
33 namespace rtl
{ class OUString
;}
35 namespace writerfilter
{
40 /* 1*/ ,PROP_CHAR_WEIGHT
= PROP_ID_START
41 /* 2*/ ,PROP_CHAR_POSTURE
42 /* 3*/ ,PROP_CHAR_STRIKEOUT
43 /* 4*/ ,PROP_CHAR_CONTOURED
44 /* 5*/ ,PROP_CHAR_SHADOWED
45 /* 6*/ ,PROP_CHAR_CASE_MAP
46 /* 7*/ ,PROP_CHAR_COLOR
47 /* 8*/ ,PROP_CHAR_RELIEF
48 /* 9*/ ,PROP_CHAR_UNDERLINE
49 /*10*/ ,PROP_CHAR_WORD_MODE
50 /*11*/ ,PROP_CHAR_ESCAPEMENT
51 /*12*/ ,PROP_CHAR_ESCAPEMENT_HEIGHT
52 /*13*/ ,PROP_CHAR_HEIGHT
53 /*14*/ ,PROP_CHAR_HEIGHT_COMPLEX
54 /*15*/ ,PROP_CHAR_LOCALE
55 /*16*/ ,PROP_CHAR_LOCALE_ASIAN
56 /*17*/ ,PROP_CHAR_WEIGHT_COMPLEX
57 /*18*/ ,PROP_CHAR_POSTURE_COMPLEX
58 /*19*/ ,PROP_CHAR_AUTO_KERNING
59 /*20*/ ,PROP_CHAR_CHAR_KERNING
60 /*21*/ ,PROP_CHAR_SCALE_WIDTH
61 /*22*/ ,PROP_CHAR_LOCALE_COMPLEX
62 /*23*/ ,PROP_CHAR_UNDERLINE_COLOR
63 /*24*/ , PROP_CHAR_UNDERLINE_HAS_COLOR
64 /*25*/ , PROP_CHAR_FONT_NAME
65 /*26*/ , PROP_CHAR_FONT_STYLE
66 /*27*/ , PROP_CHAR_FONT_FAMILY
67 /*28*/ , PROP_CHAR_FONT_CHAR_SET
68 /*29*/ , PROP_CHAR_FONT_PITCH
69 /*30*/ , PROP_CHAR_FONT_NAME_ASIAN
70 /*31*/ , PROP_CHAR_HEIGHT_ASIAN
71 /*32*/ , PROP_CHAR_FONT_STYLE_ASIAN
72 /*33*/ , PROP_CHAR_FONT_FAMILY_ASIAN
73 /*34*/ , PROP_CHAR_FONT_CHAR_SET_ASIAN
74 /*35*/ , PROP_CHAR_FONT_PITCH_ASIAN
75 /*36*/ , PROP_CHAR_FONT_NAME_COMPLEX
76 /*37*/ , PROP_CHAR_FONT_STYLE_COMPLEX
77 /*38*/ , PROP_CHAR_FONT_FAMILY_COMPLEX
78 /*39*/ , PROP_CHAR_FONT_CHAR_SET_COMPLEX
79 /*40*/ , PROP_CHAR_FONT_PITCH_COMPLEX
80 /*41*/ , PROP_CHAR_HIDDEN
81 /*42*/ , PROP_CHAR_WEIGHT_ASIAN
82 /*43*/ , PROP_CHAR_POSTURE_ASIAN
83 /*44*/ , PROP_PARA_STYLE_NAME
84 /*45*/ , PROP_CHAR_STYLE_NAME
85 /*46*/ , PROP_PARA_ADJUST
86 /*47*/ , PROP_PARA_LAST_LINE_ADJUST
87 /*48*/ , PROP_PARA_RIGHT_MARGIN
88 /*49*/ , PROP_PARA_LEFT_MARGIN
89 /*50*/ , PROP_PARA_FIRST_LINE_INDENT
90 /*51*/ , PROP_PARA_KEEP_TOGETHER
91 /*52*/ , PROP_PARA_TOP_MARGIN
92 /*53*/ , PROP_PARA_BOTTOM_MARGIN
93 /*54*/ , PROP_PARA_IS_HYPHENATION
94 /*55*/ , PROP_PARA_LINE_NUMBER_COUNT
95 /*56*/ , PROP_PARA_IS_HANGING_PUNCTUATION
96 /*57*/ , PROP_PARA_LINE_SPACING
97 /*58*/ , PROP_PARA_TAB_STOPS
98 /*59*/ , PROP_PARA_WIDOWS
99 /*60*/ , PROP_PARA_ORPHANS
100 /*61*/ , PROP_PARA_LINE_NUMBER_START_VALUE
101 /*62*/ , PROP_NUMBERING_LEVEL
102 /*63*/ , PROP_NUMBERING_RULES
103 /*64*/ , PROP_NUMBERING_TYPE
104 /*65*/ , PROP_START_WITH
106 /*67*/ , PROP_PARENT_NUMBERING
107 /*68*/ , PROP_LEFT_MARGIN
108 /*69*/ , PROP_RIGHT_MARGIN
109 /*70*/ , PROP_TOP_MARGIN
110 /*71*/ , PROP_BOTTOM_MARGIN
111 /*72*/ , PROP_FIRST_LINE_OFFSET
112 /*73*/ , PROP_LEFT_BORDER
113 /*74*/ , PROP_RIGHT_BORDER
114 /*75*/ , PROP_TOP_BORDER
115 /*76*/ , PROP_BOTTOM_BORDER
116 /*77*/ , PROP_TABLE_BORDER
117 /*78*/ , PROP_LEFT_BORDER_DISTANCE
118 /*79*/ , PROP_RIGHT_BORDER_DISTANCE
119 /*80*/ , PROP_TOP_BORDER_DISTANCE
120 /*81*/ , PROP_BOTTOM_BORDER_DISTANCE
121 /*82*/ , PROP_CURRENT_PRESENTATION
122 /*83*/ , PROP_IS_FIXED
123 /*84*/ , PROP_SUB_TYPE
124 /*85*/ , PROP_FILE_FORMAT
125 /*86*/ , PROP_HYPER_LINK_U_R_L
126 /*87*/ , PROP_NUMBER_FORMAT
128 /*89*/ , PROP_IS_INPUT
130 /*91*/ , PROP_FULL_NAME
131 /*92*/ , PROP_KEYWORDS
132 /*93*/ , PROP_DESCRIPTION
133 /*94*/ , PROP_MACRO_NAME
134 /*95*/ , PROP_SUBJECT
135 /*96*/ , PROP_USER_DATA_TYPE
137 /*98*/ , PROP_CONTENT
138 /*99*/ , PROP_DATA_COLUMN_NAME
139 /*100*/, PROP_INPUT_STREAM
140 /*101*/, PROP_GRAPHIC
141 /*102*/, PROP_ANCHOR_TYPE
143 /*104*/ ,PROP_HORI_ORIENT
144 /*105*/ ,PROP_HORI_ORIENT_POSITION
145 /*106*/ ,PROP_HORI_ORIENT_RELATION
146 /*107*/ ,PROP_VERT_ORIENT
147 /*108*/ ,PROP_VERT_ORIENT_POSITION
148 /*109*/ ,PROP_VERT_ORIENT_RELATION
149 /*110*/ ,PROP_GRAPHIC_CROP
150 /*111*/ ,PROP_SIZE100th_M_M
151 /*112*/ ,PROP_SIZE_PIXEL
152 /*113*/ ,PROP_SURROUND
153 /*114*/ ,PROP_SURROUND_CONTOUR
154 /*115*/ ,PROP_ADJUST_CONTRAST
155 /*116*/ ,PROP_ADJUST_LUMINANCE
156 /*117*/ ,PROP_GRAPHIC_COLOR_MODE
158 /*119*/ ,PROP_HORI_MIRRORED_ON_EVEN_PAGES
159 /*120*/ ,PROP_HORI_MIRRORED_ON_ODD_PAGES
160 /*121*/ ,PROP_VERT_MIRRORED
161 /*122*/ ,PROP_CONTOUR_OUTSIDE
162 /*123*/ ,PROP_CONTOUR_POLY_POLYGON
163 /*124*/ ,PROP_PAGE_TOGGLE
164 /*125*/ ,PROP_BACK_COLOR
165 /*126*/ ,PROP_ALTERNATIVE_TEXT
166 /*127*/ ,PROP_HEADER_TEXT_LEFT
167 /*128*/ ,PROP_HEADER_TEXT
168 /*129*/ ,PROP_HEADER_IS_SHARED
169 /*130*/ ,PROP_HEADER_IS_ON
170 /*131*/ ,PROP_FOOTER_TEXT_LEFT
171 /*132*/ ,PROP_FOOTER_TEXT
172 /*133*/ ,PROP_FOOTER_IS_SHARED
173 /*134*/ ,PROP_FOOTER_IS_ON
176 /*137*/ ,PROP_SEPARATOR_LINE_IS_ON
177 /*138*/ ,PROP_TEXT_COLUMNS
178 /*139*/ ,PROP_AUTOMATIC_DISTANCE
179 /*140*/ ,PROP_IS_LANDSCAPE
180 /*141*/ ,PROP_PRINTER_PAPER_TRAY_INDEX
181 /*142*/ ,PROP_FIRST_PAGE
182 /*143*/ ,PROP_DEFAULT
183 /*144*/ ,PROP_PAGE_DESC_NAME
184 /*145*/ ,PROP_PAGE_NUMBER_OFFSET
185 /*146*/ ,PROP_BREAK_TYPE
186 /*147*/ ,PROP_FOOTER_IS_DYNAMIC_HEIGHT
187 /*148*/ ,PROP_FOOTER_DYNAMIC_SPACING
188 /*149*/ ,PROP_FOOTER_HEIGHT
189 /*150*/ ,PROP_FOOTER_BODY_DISTANCE
190 /*151*/ ,PROP_HEADER_IS_DYNAMIC_HEIGHT
191 /*152*/ ,PROP_HEADER_DYNAMIC_SPACING
192 /*153*/ ,PROP_HEADER_HEIGHT
193 /*154*/ ,PROP_HEADER_BODY_DISTANCE
194 /*155*/ ,PROP_WRITING_MODE
195 /*156*/ ,PROP_GRID_MODE
196 /*157*/ ,PROP_GRID_DISPLAY
197 /*158*/ ,PROP_GRID_PRINT
198 /*159*/ ,PROP_ADD_EXTERNAL_LEADING
199 /*160*/ ,PROP_GRID_LINES
200 /*161*/ ,PROP_GRID_BASE_HEIGHT
201 /*162*/ ,PROP_GRID_RUBY_HEIGHT
203 /*164*/ ,PROP_RESTART_AT_EACH_PAGE
204 /*165*/ ,PROP_COUNT_EMPTY_LINES
205 /*166*/ ,PROP_COUNT_LINES_IN_FRAMES
206 /*167*/ ,PROP_INTERVAL
207 /*168*/ ,PROP_DISTANCE
208 /*169*/ ,PROP_NUMBER_POSITION
210 /*171*/ ,PROP_LEVEL_PARAGRAPH_STYLES
211 /*172*/ ,PROP_LEVEL_FORMAT
212 /*173*/ ,PROP_TOKEN_TYPE
213 /*174*/ ,PROP_TOKEN_HYPERLINK_START
214 /*175*/ ,PROP_TOKEN_HYPERLINK_END
215 /*176*/ ,PROP_TOKEN_CHAPTER_INFO
216 /*177*/ ,PROP_CHAPTER_FORMAT
217 /*178*/ ,PROP_TOKEN_TEXT
219 /*180*/ ,PROP_CREATE_FROM_OUTLINE
220 /*181*/ ,PROP_CREATE_FROM_MARKS
221 /*182*/ ,PROP_STANDARD
222 /*183*/ ,PROP_CHAR_BACK_COLOR
223 /*184*/ ,PROP_CHAR_EMPHASIS
224 /*185*/ ,PROP_CHAR_COMBINE_IS_ON
225 /*186*/ ,PROP_CHAR_COMBINE_PREFIX
226 /*187*/ ,PROP_CHAR_COMBINE_SUFFIX
227 /*188*/ ,PROP_CHAR_ROTATION
228 /*189*/ ,PROP_CHAR_ROTATION_IS_FIT_TO_LINE
229 /*190*/ ,PROP_CHAR_FLASH
230 /*191*/ ,PROP_IS_SPLIT_ALLOWED
231 /*192*/ ,META_PROP_VERTICAL_BORDER
232 /*193*/ ,META_PROP_HORIZONTAL_BORDER
233 /*194*/ ,PROP_HEADER_ROW_COUNT
234 /*195*/ ,PROP_IS_AUTO_HEIGHT
235 /*196*/ ,PROP_SIZE_TYPE
236 /*197*/ ,PROP_TABLE_COLUMN_SEPARATORS
237 /*198*/ ,META_PROP_TABLE_STYLE_NAME
238 /*199*/ ,PROP_REDLINE_AUTHOR
239 /*200*/ ,PROP_REDLINE_DATE_TIME
240 /*201*/ ,PROP_REDLINE_COMMENT
241 /*202*/ ,PROP_REDLINE_TYPE
242 /*203*/ ,PROP_REDLINE_SUCCESSOR_DATA
243 /*204*/ ,PROP_REDLINE_IDENTIFIER
244 /*205*/ ,PROP_SIZE_PROTECTED
245 /*206*/ ,PROP_POSITION_PROTECTED
247 /*208*/ ,PROP_VERTICAL_MERGE
248 /*209*/ ,PROP_BULLET_CHAR
249 /*210*/ ,PROP_BULLET_FONT_NAME
250 /*211*/ ,PROP_PARA_BACK_COLOR
251 /*212*/ ,PROP_TABS_RELATIVE_TO_INDENT
254 /*215*/ ,PROP_CREATE_FROM_LEVEL_PARAGRAPH_STYLES
255 /*216*/ ,PROP_DROP_CAP_FORMAT
256 /*217*/ , PROP_REFERENCE_FIELD_PART
257 /*218*/ ,PROP_SOURCE_NAME
258 /*219*/ ,PROP_REFERENCE_FIELD_SOURCE
259 /*220*/ ,PROP_WIDTH_TYPE
260 /*221*/ ,PROP_TEXT_RANGE
261 /*222*/ ,PROP_SERVICE_CHAR_STYLE
262 /*223*/ ,PROP_SERVICE_PARA_STYLE
263 /*224*/ ,PROP_CHARACTER_STYLES
264 /*225*/ ,PROP_PARAGRAPH_STYLES
265 /*226*/ ,PROP_TABLE_BORDER_DISTANCES
266 /*227*/ ,META_PROP_CELL_MAR_TOP
267 /*228*/ ,META_PROP_CELL_MAR_BOTTOM
268 /*229*/ ,META_PROP_CELL_MAR_LEFT
269 /*230*/ ,META_PROP_CELL_MAR_RIGHT
270 /*231*/ ,PROP_START_AT
271 /*232*/ ,PROP_ADD_PARA_TABLE_SPACING
272 /*233*/ ,PROP_CHAR_PROP_HEIGHT
273 /*234*/ ,PROP_CHAR_PROP_HEIGHT_ASIAN
274 /*235*/ ,PROP_CHAR_PROP_HEIGHT_COMPLEX
278 /*239*/ ,PROP_STREAM_NAME
280 /*241*/ ,PROP_IS_DATE
281 /*242*/ ,PROP_CNF_STYLE
282 /*243*/ ,PROP_INDENT_AT
283 /*244*/ ,PROP_FIRST_LINE_INDENT
284 /*245*/ ,PROP_NUMBERING_STYLE_NAME
285 /*246*/ ,PROP_OUTLINE_LEVEL
286 /*247*/ ,PROP_LISTTAB_STOP_POSITION
287 /*248*/ ,PROP_POSITION_AND_SPACE_MODE
288 /*249*/ ,PROP_HEADING_STYLE_NAME
290 struct PropertyNameSupplier_Impl
;
291 class PropertyNameSupplier
293 PropertyNameSupplier_Impl
* m_pImpl
;
295 PropertyNameSupplier();
296 ~PropertyNameSupplier();
297 const rtl::OUString
& GetName( PropertyIds eId
) const;
299 static PropertyNameSupplier
& GetPropertyNameSupplier();
301 } //namespace dmapper
302 } // namespace writerfilter