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