LibreOffice Module xmloff (master)  1
txtprmap.cxx
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 
20 #include <xmloff/txtprmap.hxx>
21 #include <xmloff/xmlnamespace.hxx>
22 #include <xmloff/xmltoken.hxx>
23 #include <xmloff/maptype.hxx>
24 #include <xmloff/xmltypes.hxx>
25 #include "txtprhdl.hxx"
26 #include <xmlsdtypes.hxx>
27 #include <sal/log.hxx>
28 #include <rtl/ref.hxx>
29 
30 using namespace ::com::sun::star;
31 using namespace ::com::sun::star::uno;
32 using namespace ::xmloff::token;
33 
34 #define M_E_( a, p, l, t, c ) \
35  { a, XML_NAMESPACE_##p, XML_##l, t, c, SvtSaveOptions::ODFSVER_010, false }
36 
37 #define M_EV_( a, p, l, t, c, v ) \
38  { a, XML_NAMESPACE_##p, XML_##l, t, c, v, false }
39 
40 #define M_ED_( a, p, l, t, c ) \
41  { a, XML_NAMESPACE_##p, XML_##l, (t) | MID_FLAG_DEFAULT_ITEM_EXPORT, c, SvtSaveOptions::ODFSVER_010, false }
42 
43 // text properties
44 #define MT_E( a, p, l, t, c ) \
45  M_E_( a, p, l, (t|XML_TYPE_PROP_TEXT), c )
46 #define MT_ED( a, p, l, t, c ) \
47  M_ED_( a, p, l, (t|XML_TYPE_PROP_TEXT), c )
48 
49 // paragraph properties
50 #define MP_E( a, p, l, t, c ) \
51  M_E_( a, p, l, (t|XML_TYPE_PROP_PARAGRAPH), c )
52 #define MP_ED( a, p, l, t, c ) \
53  M_ED_( a, p, l, (t|XML_TYPE_PROP_PARAGRAPH), c )
54 
55 // graphic properties
56 #define MG_E( a, p, l, t, c ) \
57  M_E_( a, p, l, (t|XML_TYPE_PROP_GRAPHIC), c )
58 #define MG_ED( a, p, l, t, c ) \
59  M_ED_( a, p, l, (t|XML_TYPE_PROP_GRAPHIC), c )
60 #define MG_EV( a, p, l, t, c, v ) \
61  M_EV_( a, p, l, (t|XML_TYPE_PROP_GRAPHIC), c, v )
62 
63 // section properties
64 #define MS_E( a, p, l, t, c ) \
65  M_E_( a, p, l, (t|XML_TYPE_PROP_SECTION), c )
66 
67 // ruby properties
68 #define MR_E( a, p, l, t, c ) \
69  M_E_( a, p, l, (t|XML_TYPE_PROP_RUBY), c )
70 #define MR_EV( a, p, l, t, c, v ) \
71  M_EV_( a, p, l, (t|XML_TYPE_PROP_RUBY), c, v )
72 
73 // cell properties
74 #define MC_E( a, p, l, t, c ) \
75  M_E_( a, p, l, (t|XML_TYPE_PROP_TABLE_CELL), c )
76 
77 #define MAP_ODF13(name,prefix,token,type,context) { name, prefix, token, type, context, SvtSaveOptions::ODFSVER_013, false }
78 
79 // extensions import/export
80 #define MAP_EXT(name,prefix,token,type,context) { name, prefix, token, type, context, SvtSaveOptions::ODFSVER_FUTURE_EXTENDED, false }
81 // extensions import only
82 #define MAP_EXT_I(name,prefix,token,type,context) { name, prefix, token, type, context, SvtSaveOptions::ODFSVER_FUTURE_EXTENDED, true }
83 
84 #define M_END() { nullptr, 0, XML_TOKEN_INVALID, 0, 0, SvtSaveOptions::ODFSVER_010, false }
85 
86 #define MAP_(name,prefix,token,type,context) { name, prefix, token, type, context, SvtSaveOptions::ODFSVER_010, false }
87 #define GMAP(name,prefix,token,type,context) MAP_(name,prefix,token,static_cast<sal_Int32>(type|XML_TYPE_PROP_GRAPHIC),context)
88 
90 {
91  // RES_UNKNOWNATR_CONTAINER
92  MP_E( "ParaUserDefinedAttributes", TEXT, XMLNS, XML_TYPE_ATTRIBUTE_CONTAINER | MID_FLAG_SPECIAL_ITEM, 0 ),
93 
94  // fill attributes for paragraph backgrounds
95  // #i125045# moved to the front to be able to exclude these in lcl_txtprmap_getMap
96  // for TextPropMap::SHAPE_PARA to not have these double for Shapes (which already have these)
101  GMAP( "FillGradientStepCount", XML_NAMESPACE_DRAW, XML_GRADIENT_STEP_COUNT, XML_TYPE_NUMBER16, 0 ),
103  GMAP( "FillBackground", XML_NAMESPACE_DRAW, XML_FILL_HATCH_SOLID, XML_TYPE_BOOL, 0 ),
105  GMAP( "FillTransparence", XML_NAMESPACE_DRAW, XML_OPACITY, XML_TYPE_NEG_PERCENT16|MID_FLAG_MULTI_PROPERTY, 0 ), // exists in SW, too
112  GMAP( "FillBitmapPositionOffsetX", XML_NAMESPACE_DRAW, XML_FILL_IMAGE_REF_POINT_X, XML_TYPE_PERCENT, 0 ),
113  GMAP( "FillBitmapPositionOffsetY", XML_NAMESPACE_DRAW, XML_FILL_IMAGE_REF_POINT_Y, XML_TYPE_PERCENT, 0 ),
117 
118  // RES_LR_SPACE
119  // !!! DO NOT REORDER THE MARGINS !!!
120  MP_E( "ParaLeftMargin", FO, MARGIN, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, CTF_PARAMARGINALL ),
121  MP_E( "ParaLeftMarginRelative", FO, MARGIN, XML_TYPE_PERCENT16, CTF_PARAMARGINALL_REL ),
123  MP_E( "ParaLeftMarginRelative", FO, MARGIN_LEFT, XML_TYPE_PERCENT16, CTF_PARALEFTMARGIN_REL ),
125  MP_E( "ParaRightMarginRelative", FO, MARGIN_RIGHT, XML_TYPE_PERCENT16, CTF_PARARIGHTMARGIN_REL ),
126  // RES_UL_SPACE
128  MP_E( "ParaTopMarginRelative", FO, MARGIN_TOP, XML_TYPE_PERCENT16, CTF_PARATOPMARGIN_REL ),
130  MP_E( "ParaBottomMarginRelative",FO, MARGIN_BOTTOM, XML_TYPE_PERCENT16, CTF_PARABOTTOMMARGIN_REL ),
131  MAP_ODF13( "ParaContextMargin", XML_NAMESPACE_STYLE, XML_CONTEXTUAL_SPACING, XML_TYPE_BOOL|XML_TYPE_PROP_PARAGRAPH, 0 ), // ODF 1.3 OFFICE-3767 and was written by LO<=4.2
132  MAP_ODF13( "ParaContextMargin", XML_NAMESPACE_LO_EXT, XML_CONTEXTUAL_SPACING, XML_TYPE_BOOL|XML_TYPE_PROP_PARAGRAPH, 0 ), // extension namespace
133  // RES_CHRATR_CASEMAP
134  MT_E( "CharCaseMap", FO, FONT_VARIANT, XML_TYPE_TEXT_CASEMAP_VAR, 0 ),
135  MT_E( "CharCaseMap", FO, TEXT_TRANSFORM, XML_TYPE_TEXT_CASEMAP, 0 ),
136  // RES_CHRATR_COLOR
137  MT_ED( "CharColor", FO, COLOR, XML_TYPE_COLORAUTO|MID_FLAG_MERGE_PROPERTY, 0 ),
138  MT_ED( "CharColor", STYLE, USE_WINDOW_FONT_COLOR, XML_TYPE_ISAUTOCOLOR|MID_FLAG_MERGE_PROPERTY, 0 ),
144  // RES_CHRATR_CONTOUR
145  MT_E( "CharContoured", STYLE, TEXT_OUTLINE, XML_TYPE_BOOL, 0 ),
146  // RES_CHRATR_CROSSEDOUT
147  MT_E( "CharStrikeout", STYLE, TEXT_LINE_THROUGH_STYLE, XML_TYPE_TEXT_CROSSEDOUT_STYLE|MID_FLAG_MERGE_PROPERTY, 0),
148  MT_E( "CharStrikeout", STYLE, TEXT_LINE_THROUGH_TYPE, XML_TYPE_TEXT_CROSSEDOUT_TYPE|MID_FLAG_MERGE_PROPERTY, 0),
149  MT_E( "CharStrikeout", STYLE, TEXT_LINE_THROUGH_WIDTH, XML_TYPE_TEXT_CROSSEDOUT_WIDTH|MID_FLAG_MERGE_PROPERTY, 0),
150  MT_E( "CharStrikeout", STYLE, TEXT_LINE_THROUGH_TEXT, XML_TYPE_TEXT_CROSSEDOUT_TEXT|MID_FLAG_MERGE_PROPERTY, 0),
151  // RES_CHRATR_ESCAPEMENT
153  MT_E( "CharEscapementHeight", STYLE, TEXT_POSITION, XML_TYPE_TEXT_ESCAPEMENT_HEIGHT|MID_FLAG_MERGE_ATTRIBUTE|MID_FLAG_MULTI_PROPERTY, 0 ),
154  // RES_CHRATR_FONT
155  MT_ED( "CharFontName", STYLE, FONT_NAME, XML_TYPE_STRING|MID_FLAG_SPECIAL_ITEM_IMPORT, CTF_FONTNAME ),
157  MT_ED( "CharFontStyleName",STYLE, FONT_STYLE_NAME, XML_TYPE_STRING, CTF_FONTSTYLENAME ),
158  MT_ED( "CharFontFamily", STYLE, FONT_FAMILY_GENERIC,XML_TYPE_TEXT_FONTFAMILY, CTF_FONTFAMILY ),
159  MT_ED( "CharFontPitch", STYLE, FONT_PITCH, XML_TYPE_TEXT_FONTPITCH, CTF_FONTPITCH ),
160  MT_ED( "CharFontCharSet", STYLE, FONT_CHARSET, XML_TYPE_TEXT_FONTENCODING, CTF_FONTCHARSET ),
161  // RES_CHRATR_FONTSIZE
162  MT_ED( "CharHeight", FO, FONT_SIZE, XML_TYPE_CHAR_HEIGHT|MID_FLAG_MULTI_PROPERTY, CTF_CHARHEIGHT ),
164  MT_ED( "CharDiffHeight",STYLE,FONT_SIZE_REL, XML_TYPE_CHAR_HEIGHT_DIFF, CTF_CHARHEIGHT_DIFF ),
165  // RES_CHRATR_KERNING
166  MT_E( "CharKerning", FO, LETTER_SPACING, XML_TYPE_TEXT_KERNING, 0 ),
167  // RES_CHRATR_LANGUAGE
168  MT_ED( "CharLocale", STYLE, RFC_LANGUAGE_TAG, XML_TYPE_CHAR_RFC_LANGUAGE_TAG|MID_FLAG_MERGE_PROPERTY, 0 ),
170  MT_ED( "CharLocale", FO, SCRIPT, XML_TYPE_CHAR_SCRIPT|MID_FLAG_MERGE_PROPERTY, 0 ),
172  // RES_CHRATR_POSTURE
173  MT_E( "CharPosture", FO, FONT_STYLE, XML_TYPE_TEXT_POSTURE, 0 ),
174  // RES_CHRATR_UNUSED1
175  // RES_CHRATR_SHADOWED
176  MT_E( "CharShadowed", FO, TEXT_SHADOW, XML_TYPE_TEXT_SHADOWED, 0 ),
177  // RES_CHRATR_UNDERLINE
178  MT_E( "CharUnderline", STYLE, TEXT_UNDERLINE_STYLE, XML_TYPE_TEXT_UNDERLINE_STYLE|MID_FLAG_MERGE_PROPERTY, CTF_UNDERLINE ),
179  MT_E( "CharUnderline", STYLE, TEXT_UNDERLINE_TYPE, XML_TYPE_TEXT_UNDERLINE_TYPE|MID_FLAG_MERGE_PROPERTY, 0 ),
180  MT_E( "CharUnderline", STYLE, TEXT_UNDERLINE_WIDTH, XML_TYPE_TEXT_UNDERLINE_WIDTH|MID_FLAG_MERGE_PROPERTY, 0 ),
181  MT_E( "CharUnderlineColor", STYLE, TEXT_UNDERLINE_COLOR, XML_TYPE_TEXT_UNDERLINE_COLOR|MID_FLAG_MULTI_PROPERTY, CTF_UNDERLINE_COLOR ),
182  MT_E( "CharUnderlineHasColor", STYLE, TEXT_UNDERLINE_COLOR, XML_TYPE_TEXT_UNDERLINE_HASCOLOR|MID_FLAG_MERGE_ATTRIBUTE, CTF_UNDERLINE_HASCOLOR ),
183  // RES_CHRATR_WEIGHT
184  MT_E( "CharWeight", FO, FONT_WEIGHT, XML_TYPE_TEXT_WEIGHT, 0 ),
185  // RES_CHRATR_RSID
187  // RES_PARATR_RSID
189  // RES_CHRATR_WORDLINEMODE
190  MT_E( "CharWordMode", STYLE, TEXT_UNDERLINE_MODE, XML_TYPE_TEXT_LINE_MODE|MID_FLAG_MERGE_PROPERTY, 0 ),
191  MT_E( "CharWordMode", STYLE, TEXT_OVERLINE_MODE, XML_TYPE_TEXT_LINE_MODE|MID_FLAG_MERGE_PROPERTY, 0 ),
192  MT_E( "CharWordMode", STYLE, TEXT_LINE_THROUGH_MODE, XML_TYPE_TEXT_LINE_MODE|MID_FLAG_MERGE_PROPERTY, 0 ),
193  // RES_CHRATR_AUTOKERN
194  MT_E( "CharAutoKerning", STYLE, LETTER_KERNING, XML_TYPE_BOOL, 0 ),
195  // RES_CHRATR_BLINK
196  MT_E( "CharFlash", STYLE, TEXT_BLINKING, XML_TYPE_BOOL, 0 ),
197  // RES_CHRATR_NOHYPHEN
198  // TODO: not used?
199  // RES_CHRATR_UNUSED2
200  // RES_CHRATR_BACKGROUND
201  MT_E( "CharBackColor", FO, BACKGROUND_COLOR, XML_TYPE_COLORTRANSPARENT|MID_FLAG_MULTI_PROPERTY, CTF_CHAR_BACKGROUND ),
202  MT_E( "CharBackTransparent", FO, BACKGROUND_COLOR, XML_TYPE_ISTRANSPARENT|MID_FLAG_MERGE_ATTRIBUTE, CTF_CHAR_BACKGROUND_TRANSPARENCY),
203  MT_E( "CharBackColor", FO, TEXT_BACKGROUND_COLOR, XML_TYPE_COLOR|MID_FLAG_SPECIAL_ITEM_EXPORT, CTF_OLDTEXTBACKGROUND ),
204  // RES_CHRATR_CJK_FONT
205  MT_ED( "CharFontNameAsian", STYLE, FONT_NAME_ASIAN, XML_TYPE_STRING|MID_FLAG_SPECIAL_ITEM_IMPORT, CTF_FONTNAME_CJK ),
207  MT_ED( "CharFontStyleNameAsian",STYLE, FONT_STYLE_NAME_ASIAN, XML_TYPE_STRING, CTF_FONTSTYLENAME_CJK ),
208  MT_ED( "CharFontFamilyAsian", STYLE, FONT_FAMILY_GENERIC_ASIAN,XML_TYPE_TEXT_FONTFAMILY, CTF_FONTFAMILY_CJK ),
209  MT_ED( "CharFontPitchAsian", STYLE, FONT_PITCH_ASIAN, XML_TYPE_TEXT_FONTPITCH, CTF_FONTPITCH_CJK ),
210  MT_ED( "CharFontCharSetAsian", STYLE, FONT_CHARSET_ASIAN, XML_TYPE_TEXT_FONTENCODING, CTF_FONTCHARSET_CJK ),
211  // RES_CHRATR_CJK_FONTSIZE
212  MT_ED( "CharHeightAsian", STYLE, FONT_SIZE_ASIAN, XML_TYPE_CHAR_HEIGHT|MID_FLAG_MULTI_PROPERTY, CTF_CHARHEIGHT_CJK ),
213  MT_ED( "CharPropHeightAsian",STYLE, FONT_SIZE_ASIAN, XML_TYPE_CHAR_HEIGHT_PROP|MID_FLAG_MULTI_PROPERTY, CTF_CHARHEIGHT_REL_CJK ),
214  MT_ED( "CharDiffHeightAsian",STYLE,FONT_SIZE_REL_ASIAN, XML_TYPE_CHAR_HEIGHT_DIFF, CTF_CHARHEIGHT_DIFF_CJK ),
215  // RES_CHRATR_CJK_LANGUAGE
216  MT_ED( "CharLocaleAsian", STYLE, RFC_LANGUAGE_TAG_ASIAN, XML_TYPE_CHAR_RFC_LANGUAGE_TAG|MID_FLAG_MERGE_PROPERTY, 0 ),
217  MT_ED( "CharLocaleAsian", STYLE, LANGUAGE_ASIAN, XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
218  MT_ED( "CharLocaleAsian", STYLE, SCRIPT_ASIAN, XML_TYPE_CHAR_SCRIPT|MID_FLAG_MERGE_PROPERTY, 0 ),
219  MT_ED( "CharLocaleAsian", STYLE, COUNTRY_ASIAN, XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
220  // RES_CHRATR_CJK_POSTURE
221  MT_E( "CharPostureAsian", STYLE, FONT_STYLE_ASIAN, XML_TYPE_TEXT_POSTURE, 0 ),
222  // RES_CHRATR_CJK_WEIGHT
223  MT_E( "CharWeightAsian", STYLE, FONT_WEIGHT_ASIAN, XML_TYPE_TEXT_WEIGHT, 0 ),
224  // RES_CHRATR_CTL_FONT
225  MT_ED( "CharFontNameComplex", STYLE, FONT_NAME_COMPLEX, XML_TYPE_STRING|MID_FLAG_SPECIAL_ITEM_IMPORT, CTF_FONTNAME_CTL ),
226  MT_ED( "CharFontNameComplex", STYLE, FONT_FAMILY_COMPLEX, XML_TYPE_TEXT_FONTFAMILYNAME|MID_FLAG_SPECIAL_ITEM_IMPORT, CTF_FONTFAMILYNAME_CTL ),
227  MT_ED( "CharFontStyleNameComplex",STYLE, FONT_STYLE_NAME_COMPLEX, XML_TYPE_STRING, CTF_FONTSTYLENAME_CTL ),
228  MT_ED( "CharFontFamilyComplex", STYLE, FONT_FAMILY_GENERIC_COMPLEX,XML_TYPE_TEXT_FONTFAMILY, CTF_FONTFAMILY_CTL ),
229  MT_ED( "CharFontPitchComplex", STYLE, FONT_PITCH_COMPLEX, XML_TYPE_TEXT_FONTPITCH, CTF_FONTPITCH_CTL ),
230  MT_ED( "CharFontCharSetComplex", STYLE, FONT_CHARSET_COMPLEX, XML_TYPE_TEXT_FONTENCODING, CTF_FONTCHARSET_CTL ),
231  // RES_CHRATR_CTL_FONTSIZE
232  MT_ED( "CharHeightComplex", STYLE, FONT_SIZE_COMPLEX, XML_TYPE_CHAR_HEIGHT|MID_FLAG_MULTI_PROPERTY, CTF_CHARHEIGHT_CTL ),
233  MT_ED( "CharPropHeightComplex",STYLE, FONT_SIZE_COMPLEX, XML_TYPE_CHAR_HEIGHT_PROP|MID_FLAG_MULTI_PROPERTY, CTF_CHARHEIGHT_REL_CTL ),
234  MT_ED( "CharDiffHeightComplex",STYLE,FONT_SIZE_REL_COMPLEX, XML_TYPE_CHAR_HEIGHT_DIFF, CTF_CHARHEIGHT_DIFF_CTL ),
235  // RES_CHRATR_CTL_LANGUAGE
236  MT_ED( "CharLocaleComplex", STYLE, RFC_LANGUAGE_TAG_COMPLEX, XML_TYPE_CHAR_RFC_LANGUAGE_TAG|MID_FLAG_MERGE_PROPERTY, 0 ),
237  MT_ED( "CharLocaleComplex", STYLE, LANGUAGE_COMPLEX, XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
238  MT_ED( "CharLocaleComplex", STYLE, SCRIPT_COMPLEX, XML_TYPE_CHAR_SCRIPT|MID_FLAG_MERGE_PROPERTY, 0 ),
239  MT_ED( "CharLocaleComplex", STYLE, COUNTRY_COMPLEX, XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
240  // RES_CHRATR_CTL_POSTURE
241  MT_E( "CharPostureComplex", STYLE, FONT_STYLE_COMPLEX, XML_TYPE_TEXT_POSTURE, 0 ),
242  // RES_CHRATR_CTL_WEIGHT
243  MT_E( "CharWeightComplex", STYLE, FONT_WEIGHT_COMPLEX, XML_TYPE_TEXT_WEIGHT, 0 ),
244  // RES_CHRATR_ROTATE
245  MT_E( "CharRotation", STYLE, TEXT_ROTATION_ANGLE, XML_TYPE_TEXT_ROTATION_ANGLE, 0 ),
246  MT_E( "CharRotationIsFitToLine", STYLE, TEXT_ROTATION_SCALE, XML_TYPE_TEXT_ROTATION_SCALE, 0 ),
247  // RES_CHRATR_EMPHASIS_MARK
248  MT_E( "CharEmphasis", STYLE, TEXT_EMPHASIZE, XML_TYPE_TEXT_EMPHASIZE, 0 ),
249  // RES_CHRATR_TWO_LINES
250  MT_E( "CharCombineIsOn", STYLE, TEXT_COMBINE, XML_TYPE_TEXT_COMBINE, 0 ),
251  MT_E( "CharCombinePrefix", STYLE, TEXT_COMBINE_START_CHAR, XML_TYPE_TEXT_COMBINECHAR, 0 ),
252  MT_E( "CharCombineSuffix", STYLE, TEXT_COMBINE_END_CHAR, XML_TYPE_TEXT_COMBINECHAR, 0 ),
253  // RES_CHRATR_SCALEW
254  MT_E( "CharScaleWidth", STYLE, TEXT_SCALE, XML_TYPE_PERCENT16, 0 ),
255  //RES_CHRATR_RELIEF
256  MT_E( "CharRelief", STYLE, FONT_RELIEF, XML_TYPE_TEXT_FONT_RELIEF, 0 ),
257  // RES_CHRATR_HIDDEN
259  // RES_CHRATR_OVERLINE
260  MT_E( "CharOverline", STYLE, TEXT_OVERLINE_STYLE, XML_TYPE_TEXT_OVERLINE_STYLE|MID_FLAG_MERGE_PROPERTY, 0 ),
261  MT_E( "CharOverline", STYLE, TEXT_OVERLINE_TYPE, XML_TYPE_TEXT_OVERLINE_TYPE|MID_FLAG_MERGE_PROPERTY, 0 ),
262  MT_E( "CharOverline", STYLE, TEXT_OVERLINE_WIDTH, XML_TYPE_TEXT_OVERLINE_WIDTH|MID_FLAG_MERGE_PROPERTY, 0 ),
263  MT_E( "CharOverlineColor", STYLE, TEXT_OVERLINE_COLOR, XML_TYPE_TEXT_OVERLINE_COLOR|MID_FLAG_MULTI_PROPERTY, 0 ),
264  MT_E( "CharOverlineHasColor", STYLE, TEXT_OVERLINE_COLOR, XML_TYPE_TEXT_OVERLINE_HASCOLOR|MID_FLAG_MERGE_ATTRIBUTE, 0 ),
265  // RES_CHRATR_BOX
276 
287 
298  // RES_CHRATR_SHADOW
301  // RES_CHRATR_HIGHLIGHT
303  // RES_TXTATR_INETFMT
304  // TODO
305  // RES_TXTATR_REFMARK
306  // TODO
307  // RES_TXTATR_TOXMARK
308  // TODO
309  // RES_TXTATR_CHARFMT
310 // M_E_SI( TEXT, style_name, RES_TXTATR_CHARFMT, 0 ),
311  // RES_TXTATR_CJK_RUBY
312  // TODO
313  // RES_TXTATR_FIELD
314  // TODO
315  // RES_TXTATR_FLYCNT
316  // TODO
317  // RES_TXTATR_FTN
318  // TODO
319  // RES_TXTATR_SOFTHYPH
320  // TODO
321  // RES_TXTATR_HARDBLANK
322  // TODO
323 
324  // RES_PARATR_LINESPACING
325  MP_E( "ParaLineSpacing", FO, LINE_HEIGHT, XML_TYPE_LINE_SPACE_FIXED, 0 ),
326  MP_E( "ParaLineSpacing", STYLE, LINE_HEIGHT_AT_LEAST, XML_TYPE_LINE_SPACE_MINIMUM, 0 ),
327  MP_E( "ParaLineSpacing", STYLE, LINE_SPACING, XML_TYPE_LINE_SPACE_DISTANCE, 0 ),
328  // RES_PARATR_ADJUST
329  MP_E( "ParaAdjust", FO, TEXT_ALIGN, XML_TYPE_TEXT_ADJUST, CTF_SD_SHAPE_PARA_ADJUST ),
330  MP_E( "ParaLastLineAdjust", FO, TEXT_ALIGN_LAST, XML_TYPE_TEXT_ADJUSTLAST, CTF_PARA_ADJUSTLAST ),
331  MP_E( "ParaExpandSingleWord",STYLE, JUSTIFY_SINGLE_WORD,XML_TYPE_BOOL, 0 ),
332  // RES_PARATR_SPLIT
333  MP_E( "ParaSplit", FO, KEEP_TOGETHER, XML_TYPE_TEXT_SPLIT, 0 ),
334  // RES_PARATR_ORPHANS
335  MP_E( "ParaOrphans", FO, ORPHANS, XML_TYPE_NUMBER8, 0 ),
336  // RES_PARATR_WIDOWS
337  MP_E( "ParaWidows", FO, WIDOWS, XML_TYPE_NUMBER8, 0 ),
338  // RES_PARATR_TABSTOP
339  MP_ED( "ParaTabStops", STYLE, TAB_STOPS, MID_FLAG_ELEMENT_ITEM|XML_TYPE_TEXT_TABSTOP, CTF_TABSTOP ), // this is not really a string!
340  // RES_PARATR_HYPHENZONE
341  MT_E( "ParaIsHyphenation", FO, HYPHENATE, XML_TYPE_BOOL, 0 ),
342  MT_E( "ParaHyphenationMaxLeadingChars", FO, HYPHENATION_REMAIN_CHAR_COUNT, XML_TYPE_NUMBER16_NO_ZERO, 0 ),
343  MT_E( "ParaHyphenationMaxTrailingChars",FO, HYPHENATION_PUSH_CHAR_COUNT, XML_TYPE_NUMBER16_NO_ZERO, 0 ),
344  MP_E( "ParaHyphenationMaxHyphens", FO, HYPHENATION_LADDER_COUNT, XML_TYPE_NUMBER16_NONE, 0 ),
346  // RES_PARATR_DROP
347  MP_E( "DropCapWholeWord", STYLE, LENGTH, MID_FLAG_SPECIAL_ITEM|XML_TYPE_BOOL, CTF_DROPCAPWHOLEWORD ),
348  MP_E( "DropCapCharStyleName", STYLE, STYLE_NAME, MID_FLAG_SPECIAL_ITEM|XML_TYPE_STRING, CTF_DROPCAPCHARSTYLE ),
350  // RES_PARATR_REGISTER
351  MP_E( "ParaRegisterModeActive", STYLE, REGISTER_TRUE, XML_TYPE_BOOL, 0 ),
352  // RES_PARATR_NUMRULE
353  MP_E( "NumberingStyleName", STYLE, LIST_STYLE_NAME, MID_FLAG_SPECIAL_ITEM|XML_TYPE_STYLENAME, CTF_NUMBERINGSTYLENAME ),
354 
355  // RES_FILL_ORDER
356  // not required
357  // RES_FRM_SIZE
358  // not required
359  // RES_PAPER_BIN
360  // not required
361  // RES_LR_SPACE
362 
363  MP_E( "ParaFirstLineIndent", FO, TEXT_INDENT, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, CTF_PARAFIRSTLINE ),
364  MP_E( "ParaFirstLineIndentRelative", FO, TEXT_INDENT, XML_TYPE_PERCENT, CTF_PARAFIRSTLINE_REL ),
365  MP_E( "ParaIsAutoFirstLineIndent", STYLE, AUTO_TEXT_INDENT, XML_TYPE_BOOL, 0 ),
366  // RES_PAGEDESC
367  MP_E( "PageDescName", STYLE, MASTER_PAGE_NAME, MID_FLAG_SPECIAL_ITEM|XML_TYPE_STYLENAME, CTF_PAGEDESCNAME ),
369  // RES_BREAK : TODO: does this work?
370  MP_E( "BreakType", FO, BREAK_BEFORE, XML_TYPE_TEXT_BREAKBEFORE|MID_FLAG_MULTI_PROPERTY, 0 ),
371  MP_E( "BreakType", FO, BREAK_AFTER, XML_TYPE_TEXT_BREAKAFTER, 0 ),
372  // RES_CNTNT
373  // not required
374  // RES_HEADER
375  // not required
376  // RES_FOOTER
377  // not required
378  // RES_PRINT
379  // not required
380  // RES_OPAQUE
381  // not required
382  // RES_PROTECT
383  // not required
384  // RES_SURROUND
385  // not required
386  // RES_VERT_ORIENT
387  // not required
388  // RES_HORI_ORIENT
389  // not required
390  // RES_ANCHOR
391  // not required
392  // RES_BACKGROUND
393  // DO NOT REORDER these!
394  MP_E( "ParaBackColor", FO, BACKGROUND_COLOR, XML_TYPE_COLORTRANSPARENT|MID_FLAG_MULTI_PROPERTY, 0 ),
395  MP_E( "ParaBackTransparent", FO, BACKGROUND_COLOR, XML_TYPE_ISTRANSPARENT|MID_FLAG_MERGE_ATTRIBUTE, 0 ),
397  MP_E( "ParaBackGraphicFilter",STYLE, FILTER_NAME, MID_FLAG_SPECIAL_ITEM|XML_TYPE_STRING, CTF_BACKGROUND_FILTER ),
398  MP_E( "ParaBackGraphic", STYLE, BACKGROUND_IMAGE, MID_FLAG_ELEMENT_ITEM|XML_TYPE_GRAPHIC, CTF_BACKGROUND_URL ),
399 
400  // RES_BOX
401  MP_E( "LeftBorder", STYLE, BORDER_LINE_WIDTH, XML_TYPE_BORDER_WIDTH, CTF_ALLBORDERWIDTH ),
402  MP_E( "LeftBorder", STYLE, BORDER_LINE_WIDTH_LEFT, XML_TYPE_BORDER_WIDTH, CTF_LEFTBORDERWIDTH ),
403  MP_E( "RightBorder", STYLE, BORDER_LINE_WIDTH_RIGHT, XML_TYPE_BORDER_WIDTH, CTF_RIGHTBORDERWIDTH ),
404  MP_E( "TopBorder", STYLE, BORDER_LINE_WIDTH_TOP, XML_TYPE_BORDER_WIDTH, CTF_TOPBORDERWIDTH ),
405  MP_E( "BottomBorder", STYLE, BORDER_LINE_WIDTH_BOTTOM, XML_TYPE_BORDER_WIDTH, CTF_BOTTOMBORDERWIDTH ),
406 
407  MP_E( "LeftBorderDistance", FO, PADDING, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, CTF_ALLBORDERDISTANCE ), // need special import filtering
408  MP_E( "LeftBorderDistance", FO, PADDING_LEFT, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, CTF_LEFTBORDERDISTANCE ),
409  MP_E( "RightBorderDistance", FO, PADDING_RIGHT, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, CTF_RIGHTBORDERDISTANCE ),
410  MP_E( "TopBorderDistance", FO, PADDING_TOP, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, CTF_TOPBORDERDISTANCE ),
411  MP_E( "BottomBorderDistance",FO, PADDING_BOTTOM, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, CTF_BOTTOMBORDERDISTANCE ),
412 
413  MP_E( "LeftBorder", FO, BORDER, XML_TYPE_BORDER, CTF_ALLBORDER ),
414  MP_E( "LeftBorder", FO, BORDER_LEFT, XML_TYPE_BORDER, CTF_LEFTBORDER ),
415  MP_E( "RightBorder", FO, BORDER_RIGHT, XML_TYPE_BORDER, CTF_RIGHTBORDER ),
416  MP_E( "TopBorder", FO, BORDER_TOP, XML_TYPE_BORDER, CTF_TOPBORDER ),
417  MP_E( "BottomBorder", FO, BORDER_BOTTOM, XML_TYPE_BORDER, CTF_BOTTOMBORDER ),
418  // RES_SHADOW
419  MP_E( "ParaShadowFormat", STYLE, SHADOW, XML_TYPE_TEXT_SHADOW, 0 ),
420  // RES_FRMMACRO
421  // not required
422  // RES_COL
423  // not required
424  // RES_KEEP
425  MP_E( "ParaKeepTogether", FO, KEEP_WITH_NEXT, XML_TYPE_TEXT_KEEP, 0 ),
426  // RES_URL
427  // not required
428  // RES_EDIT_IN_READONLY
429  // not required
430  // RES_LAYOUT_SPLIT
431  // not required
432  // RES_CHAIN
433  // not required
434 
435  // RES_LINENUMBER
436  MP_E( "ParaLineNumberCount", TEXT, NUMBER_LINES, XML_TYPE_BOOL, 0 ),
437  MP_E( "ParaLineNumberStartValue", TEXT, LINE_NUMBER, XML_TYPE_NUMBER, 0 ),
438 
439  // RES_FTN_AT_TXTEND
440  // not required
441  // RES_END_AT_TXTEND
442  // not required
443  MP_ED( "ParaIsCharacterDistance", STYLE, TEXT_AUTOSPACE, XML_TYPE_TEXT_AUTOSPACE, 0 ),
444  MP_ED( "ParaIsHangingPunctuation", STYLE, PUNCTUATION_WRAP, XML_TYPE_TEXT_PUNCTUATION_WRAP, 0 ),
445  MP_ED( "ParaIsForbiddenRules", STYLE, LINE_BREAK, XML_TYPE_TEXT_LINE_BREAK, 0 ),
446  MP_E( "TabStopDistance", STYLE, TAB_STOP_DISTANCE, XML_TYPE_MEASURE, 0 ),
447 
448  // RES_PARATR_VERTALIGN
449  MP_E( "ParaVertAlignment", STYLE, VERTICAL_ALIGN, XML_TYPE_TEXT_VERTICAL_ALIGN, 0 ),
450 
451  // RES_PARATR_SNAPTOGRID
452  MP_E( "SnapToGrid", STYLE, SNAP_TO_LAYOUT_GRID, XML_TYPE_BOOL, 0 ),
453 
455 
456  MP_E( "ParaIsConnectBorder", STYLE, JOIN_BORDER, XML_TYPE_BOOL, 0 ),
457 
459 
460  MP_ED( "FontIndependentLineSpacing", STYLE, FONT_INDEPENDENT_LINE_SPACING, XML_TYPE_BOOL, 0 ),
461 
462  M_END()
463 };
464 
465 
467 {
468  // RES_FOLLOW_TEXT_FLOW - DVO #i18732#
469  MG_ED( "IsFollowingTextFlow", STYLE, FLOW_WITH_TEXT, XML_TYPE_BOOL, 0 ),
470 
471  // #i28701# - RES_WRAP_INFLUENCE_ON_OBJPOS
472  MG_ED( "WrapInfluenceOnPosition", DRAW, WRAP_INFLUENCE_ON_POSITION, XML_TYPE_WRAP_INFLUENCE_ON_POSITION, 0 ),
473 
474  M_END()
475 };
476 
478 {
479  // RES_CHRATR_CASEMAP
480  MT_E( "CharCaseMap", FO, FONT_VARIANT, XML_TYPE_TEXT_CASEMAP_VAR, 0 ),
481  MT_E( "CharCaseMap", FO, TEXT_TRANSFORM, XML_TYPE_TEXT_CASEMAP, 0 ),
482  // RES_CHRATR_COLOR
483  MT_ED( "CharColor", FO, COLOR, XML_TYPE_COLORAUTO|MID_FLAG_MERGE_PROPERTY, 0 ),
484  MT_ED( "CharColor", STYLE, USE_WINDOW_FONT_COLOR, XML_TYPE_ISAUTOCOLOR|MID_FLAG_MERGE_PROPERTY, 0 ),
490  // RES_CHRATR_CONTOUR
491  MT_E( "CharContoured", STYLE, TEXT_OUTLINE, XML_TYPE_BOOL, 0 ),
492  // RES_CHRATR_CROSSEDOUT
493  MT_E( "CharStrikeout", STYLE, TEXT_LINE_THROUGH_STYLE, XML_TYPE_TEXT_CROSSEDOUT_STYLE|MID_FLAG_MERGE_PROPERTY, 0),
494  MT_E( "CharStrikeout", STYLE, TEXT_LINE_THROUGH_TYPE, XML_TYPE_TEXT_CROSSEDOUT_TYPE|MID_FLAG_MERGE_PROPERTY, 0),
495  MT_E( "CharStrikeout", STYLE, TEXT_LINE_THROUGH_WIDTH, XML_TYPE_TEXT_CROSSEDOUT_WIDTH|MID_FLAG_MERGE_PROPERTY, 0),
496  MT_E( "CharStrikeout", STYLE, TEXT_LINE_THROUGH_TEXT, XML_TYPE_TEXT_CROSSEDOUT_TEXT|MID_FLAG_MERGE_PROPERTY, 0),
497  // RES_CHRATR_ESCAPEMENT
499  MT_E( "CharEscapementHeight", STYLE, TEXT_POSITION, XML_TYPE_TEXT_ESCAPEMENT_HEIGHT|MID_FLAG_MERGE_ATTRIBUTE|MID_FLAG_MULTI_PROPERTY, 0 ),
500  // RES_CHRATR_FONT
501  MT_ED( "CharFontName", STYLE, FONT_NAME, XML_TYPE_STRING|MID_FLAG_SPECIAL_ITEM_IMPORT, CTF_FONTNAME ),
503  MT_ED( "CharFontStyleName",STYLE, FONT_STYLE_NAME, XML_TYPE_STRING, CTF_FONTSTYLENAME ),
504  MT_ED( "CharFontFamily", STYLE, FONT_FAMILY_GENERIC,XML_TYPE_TEXT_FONTFAMILY, CTF_FONTFAMILY ),
505  MT_ED( "CharFontPitch", STYLE, FONT_PITCH, XML_TYPE_TEXT_FONTPITCH, CTF_FONTPITCH ),
506  MT_ED( "CharFontCharSet", STYLE, FONT_CHARSET, XML_TYPE_TEXT_FONTENCODING, CTF_FONTCHARSET ),
507  // RES_CHRATR_FONTSIZE
508  MT_ED( "CharHeight", FO, FONT_SIZE, XML_TYPE_CHAR_HEIGHT|MID_FLAG_MULTI_PROPERTY, CTF_CHARHEIGHT ),
510  MT_ED( "CharDiffHeight",STYLE,FONT_SIZE_REL, XML_TYPE_CHAR_HEIGHT_DIFF, CTF_CHARHEIGHT_DIFF ),
511  // RES_CHRATR_KERNING
512  MT_E( "CharKerning", FO, LETTER_SPACING, XML_TYPE_TEXT_KERNING, 0 ),
513  // RES_CHRATR_LANGUAGE
514  MT_ED( "CharLocale", STYLE, RFC_LANGUAGE_TAG, XML_TYPE_CHAR_RFC_LANGUAGE_TAG|MID_FLAG_MERGE_PROPERTY, 0 ),
516  MT_ED( "CharLocale", FO, SCRIPT, XML_TYPE_CHAR_SCRIPT|MID_FLAG_MERGE_PROPERTY, 0 ),
518  // RES_CHRATR_POSTURE
519  MT_E( "CharPosture", FO, FONT_STYLE, XML_TYPE_TEXT_POSTURE, 0 ),
520  // RES_CHRATR_UNUSED1
521  // RES_CHRATR_SHADOWED
522  MT_E( "CharShadowed", FO, TEXT_SHADOW, XML_TYPE_TEXT_SHADOWED, 0 ),
523  // VALIDATED UP TO THIS LINE
524  // RES_CHRATR_UNDERLINE
525  MT_E( "CharUnderline", STYLE, TEXT_UNDERLINE_STYLE, XML_TYPE_TEXT_UNDERLINE_STYLE|MID_FLAG_MERGE_PROPERTY, CTF_UNDERLINE ),
526  MT_E( "CharUnderline", STYLE, TEXT_UNDERLINE_TYPE, XML_TYPE_TEXT_UNDERLINE_TYPE|MID_FLAG_MERGE_PROPERTY, 0 ),
527  MT_E( "CharUnderline", STYLE, TEXT_UNDERLINE_WIDTH, XML_TYPE_TEXT_UNDERLINE_WIDTH|MID_FLAG_MERGE_PROPERTY, 0 ),
528  MT_E( "CharUnderlineColor", STYLE, TEXT_UNDERLINE_COLOR, XML_TYPE_TEXT_UNDERLINE_COLOR|MID_FLAG_MULTI_PROPERTY, CTF_UNDERLINE_COLOR ),
529  MT_E( "CharUnderlineHasColor", STYLE, TEXT_UNDERLINE_COLOR, XML_TYPE_TEXT_UNDERLINE_HASCOLOR|MID_FLAG_MERGE_ATTRIBUTE, CTF_UNDERLINE_HASCOLOR ),
530  // RES_CHRATR_WEIGHT
531  MT_E( "CharWeight", FO, FONT_WEIGHT, XML_TYPE_TEXT_WEIGHT, 0 ),
532  // RES_CHRATR_RSID
534  // RES_PARATR_RSID
536  // RES_CHRATR_WORDLINEMODE
537  MT_E( "CharWordMode", STYLE, TEXT_UNDERLINE_MODE, XML_TYPE_TEXT_LINE_MODE|MID_FLAG_MERGE_PROPERTY, 0 ),
538  MT_E( "CharWordMode", STYLE, TEXT_OVERLINE_MODE, XML_TYPE_TEXT_LINE_MODE|MID_FLAG_MERGE_PROPERTY, 0 ),
539  MT_E( "CharWordMode", STYLE, TEXT_LINE_THROUGH_MODE, XML_TYPE_TEXT_LINE_MODE|MID_FLAG_MERGE_PROPERTY, 0 ),
540  // RES_CHRATR_AUTOKERN
541  MT_E( "CharAutoKerning", STYLE, LETTER_KERNING, XML_TYPE_BOOL, 0 ),
542  // RES_CHRATR_BLINK
543  MT_E( "CharFlash", STYLE, TEXT_BLINKING, XML_TYPE_BOOL, 0 ),
544  // RES_CHRATR_NOHYPHEN
545  // TODO: not used?
546  // RES_CHRATR_UNUSED2
547  // RES_CHRATR_BACKGROUND
548  MT_E( "CharBackColor", FO, BACKGROUND_COLOR, XML_TYPE_COLORTRANSPARENT|MID_FLAG_MULTI_PROPERTY, CTF_CHAR_BACKGROUND ),
549  MT_E( "CharBackTransparent", FO, BACKGROUND_COLOR, XML_TYPE_ISTRANSPARENT|MID_FLAG_MERGE_ATTRIBUTE, CTF_CHAR_BACKGROUND_TRANSPARENCY),
551  MT_E( "CharBackColor", FO, TEXT_BACKGROUND_COLOR, XML_TYPE_COLOR|MID_FLAG_SPECIAL_ITEM_EXPORT, CTF_OLDTEXTBACKGROUND ),
552  // RES_CHRATR_CJK_FONT
553  MT_ED( "CharFontNameAsian", STYLE, FONT_NAME_ASIAN, XML_TYPE_STRING|MID_FLAG_SPECIAL_ITEM_IMPORT, CTF_FONTNAME_CJK ),
555  MT_ED( "CharFontStyleNameAsian",STYLE, FONT_STYLE_NAME_ASIAN, XML_TYPE_STRING, CTF_FONTSTYLENAME_CJK ),
556  MT_ED( "CharFontFamilyAsian", STYLE, FONT_FAMILY_GENERIC_ASIAN,XML_TYPE_TEXT_FONTFAMILY, CTF_FONTFAMILY_CJK ),
557  MT_ED( "CharFontPitchAsian", STYLE, FONT_PITCH_ASIAN, XML_TYPE_TEXT_FONTPITCH, CTF_FONTPITCH_CJK ),
558  MT_ED( "CharFontCharSetAsian", STYLE, FONT_CHARSET_ASIAN, XML_TYPE_TEXT_FONTENCODING, CTF_FONTCHARSET_CJK ),
559  // RES_CHRATR_CJK_FONTSIZE
560  MT_ED( "CharHeightAsian", STYLE, FONT_SIZE_ASIAN, XML_TYPE_CHAR_HEIGHT|MID_FLAG_MULTI_PROPERTY, CTF_CHARHEIGHT_CJK ),
561  MT_ED( "CharPropHeightAsian",STYLE, FONT_SIZE_ASIAN, XML_TYPE_CHAR_HEIGHT_PROP|MID_FLAG_MULTI_PROPERTY, CTF_CHARHEIGHT_REL_CJK ),
562  MT_ED( "CharDiffHeightAsian",STYLE,FONT_SIZE_REL_ASIAN, XML_TYPE_CHAR_HEIGHT_DIFF, CTF_CHARHEIGHT_DIFF_CJK ),
563  // RES_CHRATR_CJK_LANGUAGE
564  MT_ED( "CharLocaleAsian", STYLE, RFC_LANGUAGE_TAG_ASIAN, XML_TYPE_CHAR_RFC_LANGUAGE_TAG|MID_FLAG_MERGE_PROPERTY, 0 ),
565  MT_ED( "CharLocaleAsian", STYLE, LANGUAGE_ASIAN, XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
566  MT_ED( "CharLocaleAsian", STYLE, SCRIPT_ASIAN, XML_TYPE_CHAR_SCRIPT|MID_FLAG_MERGE_PROPERTY, 0 ),
567  MT_ED( "CharLocaleAsian", STYLE, COUNTRY_ASIAN, XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
568  // RES_CHRATR_CJK_POSTURE
569  MT_E( "CharPostureAsian", STYLE, FONT_STYLE_ASIAN, XML_TYPE_TEXT_POSTURE, 0 ),
570  // RES_CHRATR_CJK_WEIGHT
571  MT_E( "CharWeightAsian", STYLE, FONT_WEIGHT_ASIAN, XML_TYPE_TEXT_WEIGHT, 0 ),
572  // RES_CHRATR_CTL_FONT
573  MT_ED( "CharFontNameComplex", STYLE, FONT_NAME_COMPLEX, XML_TYPE_STRING|MID_FLAG_SPECIAL_ITEM_IMPORT, CTF_FONTNAME_CTL ),
574  MT_ED( "CharFontNameComplex", STYLE, FONT_FAMILY_COMPLEX, XML_TYPE_TEXT_FONTFAMILYNAME|MID_FLAG_SPECIAL_ITEM_IMPORT, CTF_FONTFAMILYNAME_CTL ),
575  MT_ED( "CharFontStyleNameComplex",STYLE, FONT_STYLE_NAME_COMPLEX, XML_TYPE_STRING, CTF_FONTSTYLENAME_CTL ),
576  MT_ED( "CharFontFamilyComplex", STYLE, FONT_FAMILY_GENERIC_COMPLEX,XML_TYPE_TEXT_FONTFAMILY, CTF_FONTFAMILY_CTL ),
577  MT_ED( "CharFontPitchComplex", STYLE, FONT_PITCH_COMPLEX, XML_TYPE_TEXT_FONTPITCH, CTF_FONTPITCH_CTL ),
578  MT_ED( "CharFontCharSetComplex", STYLE, FONT_CHARSET_COMPLEX, XML_TYPE_TEXT_FONTENCODING, CTF_FONTCHARSET_CTL ),
579  // RES_CHRATR_CTL_FONTSIZE
580  MT_ED( "CharHeightComplex", STYLE, FONT_SIZE_COMPLEX, XML_TYPE_CHAR_HEIGHT|MID_FLAG_MULTI_PROPERTY, CTF_CHARHEIGHT_CTL ),
581  MT_ED( "CharPropHeightComplex",STYLE, FONT_SIZE_COMPLEX, XML_TYPE_CHAR_HEIGHT_PROP|MID_FLAG_MULTI_PROPERTY, CTF_CHARHEIGHT_REL_CTL ),
582  MT_ED( "CharDiffHeightComplex",STYLE,FONT_SIZE_REL_COMPLEX, XML_TYPE_CHAR_HEIGHT_DIFF, CTF_CHARHEIGHT_DIFF_CTL ),
583  // RES_CHRATR_CTL_LANGUAGE
584  MT_ED( "CharLocaleComplex", STYLE, RFC_LANGUAGE_TAG_COMPLEX, XML_TYPE_CHAR_RFC_LANGUAGE_TAG|MID_FLAG_MERGE_PROPERTY, 0 ),
585  MT_ED( "CharLocaleComplex", STYLE, LANGUAGE_COMPLEX, XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
586  MT_ED( "CharLocaleComplex", STYLE, SCRIPT_COMPLEX, XML_TYPE_CHAR_SCRIPT|MID_FLAG_MERGE_PROPERTY, 0 ),
587  MT_ED( "CharLocaleComplex", STYLE, COUNTRY_COMPLEX, XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
588  // RES_CHRATR_CTL_POSTURE
589  MT_E( "CharPostureComplex", STYLE, FONT_STYLE_COMPLEX, XML_TYPE_TEXT_POSTURE, 0 ),
590  // RES_CHRATR_CTL_WEIGHT
591  MT_E( "CharWeightComplex", STYLE, FONT_WEIGHT_COMPLEX, XML_TYPE_TEXT_WEIGHT, 0 ),
592  // RES_CHRATR_ROTATE
593  MT_E( "CharRotation", STYLE, TEXT_ROTATION_ANGLE, XML_TYPE_TEXT_ROTATION_ANGLE, 0 ),
594  MT_E( "CharRotationIsFitToLine", STYLE, TEXT_ROTATION_SCALE, XML_TYPE_TEXT_ROTATION_SCALE, 0 ),
595  // RES_CHRATR_EMPHASIS_MARK
596  MT_E( "CharEmphasis", STYLE, TEXT_EMPHASIZE, XML_TYPE_TEXT_EMPHASIZE, 0 ),
597  // RES_CHRATR_TWO_LINES
598  MT_E( "CharCombineIsOn", STYLE, TEXT_COMBINE, XML_TYPE_TEXT_COMBINE|MID_FLAG_MULTI_PROPERTY, 0 ),
599  MT_E( "CharCombinePrefix", STYLE, TEXT_COMBINE_START_CHAR, XML_TYPE_TEXT_COMBINECHAR, 0 ),
600  MT_E( "CharCombineSuffix", STYLE, TEXT_COMBINE_END_CHAR, XML_TYPE_TEXT_COMBINECHAR, 0 ),
601  // RES_CHRATR_SCALEW
602  MT_E( "CharScaleWidth", STYLE, TEXT_SCALE, XML_TYPE_PERCENT16, 0 ),
603  // combined characters field, does not correspond to a property
605  //RES_CHRATR_RELIEF
606  MT_E( "CharRelief", STYLE, FONT_RELIEF, XML_TYPE_TEXT_FONT_RELIEF, 0 ),
607  // RES_CHRATR_HIDDEN
609  // RES_CHRATR_OVERLINE
610  MT_E( "CharOverline", STYLE, TEXT_OVERLINE_STYLE, XML_TYPE_TEXT_OVERLINE_STYLE|MID_FLAG_MERGE_PROPERTY, 0 ),
611  MT_E( "CharOverline", STYLE, TEXT_OVERLINE_TYPE, XML_TYPE_TEXT_OVERLINE_TYPE|MID_FLAG_MERGE_PROPERTY, 0 ),
612  MT_E( "CharOverline", STYLE, TEXT_OVERLINE_WIDTH, XML_TYPE_TEXT_OVERLINE_WIDTH|MID_FLAG_MERGE_PROPERTY, 0 ),
613  MT_E( "CharOverlineColor", STYLE, TEXT_OVERLINE_COLOR, XML_TYPE_TEXT_OVERLINE_COLOR|MID_FLAG_MULTI_PROPERTY, 0 ),
614  MT_E( "CharOverlineHasColor", STYLE, TEXT_OVERLINE_COLOR, XML_TYPE_TEXT_OVERLINE_HASCOLOR|MID_FLAG_MERGE_ATTRIBUTE, 0 ),
615  // RES_CHRATR_BOX
626 
637 
648  // RES_CHRATR_SHADOW
651  // RES_CHRATR_HIGHLIGHT
653  // RES_TXTATR_INETFMT
655  // RES_TXTATR_REFMARK
656  // TODO
657  // RES_TXTATR_TOXMARK
658  // TODO
659  // RES_TXTATR_CHARFMT
660  MT_E( "CharStyleName", TEXT, STYLE_NAME, XML_TYPE_STRING|MID_FLAG_NO_PROPERTY_IMPORT, CTF_CHAR_STYLE_NAME ),
661  // RES_TXTATR_CJK_RUBY
662  // TODO
663  // RES_TXTATR_FIELD
664  // TODO
665  // RES_TXTATR_FLYCNT
666  // TODO
667  // RES_TXTATR_FTN
668  // TODO
669  // RES_TXTATR_SOFTHYPH
670  // TODO
671  // RES_TXTATR_HARDBLANK
672  // TODO
673  // RES_UNKNOWNATR_CONTAINER
674  MT_E( "TextUserDefinedAttributes", TEXT, XMLNS, XML_TYPE_ATTRIBUTE_CONTAINER | MID_FLAG_SPECIAL_ITEM, 0 ),
675  MT_ED( "ParaIsCharacterDistance", STYLE, TEXT_AUTOSPACE, XML_TYPE_TEXT_AUTOSPACE, 0 ),
676  MT_ED( "ParaIsHangingPunctuation", STYLE, PUNCTUATION_WRAP, XML_TYPE_TEXT_PUNCTUATION_WRAP, 0 ),
677  MT_ED( "ParaIsForbiddenRules", STYLE, LINE_BREAK, XML_TYPE_TEXT_LINE_BREAK, 0 ),
678  MT_E( "TabStopDistance", STYLE, TAB_STOP_DISTANCE, XML_TYPE_MEASURE, 0 ),
679 
680  M_END()
681 };
682 
684 {
685  // RES_FILL_ORDER
686  // TODO: not required???
687  // RES_FRM_SIZE
691  MG_ED( "RelativeWidth", STYLE, REL_WIDTH, XML_TYPE_TEXT_REL_WIDTH_HEIGHT, CTF_FRAMEWIDTH_REL ),
693 // M_ED( "RelativeWidth", STYLE, REL_WIDTH, XML_TYPE_TEXT_REL_WIDTH_HEIGHT|MID_FLAG_MULTI_PROPERTY, 0 ),
694 // M_ED( "IsSyncWidthToHeight",STYLE, REL_WIDTH, XML_TYPE_TEXT_SYNC_WIDTH_HEIGHT|MID_FLAG_MULTI_PROPERTY, 0 ),
695 
699  MG_ED( "RelativeHeight", STYLE, REL_HEIGHT, XML_TYPE_TEXT_REL_WIDTH_HEIGHT, CTF_FRAMEHEIGHT_REL ),
700 // M_ED( "RelativeHeight", STYLE, REL_HEIGHT, XML_TYPE_TEXT_REL_WIDTH_HEIGHT|MID_FLAG_MULTI_PROPERTY, CTF_FRAMEHEIGHT_REL ),
701 // M_ED( "IsSyncHeightToWidth",STYLE, REL_HEIGHT, XML_TYPE_TEXT_SYNC_WIDTH_HEIGHT|MID_FLAG_MULTI_PROPERTY, CTF_SYNCHEIGHT ),
702 // M_ED( "IsSyncHeightToWidth",STYLE, REL_HEIGHT, XML_TYPE_TEXT_SYNC_WIDTH_HEIGHT_MIN, CTF_SYNCHEIGHT_MIN ),
704  // RES_PAPER_BIN
705  // not required
706  // RES_ANCHOR
707  // moved to here because it is not used for automatic styles
708  MG_ED( "AnchorType", TEXT, ANCHOR_TYPE, XML_TYPE_TEXT_ANCHOR_TYPE, CTF_ANCHORTYPE ),
709  // AnchorPage number is not required for styles!
710  MG_ED( "HoriOrientPosition", SVG, X, XML_TYPE_MEASURE, 0 ),
711  MG_ED( "VertOrientPosition", SVG, Y, XML_TYPE_MEASURE, 0 ),
712  // ***** The map for automatic styles starts here *****
713  // RES_LR_SPACE
714  MG_E( "LeftMargin", FO, MARGIN, XML_TYPE_MEASURE, CTF_MARGINALL ),
715  MG_E( "LeftMargin", FO, MARGIN_LEFT, XML_TYPE_MEASURE, CTF_MARGINLEFT ),
716  MG_E( "RightMargin", FO, MARGIN_RIGHT, XML_TYPE_MEASURE, CTF_MARGINRIGHT ),
717  // RES_UL_SPACE
718  MG_E( "TopMargin", FO, MARGIN_TOP, XML_TYPE_MEASURE, CTF_MARGINTOP ),
719  MG_E( "BottomMargin", FO, MARGIN_BOTTOM, XML_TYPE_MEASURE, CTF_MARGINBOTTOM ),
720  // RES_PAGEDESC
721  // not required
722  // RES_BREAK
723  // not required
724  // RES_CNTNT
725  // not required (accessed using API)
726  // RES_HEADER
727  // not required
728  // RES_FOOTER
729  // not required
730  // RES_PRINT
731  MG_E( "Print", STYLE, PRINT_CONTENT, XML_TYPE_BOOL, 0 ),
732  // RES_OPAQUE
733  MG_ED( "Opaque", STYLE, RUN_THROUGH, XML_TYPE_TEXT_OPAQUE, 0 ),
734  // RES_PROTECT
738  // RES_SURROUND
739  MG_ED( "TextWrap", STYLE, WRAP, XML_TYPE_TEXT_WRAP, CTF_WRAP ),
740  MG_ED( "SurroundAnchorOnly", STYLE, NUMBER_WRAPPED_PARAGRAPHS, XML_TYPE_TEXT_PARAGRAPH_ONLY, CTF_WRAP_PARAGRAPH_ONLY ),
741  MG_E( "SurroundContour", STYLE, WRAP_CONTOUR, XML_TYPE_BOOL, CTF_WRAP_CONTOUR ),
742  MG_E( "ContourOutside", STYLE, WRAP_CONTOUR_MODE, XML_TYPE_TEXT_WRAP_OUTSIDE, CTF_WRAP_CONTOUR_MODE ),
743  // RES_VERT_ORIENT
744  MG_ED( "VertOrient", STYLE, VERTICAL_POS, XML_TYPE_TEXT_VERTICAL_POS, CTF_VERTICALPOS ),
745  MG_ED( "VertOrient", STYLE, VERTICAL_POS, XML_TYPE_TEXT_VERTICAL_POS_AT_CHAR, CTF_VERTICALPOS_ATCHAR ),
747  MG_ED( "VertOrientRelation", STYLE, VERTICAL_REL, XML_TYPE_TEXT_VERTICAL_REL, CTF_VERTICALREL ),
753  // RES_HORI_ORIENT
755  MG_ED( "PageToggle", STYLE, HORIZONTAL_POS, XML_TYPE_TEXT_HORIZONTAL_MIRROR, CTF_HORIZONTALMIRROR ),
757  MG_ED( "HoriOrientRelation", STYLE, HORIZONTAL_REL, XML_TYPE_TEXT_HORIZONTAL_REL, CTF_HORIZONTALREL ),
759  // RES_ANCHOR
760  // see above
761  // RES_BACKGROUND
762  // DO NOT REORDER these!
763  MG_ED( "BackColorRGB", FO, BACKGROUND_COLOR, XML_TYPE_COLORTRANSPARENT|MID_FLAG_MULTI_PROPERTY, 0 ),
765  MG_ED( "BackColorTransparency", STYLE, BACKGROUND_TRANSPARENCY, XML_TYPE_PERCENT8, CTF_BACKGROUND_TRANSPARENCY ),
766 
767  MG_E( "BackGraphicTransparency", STYLE, BACKGROUND_IMAGE_TRANSPARENCY, MID_FLAG_SPECIAL_ITEM|XML_TYPE_PERCENT8, CTF_BACKGROUND_TRANSPARENCY ),
769  MG_E( "BackGraphicFilter",STYLE, FILTER_NAME, MID_FLAG_SPECIAL_ITEM|XML_TYPE_STRING, CTF_BACKGROUND_FILTER ),
770  MG_E( "BackGraphic", STYLE, BACKGROUND_IMAGE, MID_FLAG_ELEMENT_ITEM|XML_TYPE_GRAPHIC, CTF_BACKGROUND_URL ),
771 
772  // fill attributes
777  GMAP( "FillGradientStepCount", XML_NAMESPACE_DRAW, XML_GRADIENT_STEP_COUNT, XML_TYPE_NUMBER16, 0 ),
779  GMAP( "FillBackground", XML_NAMESPACE_DRAW, XML_FILL_HATCH_SOLID, XML_TYPE_BOOL, 0 ),
781  GMAP( "FillTransparence", XML_NAMESPACE_DRAW, XML_OPACITY, XML_TYPE_NEG_PERCENT16|MID_FLAG_MULTI_PROPERTY, 0 ), // exists in SW, too
788  GMAP( "FillBitmapPositionOffsetX", XML_NAMESPACE_DRAW, XML_FILL_IMAGE_REF_POINT_X, XML_TYPE_PERCENT, 0 ),
789  GMAP( "FillBitmapPositionOffsetY", XML_NAMESPACE_DRAW, XML_FILL_IMAGE_REF_POINT_Y, XML_TYPE_PERCENT, 0 ),
793 
794  // RES_BOX
795  MG_ED( "LeftBorder", STYLE, BORDER_LINE_WIDTH, XML_TYPE_BORDER_WIDTH, CTF_ALLBORDERWIDTH ),
796  MG_ED( "LeftBorder", STYLE, BORDER_LINE_WIDTH_LEFT, XML_TYPE_BORDER_WIDTH, CTF_LEFTBORDERWIDTH ),
797  MG_ED( "RightBorder", STYLE, BORDER_LINE_WIDTH_RIGHT, XML_TYPE_BORDER_WIDTH, CTF_RIGHTBORDERWIDTH ),
798  MG_ED( "TopBorder", STYLE, BORDER_LINE_WIDTH_TOP, XML_TYPE_BORDER_WIDTH, CTF_TOPBORDERWIDTH ),
799  MG_ED( "BottomBorder", STYLE, BORDER_LINE_WIDTH_BOTTOM, XML_TYPE_BORDER_WIDTH, CTF_BOTTOMBORDERWIDTH ),
800 
801  MG_ED( "LeftBorderDistance", FO, PADDING, XML_TYPE_MEASURE, CTF_ALLBORDERDISTANCE ), // need special import filtering
802  MG_ED( "LeftBorderDistance", FO, PADDING_LEFT, XML_TYPE_MEASURE, CTF_LEFTBORDERDISTANCE ),
803  MG_ED( "RightBorderDistance", FO, PADDING_RIGHT, XML_TYPE_MEASURE, CTF_RIGHTBORDERDISTANCE ),
804  MG_ED( "TopBorderDistance", FO, PADDING_TOP, XML_TYPE_MEASURE, CTF_TOPBORDERDISTANCE ),
805  MG_ED( "BottomBorderDistance",FO, PADDING_BOTTOM, XML_TYPE_MEASURE, CTF_BOTTOMBORDERDISTANCE ),
806 
807  // There is an additional property for controls!
809  MG_ED( "LeftBorder", FO, BORDER_LEFT, XML_TYPE_BORDER, CTF_LEFTBORDER ),
810  MG_ED( "RightBorder", FO, BORDER_RIGHT, XML_TYPE_BORDER, CTF_RIGHTBORDER ),
811  MG_ED( "TopBorder", FO, BORDER_TOP, XML_TYPE_BORDER, CTF_TOPBORDER ),
812  MG_ED( "BottomBorder", FO, BORDER_BOTTOM, XML_TYPE_BORDER, CTF_BOTTOMBORDER ),
813  // RES_SHADOW
814  MG_E( "ShadowFormat", STYLE, SHADOW, XML_TYPE_TEXT_SHADOW, 0 ),
815  MG_E( "ShadowTransparence", DRAW, SHADOW_OPACITY, XML_TYPE_NEG_PERCENT, 0 ),
816  // RES_FRMMACRO
817  // TODO
818  // RES_COL
820  // RES_KEEP
821  // not required
822  // RES_URL
823  // not required (exported as draw:a element)
824  // RES_EDIT_IN_READONLY
825  MG_ED( "EditInReadonly", STYLE, EDITABLE, XML_TYPE_BOOL, 0 ),
826  // RES_LAYOUT_SPLIT
827  // not required
828  // RES_CHAIN
829  // not required (exported at text:text-box element)
830  // RES_LINENUMBER
831  // not required
832  // RES_FTN_AT_TXTEND
833  // not required
834  // RES_END_AT_TXTEND
835  // not required
836  // RES_COLUMNBALANCE
837  // TODO
838  // RES_UNKNOWNATR_CONTAINER
839 // M_E_SE( TEXT, xmlns, RES_UNKNOWNATR_CONTAINER, 0 ),
840  // RES_GRFATR_MIRRORGRF (vertical MUST be processed after horizontal!)
844  // RES_GRFATR_CROPGRF
846  MG_E( "GraphicCrop", FO, CLIP, XML_TYPE_TEXT_CLIP11, CTF_TEXT_CLIP11 ),
847  // RES_GRFATR_ROTATION
848  // not required (exported as svg:transform attribute)
849  // RES_GRFATR_LUMINANCE
850  MG_E( "AdjustLuminance", DRAW, LUMINANCE, XML_TYPE_PERCENT16, 0 ), // signed?
851  // RES_GRFATR_CONTRAST
852  MG_E( "AdjustContrast", DRAW, CONTRAST, XML_TYPE_PERCENT16, 0 ), // signed?
853  // RES_GRFATR_CHANNELR
854  MG_E( "AdjustRed", DRAW, RED, XML_TYPE_PERCENT16, 0 ), // signed?
855  // RES_GRFATR_CHANNELG
856  MG_E( "AdjustGreen", DRAW, GREEN, XML_TYPE_PERCENT16, 0 ), // signed?
857  // RES_GRFATR_CHANNELB
858  MG_E( "AdjustBlue", DRAW, BLUE, XML_TYPE_PERCENT16, 0 ), // signed?
859  // RES_GRFATR_GAMMA
860  MG_E( "Gamma", DRAW, GAMMA, XML_TYPE_DOUBLE_PERCENT, 0 ), // signed?
861  // RES_GRFATR_INVERT
862  MG_E( "GraphicIsInverted", DRAW, COLOR_INVERSION, XML_TYPE_BOOL, 0 ),
863  // RES_GRFATR_TRANSPARENCY
864  MG_E( "Transparency", DRAW, IMAGE_OPACITY, XML_TYPE_NEG_PERCENT16|MID_FLAG_MULTI_PROPERTY, 0 ), // #i25616#
865  // RES_GRFATR_DRAWMODE
866  MG_E( "GraphicColorMode", DRAW, COLOR_MODE, XML_TYPE_COLOR_MODE, 0 ),
867  MG_E( "WritingMode", STYLE, WRITING_MODE, XML_TYPE_TEXT_WRITING_MODE_WITH_DEFAULT, 0 ),
869  // RES_FOLLOW_TEXT_FLOW - DVO #i18732#
870  MG_E( "IsFollowingTextFlow", DRAW, FLOW_WITH_TEXT, XML_TYPE_BOOL|MID_FLAG_SPECIAL_ITEM_EXPORT, CTF_OLD_FLOW_WITH_TEXT ),
871  MG_E( "IsFollowingTextFlow", STYLE, FLOW_WITH_TEXT, XML_TYPE_BOOL, 0 ),
872  // #i28701# - RES_WRAP_INFLUENCE_ON_OBJPOS
873  MG_E( "WrapInfluenceOnPosition", DRAW, WRAP_INFLUENCE_ON_POSITION, XML_TYPE_WRAP_INFLUENCE_ON_POSITION, 0 ),
875 
876  // special entries for floating frames
886  MG_E( "UserDefinedAttributes", TEXT, XMLNS, XML_TYPE_ATTRIBUTE_CONTAINER | MID_FLAG_SPECIAL_ITEM, 0 ),
889  MG_E("TextVerticalAdjust", DRAW, TEXTAREA_VERTICAL_ALIGN, XML_TYPE_VERTICAL_ALIGN, 0),
890 
891  M_END()
892 };
893 
895 {
896  // RES_LR_SPACE
897  MG_E( "LeftMargin", FO, MARGIN_LEFT, XML_TYPE_MEASURE, 0),
898  MG_E( "RightMargin", FO, MARGIN_RIGHT, XML_TYPE_MEASURE, 0 ),
899  // RES_UL_SPACE
900  MG_E( "TopMargin", FO, MARGIN_TOP, XML_TYPE_MEASURE, 0 ),
901  MG_E( "BottomMargin", FO, MARGIN_BOTTOM, XML_TYPE_MEASURE, 0 ),
902  // RES_OPAQUE
903  MG_ED( "Opaque", STYLE, RUN_THROUGH, XML_TYPE_TEXT_OPAQUE, 0 ),
904  // RES_SURROUND
905  MG_E( "TextWrap", STYLE, WRAP, XML_TYPE_TEXT_WRAP, CTF_WRAP ),
906  MG_E( "SurroundAnchorOnly", STYLE, NUMBER_WRAPPED_PARAGRAPHS, XML_TYPE_TEXT_PARAGRAPH_ONLY, CTF_WRAP_PARAGRAPH_ONLY ),
907  MG_E( "SurroundContour", STYLE, WRAP_CONTOUR, XML_TYPE_BOOL, CTF_WRAP_CONTOUR ),
908  MG_E( "ContourOutside", STYLE, WRAP_CONTOUR_MODE, XML_TYPE_TEXT_WRAP_OUTSIDE, CTF_WRAP_CONTOUR_MODE ),
909  // Use own CTF ids for positioning attributes (#i28749#)
910  // RES_VERT_ORIENT
911  MG_E( "VertOrient", STYLE, VERTICAL_POS, XML_TYPE_TEXT_VERTICAL_POS, CTF_SHAPE_VERTICALPOS ),
912  // Add property for at-character anchored shapes (#i26791#)
915  MG_E( "VertOrientRelation", STYLE, VERTICAL_REL, XML_TYPE_TEXT_VERTICAL_REL, CTF_SHAPE_VERTICALREL ),
921  // RES_HORI_ORIENT
923  MG_E( "PageToggle", STYLE, HORIZONTAL_POS, XML_TYPE_TEXT_HORIZONTAL_MIRROR, CTF_SHAPE_HORIZONTALMIRROR ),
925  MG_E( "HoriOrientRelation", STYLE, HORIZONTAL_REL, XML_TYPE_TEXT_HORIZONTAL_REL, CTF_SHAPE_HORIZONTALREL ),
927  // RES_WRAP_INFLUENCE_ON_OBJPOS (#i28701#)
928  MG_ED( "WrapInfluenceOnPosition", DRAW, WRAP_INFLUENCE_ON_POSITION, XML_TYPE_WRAP_INFLUENCE_ON_POSITION, 0 ),
930  // UserDefinedAttributes is already contained in the map this one is
931  // chained to.
932 
933  // RES_FOLLOW_TEXT_FLOW (#i26791#)
934  MG_ED( "IsFollowingTextFlow", STYLE, FLOW_WITH_TEXT, XML_TYPE_BOOL, 0 ),
935 
936  // RES_FRM_SIZE
939 
940  M_END()
941 };
942 
944 {
945  // RES_COL
947 
948  // RES_BACKGROUND
949  // DO NOT REORDER these!
950  MS_E( "BackColor", FO, BACKGROUND_COLOR, XML_TYPE_COLORTRANSPARENT|MID_FLAG_MULTI_PROPERTY, 0 ),
951  MS_E( "BackTransparent", FO, BACKGROUND_COLOR, XML_TYPE_ISTRANSPARENT|MID_FLAG_MERGE_ATTRIBUTE, 0 ),
953  MS_E( "BackGraphicFilter",STYLE, FILTER_NAME, MID_FLAG_SPECIAL_ITEM|XML_TYPE_STRING, CTF_BACKGROUND_FILTER ),
954  MS_E( "BackGraphic", STYLE, BACKGROUND_IMAGE, MID_FLAG_ELEMENT_ITEM|XML_TYPE_GRAPHIC, CTF_BACKGROUND_URL ),
955 
956  // move protect-flag into section element
957 // M_E( "IsProtected", STYLE, PROTECT, XML_TYPE_BOOL, 0 ),
958 
959  MS_E( "DontBalanceTextColumns", TEXT, DONT_BALANCE_TEXT_COLUMNS, XML_TYPE_BOOL, 0 ),
960 
961  MS_E( "WritingMode", STYLE, WRITING_MODE, XML_TYPE_TEXT_WRITING_MODE_WITH_DEFAULT, 0 ),
962 
963  MS_E( "SectionLeftMargin", FO, MARGIN_LEFT, XML_TYPE_MEASURE, 0),
964  MS_E( "SectionRightMargin", FO, MARGIN_RIGHT, XML_TYPE_MEASURE, 0),
965 
966  // section footnote settings
967  MS_E( "FootnoteIsOwnNumbering", TEXT, _EMPTY, MID_FLAG_SPECIAL_ITEM|XML_TYPE_BOOL, CTF_SECTION_FOOTNOTE_NUM_OWN ),
968  MS_E( "FootnoteIsRestartNumbering", TEXT, _EMPTY, MID_FLAG_SPECIAL_ITEM|XML_TYPE_BOOL, CTF_SECTION_FOOTNOTE_NUM_RESTART ),
969  MS_E( "FootnoteRestartNumberingAt", TEXT, _EMPTY, MID_FLAG_SPECIAL_ITEM|XML_TYPE_NUMBER16,CTF_SECTION_FOOTNOTE_NUM_RESTART_AT ),
971  MS_E( "FootnoteNumberingPrefix", TEXT, _EMPTY, MID_FLAG_SPECIAL_ITEM|XML_TYPE_STRING, CTF_SECTION_FOOTNOTE_NUM_PREFIX ),
972  MS_E( "FootnoteNumberingSuffix", TEXT, _EMPTY, MID_FLAG_SPECIAL_ITEM|XML_TYPE_STRING, CTF_SECTION_FOOTNOTE_NUM_SUFFIX ),
973  MS_E( "FootnoteIsCollectAtTextEnd", TEXT, NOTES_CONFIGURATION, MID_FLAG_ELEMENT_ITEM|XML_TYPE_BOOL, CTF_SECTION_FOOTNOTE_END ),
974 
975  // section footnote settings
976  MS_E( "EndnoteIsOwnNumbering", TEXT, _EMPTY, MID_FLAG_SPECIAL_ITEM|XML_TYPE_BOOL, CTF_SECTION_ENDNOTE_NUM_OWN ),
977  MS_E( "EndnoteIsRestartNumbering", TEXT, _EMPTY, MID_FLAG_SPECIAL_ITEM|XML_TYPE_BOOL, CTF_SECTION_ENDNOTE_NUM_RESTART ),
980  MS_E( "EndnoteNumberingPrefix", TEXT, _EMPTY, MID_FLAG_SPECIAL_ITEM|XML_TYPE_STRING, CTF_SECTION_ENDNOTE_NUM_PREFIX ),
981  MS_E( "EndnoteNumberingSuffix", TEXT, _EMPTY, MID_FLAG_SPECIAL_ITEM|XML_TYPE_STRING, CTF_SECTION_ENDNOTE_NUM_SUFFIX ),
982  MS_E( "EndnoteIsCollectAtTextEnd", TEXT, NOTES_CONFIGURATION, MID_FLAG_ELEMENT_ITEM|XML_TYPE_BOOL, CTF_SECTION_ENDNOTE_END ),
983  MS_E( "UserDefinedAttributes", TEXT, XMLNS, XML_TYPE_ATTRIBUTE_CONTAINER | MID_FLAG_SPECIAL_ITEM, 0 ),
984  // RES_EDIT_IN_READONLY
985  MS_E( "EditInReadonly", STYLE, EDITABLE, XML_TYPE_BOOL, 0 ),
986  M_END()
987 };
988 
990 {
991  MR_E( "RubyAdjust", STYLE, RUBY_ALIGN, XML_TYPE_TEXT_RUBY_ADJUST, 0 ),
992  MR_E( "RubyIsAbove", STYLE, RUBY_POSITION, XML_TYPE_TEXT_RUBY_IS_ABOVE, 0 ),
993  MR_EV( "RubyPosition", LO_EXT, RUBY_POSITION, XML_TYPE_TEXT_RUBY_POSITION, 0, SvtSaveOptions::ODFSVER_FUTURE_EXTENDED),
994  M_END()
995 };
996 
997 
999 {
1000  // RES_COLLAPSING_BORDERS: only occurs in tables, but we need to
1001  // read/write the default for this item
1003 
1004  M_END()
1005 };
1006 
1008 {
1009  // RES_ROW_SPLIT: only occurs in table rows, but we need to
1010  // read/write the default for this item
1012 
1013  M_END()
1014 };
1015 
1017 {
1018  MC_E( "BackColor", FO, BACKGROUND_COLOR, XML_TYPE_COLORTRANSPARENT|MID_FLAG_MULTI_PROPERTY, 0 ),
1019  MC_E( "LeftBorder", FO, BORDER_LEFT, XML_TYPE_BORDER, 0 ),
1020  MC_E( "RightBorder", FO, BORDER_RIGHT, XML_TYPE_BORDER, 0 ),
1021  MC_E( "TopBorder", FO, BORDER_TOP, XML_TYPE_BORDER, 0 ),
1022  MC_E( "BottomBorder", FO, BORDER_BOTTOM, XML_TYPE_BORDER, 0 ),
1023  MC_E( "BorderDistance", FO, PADDING, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, 0 ),
1024  MC_E( "LeftBorderDistance", FO, PADDING_LEFT, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, 0 ),
1025  MC_E( "RightBorderDistance", FO, PADDING_RIGHT, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, 0 ),
1026  MC_E( "TopBorderDistance", FO, PADDING_TOP, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, 0 ),
1027  MC_E( "BottomBorderDistance", FO, PADDING_BOTTOM, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, 0 ),
1028  MC_E( "VertOrient", STYLE, VERTICAL_ALIGN, XML_TYPE_TEXT_VERTICAL_POS, 0 ),
1029  MC_E( "WritingMode", STYLE, WRITING_MODE, XML_TYPE_TEXT_WRITING_MODE_WITH_DEFAULT, 0 ),
1030  MC_E( "NumberFormat", STYLE, DATA_STYLE_NAME, XML_TYPE_NUMBER|MID_FLAG_SPECIAL_ITEM_EXPORT, 0 ),
1031  // paragraph properties
1032  MP_E( "ParaAdjust", FO, TEXT_ALIGN, XML_TYPE_TEXT_ADJUST, 0 ),
1033  // text properties
1034  MT_ED( "CharColor", FO, COLOR, XML_TYPE_COLORAUTO|MID_FLAG_MERGE_PROPERTY, 0 ),
1035  MT_ED( "CharColor", STYLE, USE_WINDOW_FONT_COLOR, XML_TYPE_ISAUTOCOLOR|MID_FLAG_MERGE_PROPERTY, 0 ),
1036  MT_E( "CharShadowed", FO, TEXT_SHADOW, XML_TYPE_TEXT_SHADOWED, 0 ),
1037  MT_E( "CharContoured", STYLE, TEXT_OUTLINE, XML_TYPE_BOOL, 0 ),
1038  MT_E( "CharStrikeout", STYLE, TEXT_LINE_THROUGH_STYLE, XML_TYPE_TEXT_CROSSEDOUT_STYLE|MID_FLAG_MERGE_PROPERTY, 0 ),
1039  MT_E( "CharStrikeout", STYLE, TEXT_LINE_THROUGH_TYPE, XML_TYPE_TEXT_CROSSEDOUT_TYPE|MID_FLAG_MERGE_PROPERTY, 0 ),
1040  MT_E( "CharStrikeout", STYLE, TEXT_LINE_THROUGH_WIDTH, XML_TYPE_TEXT_CROSSEDOUT_WIDTH|MID_FLAG_MERGE_PROPERTY, 0 ),
1041  MT_E( "CharStrikeout", STYLE, TEXT_LINE_THROUGH_TEXT, XML_TYPE_TEXT_CROSSEDOUT_TEXT|MID_FLAG_MERGE_PROPERTY, 0 ),
1042  MT_E( "CharUnderline", STYLE, TEXT_UNDERLINE_STYLE, XML_TYPE_TEXT_UNDERLINE_STYLE|MID_FLAG_MERGE_PROPERTY, 0 ),
1043  MT_E( "CharUnderline", STYLE, TEXT_UNDERLINE_TYPE, XML_TYPE_TEXT_UNDERLINE_TYPE|MID_FLAG_MERGE_PROPERTY, 0 ),
1044  MT_E( "CharUnderline", STYLE, TEXT_UNDERLINE_WIDTH, XML_TYPE_TEXT_UNDERLINE_WIDTH|MID_FLAG_MERGE_PROPERTY, 0 ),
1045  MT_E( "CharUnderlineColor", STYLE, TEXT_UNDERLINE_COLOR, XML_TYPE_TEXT_UNDERLINE_COLOR|MID_FLAG_MULTI_PROPERTY, 0 ),
1046  MT_E( "CharUnderlineHasColor",STYLE, TEXT_UNDERLINE_COLOR, XML_TYPE_TEXT_UNDERLINE_HASCOLOR|MID_FLAG_MERGE_ATTRIBUTE, 0 ),
1047  // STANDARD FONT
1048  MT_ED( "CharHeight", FO, FONT_SIZE, XML_TYPE_CHAR_HEIGHT|MID_FLAG_MULTI_PROPERTY, 0 ),
1049  MT_E( "CharWeight", FO, FONT_WEIGHT, XML_TYPE_TEXT_WEIGHT, 0 ),
1050  MT_E( "CharPosture", FO, FONT_STYLE, XML_TYPE_TEXT_POSTURE, 0 ),
1051  // RES_CHRATR_FONT
1052  MT_ED( "CharFontName", STYLE, FONT_NAME, XML_TYPE_STRING|MID_FLAG_SPECIAL_ITEM_IMPORT, CTF_FONTNAME ),
1054  MT_ED( "CharFontStyleName", STYLE, FONT_STYLE_NAME, XML_TYPE_STRING, CTF_FONTSTYLENAME ),
1055  MT_ED( "CharFontFamily", STYLE, FONT_FAMILY_GENERIC,XML_TYPE_TEXT_FONTFAMILY, CTF_FONTFAMILY ),
1056  MT_ED( "CharFontPitch", STYLE, FONT_PITCH, XML_TYPE_TEXT_FONTPITCH, CTF_FONTPITCH ),
1057  MT_ED( "CharFontCharSet", STYLE, FONT_CHARSET, XML_TYPE_TEXT_FONTENCODING, CTF_FONTCHARSET ),
1058  // CJK FONT
1059  MT_ED( "CharHeightAsian", STYLE, FONT_SIZE_ASIAN, XML_TYPE_CHAR_HEIGHT|MID_FLAG_MULTI_PROPERTY, 0 ),
1060  MT_E( "CharWeightAsian", STYLE, FONT_WEIGHT_ASIAN, XML_TYPE_TEXT_WEIGHT, 0 ),
1061  MT_E( "CharPostureAsian", STYLE, FONT_STYLE_ASIAN, XML_TYPE_TEXT_POSTURE, 0 ),
1062  // RES_CHRATR_CJK_FONT
1063  MT_ED( "CharFontNameAsian", STYLE, FONT_NAME_ASIAN, XML_TYPE_STRING|MID_FLAG_SPECIAL_ITEM_IMPORT, CTF_FONTNAME_CJK ),
1065  MT_ED( "CharFontStyleNameAsian", STYLE, FONT_STYLE_NAME_ASIAN, XML_TYPE_STRING, CTF_FONTSTYLENAME_CJK ),
1066  MT_ED( "CharFontFamilyAsian", STYLE, FONT_FAMILY_GENERIC_ASIAN, XML_TYPE_TEXT_FONTFAMILY, CTF_FONTFAMILY_CJK ),
1067  MT_ED( "CharFontPitchAsian", STYLE, FONT_PITCH_ASIAN, XML_TYPE_TEXT_FONTPITCH, CTF_FONTPITCH_CJK ),
1068  MT_ED( "CharFontCharSetAsian", STYLE, FONT_CHARSET_ASIAN, XML_TYPE_TEXT_FONTENCODING, CTF_FONTCHARSET_CJK ),
1069  // CTL FONT
1070  MT_ED( "CharHeightComplex", STYLE, FONT_SIZE_COMPLEX, XML_TYPE_CHAR_HEIGHT|MID_FLAG_MULTI_PROPERTY, 0 ),
1071  MT_E( "CharWeightComplex", STYLE, FONT_WEIGHT_COMPLEX, XML_TYPE_TEXT_WEIGHT, 0 ),
1072  MT_E( "CharPostureComplex", STYLE, FONT_STYLE_COMPLEX, XML_TYPE_TEXT_POSTURE, 0 ),
1073  // RES_CHRATR_CTL_FONT
1074  MT_ED( "CharFontNameComplex", STYLE, FONT_NAME_COMPLEX, XML_TYPE_STRING|MID_FLAG_SPECIAL_ITEM_IMPORT, CTF_FONTNAME_CTL ),
1075  MT_ED( "CharFontNameComplex", STYLE, FONT_FAMILY_COMPLEX, XML_TYPE_TEXT_FONTFAMILYNAME|MID_FLAG_SPECIAL_ITEM_IMPORT, CTF_FONTFAMILYNAME_CTL ),
1076  MT_ED( "CharFontStyleNameComplex",STYLE, FONT_STYLE_NAME_COMPLEX, XML_TYPE_STRING, CTF_FONTSTYLENAME_CTL ),
1077  MT_ED( "CharFontFamilyComplex", STYLE, FONT_FAMILY_GENERIC_COMPLEX,XML_TYPE_TEXT_FONTFAMILY, CTF_FONTFAMILY_CTL ),
1078  MT_ED( "CharFontPitchComplex", STYLE, FONT_PITCH_COMPLEX, XML_TYPE_TEXT_FONTPITCH, CTF_FONTPITCH_CTL ),
1079  MT_ED( "CharFontCharSetComplex", STYLE, FONT_CHARSET_COMPLEX, XML_TYPE_TEXT_FONTENCODING, CTF_FONTCHARSET_CTL ),
1080 
1081  M_END()
1082 };
1083 
1085 {
1086  XMLPropertyMapEntry const *pMap = nullptr;
1087  switch( nType )
1088  {
1089  case TextPropMap::TEXT:
1090  pMap = aXMLTextPropMap;
1091  break;
1093  // #i125045# use [21] instead of [1] for text props for Shapes, indices
1094  // [1..20] contain the DrawingLayer FillStyle attributes corresponding to
1095  // [XATTR_FILL_FIRST .. XATTR_FILL_LAST] and would be double since Shapes
1096  // already contain these (usually in aXMLSDProperties)
1097  pMap = &(aXMLParaPropMap[21]);
1098  assert( pMap->meXMLName == XML_MARGIN && " shape para map changed" );
1099  break;
1100  case TextPropMap::PARA:
1101  pMap = aXMLParaPropMap;
1102  break;
1103  case TextPropMap::FRAME:
1104  pMap = aXMLFramePropMap;
1105  break;
1107  pMap = &(aXMLFramePropMap[13]);
1108  assert( pMap->meXMLName == XML_MARGIN && " frame map changed" );
1109  break;
1110  case TextPropMap::SHAPE:
1111  pMap = aXMLShapePropMap;
1112  break;
1113  case TextPropMap::SECTION:
1114  pMap = aXMLSectionPropMap;
1115  break;
1116  case TextPropMap::RUBY:
1117  pMap = aXMLRubyPropMap;
1118  break;
1121  break;
1123  pMap = aXMLTableDefaultsMap;
1124  break;
1126  pMap = aXMLTableRowDefaultsMap;
1127  break;
1128  case TextPropMap::CELL:
1129  pMap = aXMLCellPropMap;
1130  break;
1131  }
1132  SAL_WARN_IF( !pMap, "xmloff", "illegal map type" );
1133  return pMap;
1134 }
1135 
1137 {
1138  return lcl_txtprmap_getMap( _nType );
1139 }
1140 
1143  new XMLTextPropertyHandlerFactory, bForExport )
1144 {
1145 }
1146 
1148 {
1149 }
1150 
1151 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define XML_TYPE_BORDER_MODEL
Definition: xmltypes.hxx:255
#define XML_TYPE_TEXT_HIDDEN_AS_DISPLAY
Definition: xmltypes.hxx:253
#define XML_TYPE_TEXT_CLIP11
Definition: xmltypes.hxx:218
const sal_uInt8 MARGIN_TOP
#define XML_TYPE_BORDER
Definition: xmltypes.hxx:191
#define XML_TYPE_TEXT_BREAKAFTER
Definition: xmltypes.hxx:177
#define XML_TYPE_TEXT_UNDERLINE_STYLE
Definition: xmltypes.hxx:173
#define CTF_CHARHEIGHT
Definition: txtprmap.hxx:25
#define CTF_FONTPITCH_CJK
Definition: txtprmap.hxx:98
#define XML_TYPE_PERCENT
Definition: xmltypes.hxx:129
#define XML_SW_TYPE_FILLBITMAPSIZE
Definition: xmltypes.hxx:286
#define XML_TYPE_VERTICAL_ALIGN
Definition: xmltypes.hxx:283
#define CTF_WRAP_PARAGRAPH_ONLY
Definition: txtprmap.hxx:74
#define CTF_FONTFAMILY_CTL
Definition: txtprmap.hxx:106
#define CTF_CHARHEIGHT_DIFF_CTL
Definition: txtprmap.hxx:111
#define CTF_FRAMEWIDTH_MIN_REL
Definition: txtprmap.hxx:148
#define CTF_CHARHEIGHT_DIFF
Definition: txtprmap.hxx:92
#define XML_TYPE_TEXT_SHADOW
Definition: xmltypes.hxx:178
#define CTF_SHAPE_HORIZONTALPOS_MIRRORED
Definition: txtprmap.hxx:157
#define CTF_SECTION_FOOTNOTE_NUM_PREFIX
Definition: txtprmap.hxx:119
#define CTF_SHAPE_VERTICALREL
Definition: txtprmap.hxx:163
#define CTF_BOTTOMBORDER
Definition: txtprmap.hxx:51
#define XML_TYPE_BUILDIN_CMP_ONLY
Definition: xmltypes.hxx:142
#define XML_TYPE_NEG_PERCENT16
Definition: xmltypes.hxx:153
#define CTF_SHAPE_HORIZONTALREL
Definition: txtprmap.hxx:158
#define XML_TYPE_TEXT_RUBY_IS_ABOVE
Definition: xmltypes.hxx:293
#define CTF_PARALEFTMARGIN_REL
Definition: txtprmap.hxx:28
#define CTF_TABSTOP
Definition: txtprmap.hxx:55
#define MP_E(a, p, l, t, c)
Definition: txtprmap.cxx:50
#define XML_TYPE_TEXT_OVERLINE_HASCOLOR
Definition: xmltypes.hxx:278
#define XML_TYPE_TEXT_EMPHASIZE
Definition: xmltypes.hxx:221
#define CTF_CHARTOPBORDERDISTANCE
Definition: txtprmap.hxx:190
#define XML_TYPE_BORDER_WIDTH
Definition: xmltypes.hxx:192
#define CTF_SHAPE_VERTICALREL_FRAME
Definition: txtprmap.hxx:165
static XMLPropertyMapEntry const * lcl_txtprmap_getMap(TextPropMap nType)
Definition: txtprmap.cxx:1084
#define XML_SW_TYPE_BITMAP_REFPOINT
Definition: xmltypes.hxx:288
#define XML_TYPE_TEXT_OVERLINE_TYPE
Definition: xmltypes.hxx:274
#define XML_TYPE_COLOR_MODE
Definition: xmltypes.hxx:145
#define XML_TYPE_TEXT_KEEP
Definition: xmltypes.hxx:262
#define XML_TYPE_ISAUTOCOLOR
Definition: xmltypes.hxx:149
#define M_END()
Definition: txtprmap.cxx:84
#define CTF_LEFTBORDER
Definition: txtprmap.hxx:48
#define XML_TYPE_TEXT_PROTECT_CONTENT
Definition: xmltypes.hxx:200
#define CTF_CHARRIGHTBORDERDISTANCE
Definition: txtprmap.hxx:189
#define CTF_MARGINTOP
Definition: txtprmap.hxx:178
LINE_BREAK
#define MID_FLAG_NO_PROPERTY_IMPORT
Definition: xmltypes.hxx:76
#define XML_TYPE_TEXT_UNDERLINE_COLOR
Definition: xmltypes.hxx:224
#define XML_TYPE_PERCENT16
Definition: xmltypes.hxx:131
#define CTF_FRAMEHEIGHT_ABS
Definition: txtprmap.hxx:65
#define CTF_FRAMEHEIGHT_MIN_REL
Definition: txtprmap.hxx:68
#define XML_TYPE_TEXT_CASEMAP_VAR
Definition: xmltypes.hxx:181
#define XML_TYPE_TEXT_VERTICAL_REL_PAGE
Definition: xmltypes.hxx:212
#define CTF_SIZETYPE
Definition: txtprmap.hxx:69
#define CTF_FONTSTYLENAME_CJK
Definition: txtprmap.hxx:96
#define CTF_PARAMARGINALL
Definition: txtprmap.hxx:173
#define XML_TYPE_TEXT_UNDERLINE_TYPE
Definition: xmltypes.hxx:257
#define CTF_FRAME_MARGIN_HORI
Definition: txtprmap.hxx:132
#define CTF_BORDER_MODEL
Definition: txtprmap.hxx:151
#define CTF_VERTICALREL_PAGE
Definition: txtprmap.hxx:85
#define XML_TYPE_TEXT_NKEEP
Definition: xmltypes.hxx:263
#define CTF_SECTION_ENDNOTE_NUM_RESTART
Definition: txtprmap.hxx:123
XMLPropertyMapEntry const aXMLAdditionalTextDefaultsMap[]
Definition: txtprmap.cxx:466
#define XML_TYPE_NUMBER8
Definition: xmltypes.hxx:135
#define XML_TYPE_TEXT_VERTICAL_ALIGN
Definition: xmltypes.hxx:245
#define XML_TYPE_TEXT_NUMBER8_ONE_BASED
Definition: xmltypes.hxx:266
#define XML_TYPE_TEXT_OVERLINE_WIDTH
Definition: xmltypes.hxx:276
#define XML_TYPE_TEXT_POSTURE
Definition: xmltypes.hxx:171
XMLTextPropertySetMapper(TextPropMap nType, bool bForExport)
Definition: txtprmap.cxx:1141
BORDER_BOTTOM
#define CTF_NUMBERINGSTYLENAME
Definition: txtprmap.hxx:56
#define CTF_PAGENUMBEROFFSET
Definition: txtprmap.hxx:204
#define XML_TYPE_TEXT_AUTOSPACE
Definition: xmltypes.hxx:226
#define CTF_OLE_VIS_AREA_TOP
Definition: txtprmap.hxx:135
#define MIN_WIDTH
#define XML_TYPE_TEXT_OVERLINE_STYLE
Definition: xmltypes.hxx:275
#define CTF_ALLBORDER
Definition: txtprmap.hxx:47
#define XML_TYPE_LINE_SPACE_FIXED
Definition: xmltypes.hxx:188
#define CTF_SECTION_ENDNOTE_NUM_TYPE
Definition: txtprmap.hxx:125
#define CTF_OLE_VIS_AREA_WIDTH
Definition: txtprmap.hxx:137
#define CTF_FRAMEWIDTH_ABS
Definition: txtprmap.hxx:146
#define XML_SW_TYPE_BITMAPREPOFFSETX
Definition: xmltypes.hxx:290
#define CTF_OLE_VIS_AREA_LEFT
Definition: txtprmap.hxx:136
#define XML_TYPE_TEXT_UNDERLINE_WIDTH
Definition: xmltypes.hxx:258
#define XML_TYPE_TEXT_CROSSEDOUT_TYPE
Definition: xmltypes.hxx:259
#define XML_SW_TYPE_LOGICAL_SIZE
Definition: xmltypes.hxx:287
XMLPropertyMapEntry const aXMLRubyPropMap[]
Definition: txtprmap.cxx:989
#define XML_SW_TYPE_FILLSTYLE
Definition: xmltypes.hxx:285
constexpr sal_uInt16 XML_NAMESPACE_LO_EXT
#define CTF_FRAME_DISPLAY_SCROLLBAR
Definition: txtprmap.hxx:130
BORDER_LEFT
#define CTF_CHARHEIGHT_REL_CJK
Definition: txtprmap.hxx:101
#define CTF_FONTFAMILYNAME_CJK
Definition: txtprmap.hxx:95
#define CTF_FONTPITCH_CTL
Definition: txtprmap.hxx:107
#define CTF_FILLGRADIENTNAME
Definition: xmlsdtypes.hxx:137
#define CTF_KEEP_TOGETHER
Definition: txtprmap.hxx:145
#define CTF_BACKGROUND_POS
Definition: txtprmap.hxx:90
#define CTF_DEFAULT_OUTLINE_LEVEL
Definition: txtprmap.hxx:167
#define CTF_FILLTRANSNAME
Definition: xmlsdtypes.hxx:140
#define HEIGHT
#define CTF_PARABOTTOMMARGIN_REL
Definition: txtprmap.hxx:36
#define CTF_FONTCHARSET
Definition: txtprmap.hxx:62
#define XML_TYPE_PROP_TABLE_ROW
Definition: xmltypes.hxx:104
#define CTF_FONTFAMILYNAME
Definition: txtprmap.hxx:58
#define CTF_REPEAT_OFFSET_X
Definition: xmlsdtypes.hxx:125
#define MIN_HEIGHT
#define XML_TYPE_TEXT_RUBY_ADJUST
Definition: xmltypes.hxx:241
#define CTF_RIGHTBORDERDISTANCE
Definition: txtprmap.hxx:44
#define XML_TYPE_TEXT_VERTICAL_REL_FRAME
Definition: xmltypes.hxx:213
#define M_ED_(a, p, l, t, c)
Definition: txtprmap.cxx:40
#define CTF_TOPBORDERWIDTH
Definition: txtprmap.hxx:40
#define CTF_FONTCHARSET_CJK
Definition: txtprmap.hxx:99
#define MP_ED(a, p, l, t, c)
Definition: txtprmap.cxx:52
#define CTF_RIGHTBORDER
Definition: txtprmap.hxx:49
#define MID_FLAG_MERGE_ATTRIBUTE
Definition: xmltypes.hxx:57
#define XML_TYPE_NUMBER16_AUTO
Definition: xmltypes.hxx:270
#define XML_TYPE_STYLENAME
Definition: xmltypes.hxx:150
#define XML_TYPE_DOUBLE_PERCENT
Definition: xmltypes.hxx:154
#define XML_TYPE_PERCENT8
Definition: xmltypes.hxx:130
#define XML_TYPE_TEXT_VERTICAL_REL
Definition: xmltypes.hxx:211
#define MR_EV(a, p, l, t, c, v)
Definition: txtprmap.cxx:70
#define CTF_CHARHEIGHT_REL_CTL
Definition: txtprmap.hxx:110
#define XML_TYPE_CHAR_RFC_LANGUAGE_TAG
Definition: xmltypes.hxx:282
#define XML_TYPE_TEXT_WRITING_MODE_WITH_DEFAULT
Definition: xmltypes.hxx:251
#define XML_TYPE_TEXT_ROTATION_SCALE
Definition: xmltypes.hxx:244
#define XML_TYPE_TEXT_CASEMAP
Definition: xmltypes.hxx:165
#define CTF_SECTION_ENDNOTE_NUM_PREFIX
Definition: txtprmap.hxx:126
#define CTF_FILLBITMAPNAME
Definition: xmlsdtypes.hxx:139
#define XML_TYPE_TEXT_DROPCAP
Definition: xmltypes.hxx:193
#define XML_TYPE_PROP_PARAGRAPH
Definition: xmltypes.hxx:99
#define CTF_BACKGROUND_TRANSPARENCY
Definition: txtprmap.hxx:143
#define XML_TYPE_TEXT_VERTICAL_POS
Definition: xmltypes.hxx:210
XMLPropertyMapEntry const aXMLShapePropMap[]
Definition: txtprmap.cxx:894
DRAW
#define CTF_CHARLEFTBORDER
Definition: txtprmap.hxx:193
#define CTF_SECTION_ENDNOTE_END
Definition: txtprmap.hxx:122
#define XML_TYPE_TEXT_CLIP
Definition: xmltypes.hxx:273
#define XML_SW_TYPE_BITMAPREPOFFSETY
Definition: xmltypes.hxx:291
#define XML_TYPE_TEXT_HORIZONTAL_POS
Definition: xmltypes.hxx:205
#define MG_ED(a, p, l, t, c)
Definition: txtprmap.cxx:58
#define GAMMA(_def_cVal, _def_InvGamma)
#define CTF_PARATOPMARGIN
Definition: txtprmap.hxx:33
#define MAP_ODF13(name, prefix, token, type, context)
Definition: txtprmap.cxx:77
#define MID_FLAG_MULTI_PROPERTY
Definition: xmltypes.hxx:64
const sal_uInt8 MARGIN_BOTTOM
#define XML_TYPE_TEXT_HORIZONTAL_REL_FRAME
Definition: xmltypes.hxx:208
#define XML_TYPE_TEXT_LINE_MODE
Definition: xmltypes.hxx:256
#define CTF_MARGINLEFT
Definition: txtprmap.hxx:176
#define XML_TYPE_TEXT_WRAP_OUTSIDE
Definition: xmltypes.hxx:198
#define CTF_DROPCAPCHARSTYLE
Definition: txtprmap.hxx:54
#define XML_TYPE_TEXT_HORIZONTAL_MIRROR
Definition: xmltypes.hxx:209
#define CTF_VERTICALREL_ASCHAR
Definition: txtprmap.hxx:87
#define MR_E(a, p, l, t, c)
Definition: txtprmap.cxx:68
#define CTF_VERTICALREL_FRAME
Definition: txtprmap.hxx:86
#define CTF_DROPCAPFORMAT
Definition: txtprmap.hxx:53
constexpr sal_uInt16 XML_NAMESPACE_DRAW
#define XML_TYPE_TEXT_PUNCTUATION_WRAP
Definition: xmltypes.hxx:227
#define MID_FLAG_ELEMENT_ITEM
Definition: xmltypes.hxx:70
#define CTF_FRAMEWIDTH_MIN_ABS
Definition: txtprmap.hxx:147
#define CTF_CHARLEFTBORDERDISTANCE
Definition: txtprmap.hxx:188
#define XML_TYPE_LINE_SPACE_DISTANCE
Definition: xmltypes.hxx:190
#define CTF_LEFTBORDERDISTANCE
Definition: txtprmap.hxx:43
BORDER_TOP
#define CTF_CHAR_BACKGROUND_TRANSPARENCY
Definition: txtprmap.hxx:200
#define CTF_FONTCHARSET_CTL
Definition: txtprmap.hxx:108
#define XML_TYPE_COLORAUTO
Definition: xmltypes.hxx:148
#define CTF_FONTNAME_CJK
Definition: txtprmap.hxx:94
#define MT_E(a, p, l, t, c)
Definition: txtprmap.cxx:44
#define XML_TYPE_CHAR_HEIGHT
Definition: xmltypes.hxx:184
#define CTF_VERTICALPOS_ATCHAR
Definition: txtprmap.hxx:142
#define MT_ED(a, p, l, t, c)
Definition: txtprmap.cxx:46
#define CTF_SHAPE_HORIZONTALMIRROR
Definition: txtprmap.hxx:160
#define BORDER
#define CTF_TEXT_CLIP
Definition: txtprmap.hxx:171
XMLPropertyMapEntry const aXMLCellPropMap[]
Definition: txtprmap.cxx:1016
XMLPropertyMapEntry const aXMLTableDefaultsMap[]
Definition: txtprmap.cxx:998
#define XML_TYPE_TEXT_KERNING
Definition: xmltypes.hxx:170
#define CTF_LEFTBORDERWIDTH
Definition: txtprmap.hxx:38
#define CTF_CHARALLBORDERWIDTH
Definition: txtprmap.hxx:182
#define XML_TYPE_TEXT_COMBINE
Definition: xmltypes.hxx:222
#define MG_E(a, p, l, t, c)
Definition: txtprmap.cxx:56
constexpr sal_uInt16 XML_NAMESPACE_FO
#define MID_FLAG_SPECIAL_ITEM_EXPORT
Definition: xmltypes.hxx:86
#define XML_TYPE_TEXT_ESCAPEMENT
Definition: xmltypes.hxx:182
#define MS_E(a, p, l, t, c)
Definition: txtprmap.cxx:64
#define CTF_BACKGROUND_URL
Definition: txtprmap.hxx:89
#define XML_TYPE_TEXT_MIRROR_VERTICAL
Definition: xmltypes.hxx:215
#define CTF_PARAFIRSTLINE
Definition: txtprmap.hxx:31
#define MC_E(a, p, l, t, c)
Definition: txtprmap.cxx:74
XMLPropertyMapEntry const aXMLTextPropMap[]
Definition: txtprmap.cxx:477
#define CTF_SECTION_FOOTNOTE_NUM_TYPE
Definition: txtprmap.hxx:118
#define XML_TYPE_TEXT_OVERLINE_COLOR
Definition: xmltypes.hxx:277
#define CTF_PARATOPMARGIN_REL
Definition: txtprmap.hxx:34
#define XML_TYPE_TEXT_SPLIT
Definition: xmltypes.hxx:175
#define XML_TYPE_ATTRIBUTE_CONTAINER
Definition: xmltypes.hxx:219
#define CTF_SHAPE_HORIZONTALREL_FRAME
Definition: txtprmap.hxx:159
#define XML_TYPE_THEME_COLOR
Definition: xmltypes.hxx:297
#define CTF_CHARHEIGHT_REL
Definition: txtprmap.hxx:26
#define XML_TYPE_NUMBER16_NONE
Definition: xmltypes.hxx:144
#define CTF_FONTFAMILY
Definition: txtprmap.hxx:60
#define MID_FLAG_NO_PROPERTY
Definition: xmltypes.hxx:78
#define XML_TYPE_TEXT_ADJUST
Definition: xmltypes.hxx:179
#define XML_TYPE_TEXT_BREAKBEFORE
Definition: xmltypes.hxx:176
#define CTF_TEXTWRITINGMODE
Definition: txtprmap.hxx:63
#define XML_TYPE_NEG_PERCENT
Definition: xmltypes.hxx:151
#define CTF_SECTION_ENDNOTE_NUM_SUFFIX
Definition: txtprmap.hxx:127
Represents a property with its API-name, its XML-name and the type of its value.
Definition: maptype.hxx:31
#define CTF_CHAR_BACKGROUND
Definition: txtprmap.hxx:199
BORDER_RIGHT
#define CTF_CHARRIGHTBORDERWIDTH
Definition: txtprmap.hxx:184
#define XML_TYPE_MEASURE_PX
Definition: xmltypes.hxx:147
#define XML_TYPE_NUMBER
Definition: xmltypes.hxx:134
#define CTF_VERTICALREL
Definition: txtprmap.hxx:84
TextPropMap
Definition: txtprmap.hxx:207
#define CTF_BACKGROUND_TRANSPARENT
Definition: txtprmap.hxx:144
#define XML_TYPE_TEXT_PROTECT_SIZE
Definition: xmltypes.hxx:201
#define CTF_SECTION_FOOTNOTE_NUM_RESTART
Definition: txtprmap.hxx:116
#define CTF_FONTPITCH
Definition: txtprmap.hxx:61
#define XML_TYPE_TEXT_ESCAPEMENT_HEIGHT
Definition: xmltypes.hxx:183
#define XML_TYPE_PROP_TEXT
Definition: xmltypes.hxx:98
#define XML_TYPE_GRAPHIC
Definition: xmltypes.hxx:294
#define MID_FLAG_SPECIAL_ITEM
Definition: xmltypes.hxx:87
#define CTF_FRAME_DISPLAY_BORDER
Definition: txtprmap.hxx:131
#define XML_SW_TYPE_BITMAP_MODE
Definition: xmltypes.hxx:289
#define CTF_OLD_FLOW_WITH_TEXT
Definition: txtprmap.hxx:168
#define XML_TYPE_TEXT_FONTFAMILY
Definition: xmltypes.hxx:167
#define MID_FLAG_DEFAULT_ITEM_EXPORT
Definition: xmltypes.hxx:48
#define XML_TYPE_TEXT_DRAW_ASPECT
Definition: xmltypes.hxx:246
#define CTF_SHAPE_VERTICALPOS_ATCHAR
Definition: txtprmap.hxx:162
#define XML_TYPE_NUMBER16
Definition: xmltypes.hxx:136
#define XML_TYPE_TEXT_WRAP
Definition: xmltypes.hxx:196
#define MAP_EXT_I(name, prefix, token, type, context)
Definition: txtprmap.cxx:82
XMLPropertyMapEntry const aXMLSectionPropMap[]
Definition: txtprmap.cxx:943
#define CTF_SECTION_FOOTNOTE_NUM_SUFFIX
Definition: txtprmap.hxx:120
#define CTF_FRAME_MARGIN_VERT
Definition: txtprmap.hxx:133
#define CTF_FONTSTYLENAME_CTL
Definition: txtprmap.hxx:105
#define CTF_SHAPE_HORIZONTALPOS
Definition: txtprmap.hxx:156
const sal_uInt8 MARGIN_LEFT
#define XML_TYPE_HEX
Definition: xmltypes.hxx:155
#define CTF_TOPBORDERDISTANCE
Definition: txtprmap.hxx:45
#define XML_TYPE_TEXT_COMBINECHAR
Definition: xmltypes.hxx:223
#define CTF_RELWIDTHREL
Definition: txtprmap.hxx:197
#define CTF_OLE_DRAW_ASPECT
Definition: txtprmap.hxx:139
#define XML_TYPE_CHAR_HEIGHT_DIFF
Definition: xmltypes.hxx:220
#define CTF_FILLHATCHNAME
Definition: xmlsdtypes.hxx:138
#define Y
#define CTF_SECTION_FOOTNOTE_NUM_RESTART_AT
Definition: txtprmap.hxx:117
#define CTF_SECTION_FOOTNOTE_NUM_OWN
Definition: txtprmap.hxx:121
#define XML_TYPE_TEXT_FONTPITCH
Definition: xmltypes.hxx:169
#define XML_TYPE_PROP_TABLE
Definition: xmltypes.hxx:102
#define MID_FLAG_MERGE_PROPERTY
Definition: xmltypes.hxx:61
const sal_uInt8 MARGIN_RIGHT
#define XML_TYPE_TEXT_FONT_RELIEF
Definition: xmltypes.hxx:242
#define CTF_CHARTOPBORDERWIDTH
Definition: txtprmap.hxx:185
#define XML_TYPE_TEXT_MIRROR_HORIZONTAL_LEFT
Definition: xmltypes.hxx:216
#define XML_TYPE_WRAP_INFLUENCE_ON_POSITION
Definition: xmltypes.hxx:264
#define CTF_BOTTOMBORDERDISTANCE
Definition: txtprmap.hxx:46
#define CTF_FRAMEWIDTH_REL
Definition: txtprmap.hxx:149
#define CTF_FRAMEHEIGHT_MIN_ABS
Definition: txtprmap.hxx:67
#define XML_TYPE_ISTRANSPARENT
Definition: xmltypes.hxx:141
#define XML_TYPE_STRING
Definition: xmltypes.hxx:132
#define CTF_CHARALLBORDERDISTANCE
Definition: txtprmap.hxx:187
XMLPropertyMapEntry const aXMLTableRowDefaultsMap[]
Definition: txtprmap.cxx:1007
#define CTF_PARALEFTMARGIN
Definition: txtprmap.hxx:27
#define CTF_ANCHORTYPE
Definition: txtprmap.hxx:75
#define CTF_CHARTOPBORDER
Definition: txtprmap.hxx:195
#define XML_TYPE_TEXT_FONTENCODING
Definition: xmltypes.hxx:168
#define CTF_OLE_VIS_AREA_HEIGHT
Definition: txtprmap.hxx:138
#define CTF_CHARALLBORDER
Definition: txtprmap.hxx:192
#define MG_EV(a, p, l, t, c, v)
Definition: txtprmap.cxx:60
#define CTF_BACKGROUND_FILTER
Definition: txtprmap.hxx:91
#define SAL_WARN_IF(condition, area, stream)
#define CTF_PAGEDESCNAME
Definition: txtprmap.hxx:88
static const XMLPropertyMapEntry * getPropertyMapForType(TextPropMap _nType)
Definition: txtprmap.cxx:1136
#define CTF_HORIZONTALREL
Definition: txtprmap.hxx:80
#define XML_TYPE_CHAR_HEIGHT_PROP
Definition: xmltypes.hxx:185
#define CTF_COMBINED_CHARACTERS_FIELD
Definition: txtprmap.hxx:134
#define CTF_CHARBOTTOMBORDER
Definition: txtprmap.hxx:196
#define CTF_FONTSTYLENAME
Definition: txtprmap.hxx:59
#define CTF_UNDERLINE
Definition: txtprmap.hxx:112
#define CTF_PARARIGHTMARGIN_REL
Definition: txtprmap.hxx:30
Handling of tokens in XML:
#define XML_TYPE_PROP_GRAPHIC
Definition: xmltypes.hxx:94
#define CTF_HORIZONTALMIRROR
Definition: txtprmap.hxx:82
#define CTF_CHAR_HIGHLIGHT
Definition: txtprmap.hxx:201
#define XML_TYPE_MEASURE
Definition: xmltypes.hxx:126
#define CTF_UNDERLINE_COLOR
Definition: txtprmap.hxx:113
#define CTF_DROPCAPWHOLEWORD
Definition: txtprmap.hxx:52
virtual ~XMLTextPropertySetMapper() override
Definition: txtprmap.cxx:1147
#define CTF_FRAMEWIDTH_TYPE
Definition: txtprmap.hxx:150
#define CTF_FONTFAMILYNAME_CTL
Definition: txtprmap.hxx:104
#define XML_TYPE_TEXT_COLUMNS
Definition: xmltypes.hxx:204
#define CTF_MARGINALL
Definition: txtprmap.hxx:175
#define CTF_CHARBOTTOMBORDERWIDTH
Definition: txtprmap.hxx:186
#define CTF_WRAP
Definition: txtprmap.hxx:71
#define CTF_MARGINRIGHT
Definition: txtprmap.hxx:177
const sal_uInt16 WIDTH
#define CTF_ALLBORDERDISTANCE
Definition: txtprmap.hxx:42
#define CTF_FONTNAME_CTL
Definition: txtprmap.hxx:103
#define CTF_TEXT_DISPLAY
Definition: txtprmap.hxx:170
#define CTF_FRAMEHEIGHT_REL
Definition: txtprmap.hxx:66
#define CTF_PARARIGHTMARGIN
Definition: txtprmap.hxx:29
#define XML_TYPE_TEXT_VERTICAL_POS_AT_CHAR
Definition: xmltypes.hxx:249
#define CTF_SECTION_ENDNOTE_NUM_RESTART_AT
Definition: txtprmap.hxx:124
#define XML_TYPE_TEXT_TABSTOP
Definition: xmltypes.hxx:194
#define XML_TYPE_TEXT_CROSSEDOUT_TEXT
Definition: xmltypes.hxx:261
TABLE
#define CTF_CHARLEFTBORDERWIDTH
Definition: txtprmap.hxx:183
#define CTF_VERTICALPOS
Definition: txtprmap.hxx:83
#define CTF_WRAP_CONTOUR
Definition: txtprmap.hxx:72
XMLPropertyMapEntry const aXMLFramePropMap[]
Definition: txtprmap.cxx:683
#define XML_TYPE_PERCENT100
Definition: xmltypes.hxx:156
#define CTF_UNDERLINE_HASCOLOR
Definition: txtprmap.hxx:114
#define XML_TYPE_TEXT_COMBINE_CHARACTERS
Definition: xmltypes.hxx:237
#define CTF_CHARHEIGHT_DIFF_CJK
Definition: txtprmap.hxx:102
#define CTF_HORIZONTALREL_FRAME
Definition: txtprmap.hxx:81
enum::xmloff::token::XMLTokenEnum meXMLName
length of property name
Definition: maptype.hxx:35
#define XML_TYPE_TEXT_REL_WIDTH_HEIGHT
Definition: xmltypes.hxx:234
constexpr sal_uInt16 XML_NAMESPACE_OFFICE_EXT
#define XML_TYPE_COLORTRANSPARENT
Definition: xmltypes.hxx:140
#define CTF_CHARRIGHTBORDER
Definition: txtprmap.hxx:194
#define CTF_TEXT_CLIP11
Definition: txtprmap.hxx:172
#define CTF_PARAFIRSTLINE_REL
Definition: txtprmap.hxx:32
#define XML_TYPE_TEXT_ROTATION_ANGLE
Definition: xmltypes.hxx:243
#define CTF_HYPERLINK_URL
Definition: txtprmap.hxx:140
#define XML_TYPE_CHAR_COUNTRY
Definition: xmltypes.hxx:187
#define CTF_SHAPE_VERTICALPOS
Definition: txtprmap.hxx:161
#define XML_TYPE_TEXT_OPAQUE
Definition: xmltypes.hxx:199
#define XML_TYPE_NUMBER16_NO_ZERO
Definition: xmltypes.hxx:269
#define XML_TYPE_TEXT_CROSSEDOUT_STYLE
Definition: xmltypes.hxx:164
#define XML_TYPE_CHAR_LANGUAGE
Definition: xmltypes.hxx:186
#define XML_TYPE_TEXT_LINE_BREAK
Definition: xmltypes.hxx:228
#define CTF_ALLBORDERWIDTH
Definition: txtprmap.hxx:37
#define XML_TYPE_TEXT_WEIGHT
Definition: xmltypes.hxx:174
#define XML_TYPE_TEXT_MIRROR_HORIZONTAL_RIGHT
Definition: xmltypes.hxx:217
#define CTF_BOTTOMBORDERWIDTH
Definition: txtprmap.hxx:41
#define XML_TYPE_BOOL
Definition: xmltypes.hxx:125
#define XML_TYPE_TEXT_FONTFAMILYNAME
Definition: xmltypes.hxx:166
#define XML_TYPE_TEXT_HORIZONTAL_POS_MIRRORED
Definition: xmltypes.hxx:206
#define XML_TYPE_TEXT_ADJUSTLAST
Definition: xmltypes.hxx:180
#define XML_TYPE_TEXT_CROSSEDOUT_WIDTH
Definition: xmltypes.hxx:260
#define CTF_CHARBOTTOMBORDERDISTANCE
Definition: txtprmap.hxx:191
#define CTF_SECTION_ENDNOTE_NUM_OWN
Definition: txtprmap.hxx:128
#define CTF_OLDTEXTBACKGROUND
Definition: txtprmap.hxx:57
#define CTF_HORIZONTALPOS_MIRRORED
Definition: txtprmap.hxx:79
#define CTF_FONTNAME
Definition: txtprmap.hxx:93
#define CTF_REPEAT_OFFSET_Y
Definition: xmlsdtypes.hxx:126
#define XML_TYPE_CHAR_SCRIPT
Definition: xmltypes.hxx:281
#define CTF_TEXTCOLUMNS
Definition: txtprmap.hxx:77
#define CTF_PARABOTTOMMARGIN
Definition: txtprmap.hxx:35
#define XML_TYPE_TEXT_SHADOWED
Definition: xmltypes.hxx:172
#define CTF_RIGHTBORDERWIDTH
Definition: txtprmap.hxx:39
#define CTF_HORIZONTALPOS
Definition: txtprmap.hxx:78
#define XML_TYPE_TEXT_HORIZONTAL_REL
Definition: xmltypes.hxx:207
#define CTF_RELHEIGHTREL
Definition: txtprmap.hxx:198
#define MAP_EXT(name, prefix, token, type, context)
Definition: txtprmap.cxx:80
#define XML_TYPE_TEXT_ANCHOR_TYPE
Definition: xmltypes.hxx:203
#define CTF_SHAPE_VERTICALREL_PAGE
Definition: txtprmap.hxx:164
#define CTF_CHAR_STYLE_NAME
Definition: txtprmap.hxx:141
#define MID_FLAG_SPECIAL_ITEM_IMPORT
Definition: xmltypes.hxx:82
#define XML_TYPE_TEXT_VERTICAL_REL_AS_CHAR
Definition: xmltypes.hxx:214
#define GMAP(name, prefix, token, type, context)
Definition: txtprmap.cxx:87
TEXT
#define CTF_CHARHEIGHT_CJK
Definition: txtprmap.hxx:100
XMLPropertyMapEntry const aXMLParaPropMap[]
Definition: txtprmap.cxx:89
#define CTF_WRAP_CONTOUR_MODE
Definition: txtprmap.hxx:73
#define CTF_SD_SHAPE_PARA_ADJUST
Definition: contextid.hxx:37
constexpr sal_uInt16 XML_NAMESPACE_STYLE
#define XML_TYPE_TEXT_UNDERLINE_HASCOLOR
Definition: xmltypes.hxx:225
#define XML_TYPE_TEXT_RUBY_POSITION
Definition: xmltypes.hxx:248
#define XML_TYPE_TEXT_PARAGRAPH_ONLY
Definition: xmltypes.hxx:197
#define XML_TYPE_COLOR
Definition: xmltypes.hxx:133
#define CTF_PARA_ADJUSTLAST
Definition: txtprmap.hxx:166
#define CTF_FONTFAMILY_CJK
Definition: txtprmap.hxx:97
#define CTF_PARAMARGINALL_REL
Definition: txtprmap.hxx:174
#define XML_TYPE_TEXT_PROTECT_POSITION
Definition: xmltypes.hxx:202
#define CTF_CHARHEIGHT_CTL
Definition: txtprmap.hxx:109
#define CTF_MARGINBOTTOM
Definition: txtprmap.hxx:179
#define XML_TYPE_LINE_SPACE_MINIMUM
Definition: xmltypes.hxx:189
#define CTF_TOPBORDER
Definition: txtprmap.hxx:50
#define CTF_SECTION_FOOTNOTE_END
Definition: txtprmap.hxx:115