1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
21 #include <rtl/ustring.hxx>
23 namespace writerfilter::dmapper
{
24 // Ensure that Character Properties are placed between PROP_CHARACTER_STYLES and PROP_CHARACTER_END
29 ,META_PROP_CELL_MAR_BOTTOM
= PROP_ID_START
30 ,META_PROP_CELL_MAR_LEFT
31 ,META_PROP_CELL_MAR_RIGHT
32 ,META_PROP_CELL_MAR_TOP
33 ,META_PROP_HORIZONTAL_BORDER
34 ,META_PROP_TABLE_STYLE_NAME
35 ,META_PROP_VERTICAL_BORDER
38 ,PROP_ADJUST_LUMINANCE
40 ,PROP_ALTERNATIVE_TEXT
42 ,PROP_AUTOMATIC_DISTANCE
44 ,PROP_BACK_COMPLEX_COLOR
45 ,PROP_BACK_COLOR_TRANSPARENCY
47 ,PROP_BORDER_LEFT_COMPLEX_COLOR
48 ,PROP_BORDER_RIGHT_COMPLEX_COLOR
49 ,PROP_BORDER_TOP_COMPLEX_COLOR
50 ,PROP_BORDER_BOTTOM_COMPLEX_COLOR
52 ,PROP_BOTTOM_BORDER_DISTANCE
56 ,PROP_BULLET_FONT_NAME
58 ,PROP_CHARACTER_STYLES
59 ,PROP_CHAR_AUTO_KERNING
61 ,PROP_CHAR_BACKGROUND_COMPLEX_COLOR
63 ,PROP_CHAR_CHAR_KERNING
65 ,PROP_CHAR_COMPLEX_COLOR
66 ,PROP_CHAR_COMBINE_IS_ON
67 ,PROP_CHAR_COMBINE_PREFIX
68 ,PROP_CHAR_COMBINE_SUFFIX
70 ,PROP_CHAR_LEFT_BORDER
71 ,PROP_CHAR_RIGHT_BORDER
73 ,PROP_CHAR_BOTTOM_BORDER
74 ,PROP_CHAR_LEFT_BORDER_DISTANCE
75 ,PROP_CHAR_RIGHT_BORDER_DISTANCE
76 ,PROP_CHAR_TOP_BORDER_DISTANCE
77 ,PROP_CHAR_BOTTOM_BORDER_DISTANCE
78 ,PROP_CHAR_BORDER_LEFT_COMPLEX_COLOR
79 ,PROP_CHAR_BORDER_RIGHT_COMPLEX_COLOR
80 ,PROP_CHAR_BORDER_TOP_COMPLEX_COLOR
81 ,PROP_CHAR_BORDER_BOTTOM_COMPLEX_COLOR
84 ,PROP_CHAR_ESCAPEMENT_HEIGHT
86 ,PROP_CHAR_FONT_CHAR_SET
88 ,PROP_CHAR_FONT_NAME_ASIAN
89 ,PROP_CHAR_FONT_NAME_COMPLEX
91 ,PROP_CHAR_HEIGHT_ASIAN
92 ,PROP_CHAR_HEIGHT_COMPLEX
96 ,PROP_CHAR_LOCALE_ASIAN
97 ,PROP_CHAR_LOCALE_COMPLEX
99 ,PROP_CHAR_POSTURE_ASIAN
100 ,PROP_CHAR_POSTURE_COMPLEX
101 ,PROP_CHAR_PROP_HEIGHT
102 ,PROP_CHAR_PROP_HEIGHT_ASIAN
103 ,PROP_CHAR_PROP_HEIGHT_COMPLEX
106 ,PROP_CHAR_ROTATION_IS_FIT_TO_LINE
107 ,PROP_CHAR_SCALE_WIDTH
108 ,PROP_CHAR_SHADOW_FORMAT
109 ,PROP_CHAR_SHADING_MARKER
110 ,PROP_CHAR_SHADING_VALUE
113 ,PROP_CHAR_STYLE_NAME
114 ,PROP_CHAR_TEXTOUTLINE_TEXT_EFFECT
115 ,PROP_CHAR_TEXTFILL_TEXT_EFFECT
116 ,PROP_CHAR_THEME_NAME_ASCII
117 ,PROP_CHAR_THEME_NAME_CS
118 ,PROP_CHAR_THEME_NAME_H_ANSI
119 ,PROP_CHAR_THEME_NAME_EAST_ASIA
120 ,PROP_CHAR_THEME_FONT_NAME_ASCII
121 ,PROP_CHAR_THEME_FONT_NAME_CS
122 ,PROP_CHAR_THEME_FONT_NAME_EAST_ASIA
123 ,PROP_CHAR_THEME_COLOR
124 ,PROP_CHAR_THEME_ORIGINAL_COLOR
125 ,PROP_CHAR_THEME_COLOR_SHADE
126 ,PROP_CHAR_THEME_FILL
127 ,PROP_CHAR_THEME_COLOR_TINT
129 ,PROP_CHAR_UNDERLINE_COLOR
130 ,PROP_CHAR_UNDERLINE_COMPLEX_COLOR
131 ,PROP_CHAR_UNDERLINE_HAS_COLOR
133 ,PROP_CHAR_WEIGHT_ASIAN
134 ,PROP_CHAR_WEIGHT_COMPLEX
136 ,PROP_CHAR_GLOW_TEXT_EFFECT
137 ,PROP_CHAR_SHADOW_TEXT_EFFECT
138 ,PROP_CHAR_REFLECTION_TEXT_EFFECT
139 ,PROP_CHAR_SCENE3D_TEXT_EFFECT
140 ,PROP_CHAR_PROPS3D_TEXT_EFFECT
141 ,PROP_CHAR_LIGATURES_TEXT_EFFECT
142 ,PROP_CHAR_NUMFORM_TEXT_EFFECT
143 ,PROP_CHAR_NUMSPACING_TEXT_EFFECT
144 ,PROP_CHAR_STYLISTICSETS_TEXT_EFFECT
145 ,PROP_CHAR_CNTXTALTS_TEXT_EFFECT
147 ,PROP_CONTENT
= PROP_CHARACTER_END
148 ,PROP_CONTOUR_OUTSIDE
149 ,PROP_CONTOUR_POLY_POLYGON
150 ,PROP_COUNT_EMPTY_LINES
151 ,PROP_COUNT_LINES_IN_FRAMES
152 ,PROP_CREATE_FROM_LEVEL_PARAGRAPH_STYLES
153 ,PROP_CREATE_FROM_MARKS
154 ,PROP_CREATE_FROM_OUTLINE
155 ,PROP_CURRENT_PRESENTATION
160 ,PROP_DROP_CAP_FORMAT
162 ,PROP_FIRST_LINE_INDENT
163 ,PROP_FIRST_LINE_OFFSET
165 ,PROP_FIRST_IS_SHARED
166 ,PROP_FOOTER_BODY_DISTANCE
167 ,PROP_FOOTER_DYNAMIC_SPACING
169 ,PROP_FOOTER_IS_DYNAMIC_HEIGHT
171 ,PROP_FOOTER_IS_SHARED
173 ,PROP_FOOTER_TEXT_LEFT
174 ,PROP_FOOTER_TEXT_FIRST
175 ,PROP_FOOTNOTE_COUNTING
176 ,PROP_FOOTNOTE_LINE_ADJUST
180 ,PROP_GRAPHIC_COLOR_MODE
181 ,PROP_GRID_BASE_HEIGHT
182 ,PROP_GRID_BASE_WIDTH
187 ,PROP_GRID_RUBY_HEIGHT
188 ,PROP_HEADER_BODY_DISTANCE
189 ,PROP_HEADER_DYNAMIC_SPACING
191 ,PROP_HEADER_IS_DYNAMIC_HEIGHT
193 ,PROP_HEADER_IS_SHARED
194 ,PROP_HEADER_ROW_COUNT
196 ,PROP_HEADER_TEXT_LEFT
197 ,PROP_HEADER_TEXT_FIRST
198 ,PROP_HEADING_STYLE_NAME
203 ,PROP_HORI_ORIENT_POSITION
204 ,PROP_HORI_ORIENT_RELATION
205 ,PROP_HYPER_LINK_U_R_L
216 ,PROP_IS_SPLIT_ALLOWED
220 ,PROP_LEFT_BORDER_DISTANCE
225 ,PROP_LEVEL_PARAGRAPH_STYLES
227 ,PROP_LISTTAB_STOP_POSITION
231 ,PROP_NUMBERING_LEVEL
232 ,PROP_NUMBERING_RULES
233 ,PROP_NUMBERING_STYLE_NAME
236 ,PROP_NUMBER_POSITION
240 ,PROP_PAGE_NUMBER_OFFSET
242 ,PROP_PARAGRAPH_FORMAT
243 ,PROP_PARAGRAPH_STYLES
245 ,PROP_PARA_BOTTOM_MARGIN
246 ,PROP_PARA_FIRST_LINE_INDENT
247 ,PROP_PARA_IS_HANGING_PUNCTUATION
248 ,PROP_PARA_IS_HYPHENATION
249 ,PROP_PARA_HYPHENATION_NO_CAPS
250 ,PROP_PARA_HYPHENATION_ZONE
251 ,PROP_PARA_KEEP_TOGETHER
252 ,PROP_PARA_LAST_LINE_ADJUST
253 ,PROP_PARA_LEFT_MARGIN
254 ,PROP_PARA_LINE_NUMBER_COUNT
255 ,PROP_PARA_LINE_NUMBER_START_VALUE
256 ,PROP_PARA_LINE_SPACING
258 ,PROP_PARA_RIGHT_MARGIN
260 ,PROP_PARA_STYLE_NAME
262 ,PROP_PARA_TOP_MARGIN
263 ,PROP_PARA_VERT_ALIGNMENT
266 ,PROP_PARENT_NUMBERING
267 ,PROP_POSITION_AND_SPACE_MODE
268 ,PROP_POSITION_PROTECTED
271 ,PROP_REDLINE_DATE_TIME
273 ,PROP_REDLINE_REVERT_PROPERTIES
274 ,PROP_REFERENCE_FIELD_FLAGS
275 ,PROP_REFERENCE_FIELD_PART
276 ,PROP_REFERENCE_FIELD_SOURCE
277 ,PROP_RESTART_AT_EACH_PAGE
279 ,PROP_RIGHT_BORDER_DISTANCE
281 ,PROP_SERVICE_CHAR_STYLE
282 ,PROP_SERVICE_PARA_STYLE
296 ,PROP_SURROUND_CONTOUR
298 ,PROP_TABLE_BORDER_DISTANCES
299 ,PROP_TABLE_COLUMN_SEPARATORS
300 ,PROP_TABLE_REDLINE_PARAMS
301 ,PROP_TABLE_ROW_DELETE
302 ,PROP_TABLE_ROW_INSERT
303 ,PROP_TABLE_CELL_DELETE
304 ,PROP_TABLE_CELL_INSERT
305 ,PROP_TABS_RELATIVE_TO_INDENT
306 ,PROP_TAB_STOP_DISTANCE
310 ,PROP_TEXT_VERTICAL_ADJUST
312 ,PROP_TOKEN_CHAPTER_INFO
313 ,PROP_TOKEN_HYPERLINK_END
314 ,PROP_TOKEN_HYPERLINK_START
318 ,PROP_TOP_BORDER_DISTANCE
321 ,PROP_GRID_STANDARD_MODE
323 ,PROP_VERT_ORIENT_POSITION
324 ,PROP_VERT_ORIENT_RELATION
330 ,PROP_EMBEDDED_OBJECT
331 ,PROP_PARA_CONTEXT_MARGIN
332 ,PROP_PAGE_STYLE_LAYOUT
335 ,PROP_EMBED_SYSTEM_FONTS
338 ,PROP_IS_WIDTH_RELATIVE
342 ,PROP_SURROUND_TEXT_WRAP_SMALL
343 ,PROP_PARA_SHADOW_FORMAT
344 ,PROP_FOOTNOTE_LINE_RELATIVE_WIDTH
345 ,PROP_PARA_TOP_MARGIN_BEFORE_AUTO_SPACING
346 ,PROP_PARA_BOTTOM_MARGIN_AFTER_AUTO_SPACING
348 ,PROP_HORIZONTAL_MERGE
349 ,PROP_HIDE_TAB_LEADER_AND_PAGE_NUMBERS
353 ,PROP_TOC_PARAGRAPH_OUTLINE_LEVEL
355 ,PROP_CELL_INTEROP_GRAB_BAG
356 ,PROP_TABLE_INTEROP_GRAB_BAG
357 ,PROP_APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING
359 ,PROP_PARA_SDT_END_BEFORE
360 ,META_PROP_TABLE_LOOK
365 ,PROP_FOLLOW_TEXT_FLOW
368 ,PROP_FILL_COMPLEX_COLOR
370 ,PROP_GRID_SNAP_TO_CHARS
378 ,PROP_DATACOLUMN_NAME
379 ,PROP_CHAR_TRANSPARENCE
381 ,PROP_CELL_FORMULA_CONVERTED
384 ,PROP_CURSOR_NOT_IGNORE_TABLES_IN_HF
385 ,PROP_PARA_CONNECT_BORDERS
388 //Returns the UNO string equivalent to eId.
389 OUString
getPropertyName(PropertyIds eId
);
391 bool isCharacterProperty(const PropertyIds eId
);
393 bool isParagraphProperty(const PropertyIds eId
);
395 } // namespace writerfilter::dmapper
397 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */