LibreOffice Module xmloff (master) 1
prhdlfac.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/prhdlfac.hxx>
21
22#include <com/sun/star/drawing/ColorMode.hpp>
23#include <com/sun/star/text/HorizontalAdjust.hpp>
24#include <com/sun/star/text/WritingMode2.hpp>
25#include <com/sun/star/text/VertOrientation.hpp>
26
27
28#include <sal/log.hxx>
29#include <xmloff/xmlement.hxx>
30#include <xmloff/xmltypes.hxx>
31#include <xmloff/xmltoken.hxx>
32#include <xmloff/xmlprhdl.hxx>
33#include "xmlbahdl.hxx"
36#include "cdouthdl.hxx"
37#include "csmaphdl.hxx"
38#include "fonthdl.hxx"
39#include "kernihdl.hxx"
40#include "postuhdl.hxx"
41#include "shadwhdl.hxx"
42#include "shdwdhdl.hxx"
43#include "undlihdl.hxx"
44#include "weighhdl.hxx"
45#include "breakhdl.hxx"
46#include "adjushdl.hxx"
47#include "escphdl.hxx"
48#include "chrhghdl.hxx"
49#include "chrlohdl.hxx"
50#include "lspachdl.hxx"
51#include "bordrhdl.hxx"
52#include "tabsthdl.hxx"
55#include "durationhdl.hxx"
58#include "DrawAspectHdl.hxx"
59
60#include <map>
61
62using namespace ::com::sun::star;
63using namespace ::xmloff::token;
64
66{
67 { XML_GREYSCALE, drawing::ColorMode_GREYS },
68 { XML_MONO, drawing::ColorMode_MONO },
69 { XML_WATERMARK, drawing::ColorMode_WATERMARK },
70 { XML_STANDARD, drawing::ColorMode_STANDARD },
71 { XML_TOKEN_INVALID, drawing::ColorMode(0) }
72};
73
75{
76 { XML_LEFT, text::HorizontalAdjust_LEFT },
77 { XML_CENTER, text::HorizontalAdjust_CENTER },
78 { XML_RIGHT, text::HorizontalAdjust_RIGHT },
79 { XML_TOKEN_INVALID, text::HorizontalAdjust(0) }
80};
81
82// aXML_WritingDirection_Enum is used with and without 'page'
83// attribute, so you'll find uses of aXML_WritingDirection_Enum
84// directly, as well as &(aXML_WritingDirection_Enum[1])
86{
87 // aXML_WritingDirection_Enum
88 { XML_PAGE, text::WritingMode2::PAGE },
89
90 // &(aXML_WritingDirection_Enum[1])
91 { XML_LR_TB, text::WritingMode2::LR_TB },
92 { XML_RL_TB, text::WritingMode2::RL_TB },
93 { XML_TB_RL, text::WritingMode2::TB_RL },
94 { XML_TB_LR, text::WritingMode2::TB_LR },
95 { XML_BT_LR, text::WritingMode2::BT_LR },
96
97 // alternative names of the above, as accepted by XSL
98 { XML_LR, text::WritingMode2::LR_TB },
99 { XML_RL, text::WritingMode2::RL_TB },
100 { XML_TB, text::WritingMode2::TB_RL },
101
102 // vertical as clockwise 90deg rotation, for OOXML vert="vert"
103 { XML_TB_RL90, text::WritingMode2::TB_RL90 },
104
105 { XML_TOKEN_INVALID, 0 }
106};
107
109{
110 { XML_FROM_TOP, text::VertOrientation::NONE },
111 { XML_TOP, text::VertOrientation::TOP },
112 { XML_TOP, text::VertOrientation::CHAR_TOP }, // export only
113 { XML_TOP, text::VertOrientation::LINE_TOP }, // export only
114 { XML_MIDDLE, text::VertOrientation::CENTER },
115 { XML_MIDDLE, text::VertOrientation::CHAR_CENTER }, // export only
116 { XML_MIDDLE, text::VertOrientation::LINE_CENTER }, // export only
117 { XML_BOTTOM, text::VertOrientation::BOTTOM },
118 { XML_BOTTOM, text::VertOrientation::CHAR_BOTTOM }, // export only
119 { XML_BOTTOM, text::VertOrientation::LINE_BOTTOM }, // export only
120 { XML_BELOW, text::VertOrientation::CHAR_BOTTOM }, // import only
121 { XML_TOKEN_INVALID, 0 }
122};
123
124typedef std::map<sal_Int32, const XMLPropertyHandler*> CacheMap;
125
127{
129};
130
132 mpImpl(new Impl) {}
133
135{
136 for( const auto& rCacheEntry : mpImpl->maHandlerCache )
137 delete rCacheEntry.second;
138}
139
140// Interface
142{
143 SAL_WARN_IF( (nType & ~(sal_uInt32(MID_FLAG_MASK))) != 0, "xmloff",
144 "GetPropertyHandler called with flags in type" );
145 return GetBasicHandler( nType );
146}
147
148// Helper-methods to create and cache PropertyHandler
150{
151 const XMLPropertyHandler* pRet = nullptr;
152
153 if( mpImpl->maHandlerCache.find( nType ) != mpImpl->maHandlerCache.end() )
154 pRet = mpImpl->maHandlerCache.find( nType )->second;
155
156 return pRet;
157}
158
159void XMLPropertyHandlerFactory::PutHdlCache( sal_Int32 nType, const XMLPropertyHandler* pHdl ) const
160{
161 mpImpl->maHandlerCache[nType] = pHdl;
162}
163
165{
166 const XMLPropertyHandler* pPropHdl = GetHdlCache( nType );
167 if( pPropHdl )
168 return pPropHdl;
169
170 std::unique_ptr<XMLPropertyHandler> pNewPropHdl = CreatePropertyHandler( nType );
171 if( pNewPropHdl )
172 PutHdlCache( nType, pNewPropHdl.get() );
173 return pNewPropHdl.release();
174}
175
176std::unique_ptr<XMLPropertyHandler> XMLPropertyHandlerFactory::CreatePropertyHandler( sal_Int32 nType )
177{
178 std::unique_ptr<XMLPropertyHandler> pPropHdl;
179
180 switch( nType )
181 {
182 case XML_TYPE_BOOL :
183 pPropHdl.reset(new XMLBoolPropHdl);
184 break;
186 pPropHdl.reset(new XMLBoolFalsePropHdl);
187 break;
188 case XML_TYPE_MEASURE :
189 pPropHdl.reset(new XMLMeasurePropHdl( 4 ));
190 break;
191 case XML_TYPE_MEASURE8 :
192 pPropHdl.reset(new XMLMeasurePropHdl( 1 ));
193 break;
195 pPropHdl.reset(new XMLMeasurePropHdl( 2 ));
196 break;
197 case XML_TYPE_PERCENT :
198 pPropHdl.reset(new XMLPercentPropHdl( 4 ));
199 break;
200 case XML_TYPE_PERCENT8 :
201 pPropHdl.reset(new XMLPercentPropHdl( 1 ));
202 break;
203 case XML_TYPE_PERCENT16 :
204 pPropHdl.reset(new XMLPercentPropHdl( 2 ));
205 break;
207 pPropHdl.reset(new XML100thPercentPropHdl);
208 break;
210 pPropHdl.reset(new XMLDoublePercentPropHdl);
211 break;
213 pPropHdl.reset(new XMLNegPercentPropHdl( 4 ));
214 break;
216 pPropHdl.reset(new XMLNegPercentPropHdl( 1 ));
217 break;
219 pPropHdl.reset(new XMLNegPercentPropHdl( 2 ));
220 break;
222 pPropHdl.reset(new XMLMeasurePxPropHdl( 4 ));
223 break;
224 case XML_TYPE_STRING :
225 pPropHdl.reset(new XMLStringPropHdl);
226 break;
227 case XML_TYPE_COLOR :
228 pPropHdl.reset(new XMLColorPropHdl);
229 break;
230 case XML_TYPE_HEX :
231 pPropHdl.reset(new XMLHexPropHdl);
232 break;
233 case XML_TYPE_NUMBER :
234 pPropHdl.reset(new XMLNumberPropHdl( 4 ));
235 break;
236 case XML_TYPE_NUMBER8 :
237 pPropHdl.reset(new XMLNumberPropHdl( 1 ));
238 break;
240 pPropHdl.reset(new XMLNumberPropHdl( 2 ));
241 break;
243 pPropHdl.reset(new XMLNumberNonePropHdl);
244 break;
246 pPropHdl.reset(new XMLNumberNonePropHdl( 1 ));
247 break;
249 pPropHdl.reset(new XMLNumberNonePropHdl( 2 ));
250 break;
251 case XML_TYPE_DOUBLE :
252 pPropHdl.reset(new XMLDoublePropHdl);
253 break;
254 case XML_TYPE_NBOOL :
255 pPropHdl.reset(new XMLNBoolPropHdl);
256 break;
258 pPropHdl.reset(new XMLColorTransparentPropHdl);
259 break;
261 pPropHdl.reset(new XMLIsTransparentPropHdl);
262 break;
263 case XML_TYPE_COLORAUTO :
264 pPropHdl.reset(new XMLColorAutoPropHdl);
265 break;
267 pPropHdl.reset(new XMLIsAutoColorPropHdl);
268 break;
270 pPropHdl.reset(new XMLCompareOnlyPropHdl);
271 break;
272
277 pPropHdl.reset(new XMLRectangleMembersHdl( nType ));
278 break;
279
281 pPropHdl.reset(new XMLCrossedOutTypePropHdl) ;
282 break;
284 pPropHdl.reset(new XMLCrossedOutStylePropHdl) ;
285 break;
287 pPropHdl.reset(new XMLCrossedOutWidthPropHdl) ;
288 break;
290 pPropHdl.reset(new XMLCrossedOutTextPropHdl) ;
291 break;
293 pPropHdl.reset(new XMLNamedBoolPropertyHdl(
296 break;
298 pPropHdl.reset(new XMLEscapementPropHdl);
299 break;
301 pPropHdl.reset(new XMLEscapementHeightPropHdl);
302 break;
304 pPropHdl.reset(new XMLCaseMapPropHdl);
305 break;
307 pPropHdl.reset(new XMLCaseMapVariantHdl);
308 break;
310 pPropHdl.reset(new XMLFontFamilyNamePropHdl);
311 break;
313 pPropHdl.reset(new XMLFontFamilyPropHdl);
314 break;
316 pPropHdl.reset(new XMLFontEncodingPropHdl);
317 break;
319 pPropHdl.reset(new XMLFontPitchPropHdl);
320 break;
322 pPropHdl.reset(new XMLKerningPropHdl);
323 break;
325 pPropHdl.reset(new XMLPosturePropHdl);
326 break;
328 pPropHdl.reset(new XMLShadowedPropHdl);
329 break;
331 pPropHdl.reset(new XMLUnderlineTypePropHdl);
332 break;
334 pPropHdl.reset(new XMLUnderlineStylePropHdl);
335 break;
337 pPropHdl.reset(new XMLUnderlineWidthPropHdl);
338 break;
340 pPropHdl.reset(new XMLColorTransparentPropHdl( XML_FONT_COLOR ));
341 break;
343 pPropHdl.reset(new XMLIsTransparentPropHdl( XML_FONT_COLOR,
344 false ));
345 break;
347 pPropHdl.reset(new XMLUnderlineTypePropHdl);
348 break;
350 pPropHdl.reset(new XMLUnderlineStylePropHdl);
351 break;
353 pPropHdl.reset(new XMLUnderlineWidthPropHdl);
354 break;
356 pPropHdl.reset(new XMLColorTransparentPropHdl( XML_FONT_COLOR ));
357 break;
359 pPropHdl.reset(new XMLIsTransparentPropHdl( XML_FONT_COLOR,
360 false ));
361 break;
363 pPropHdl.reset(new XMLFontWeightPropHdl);
364 break;
366 pPropHdl.reset(new XMLNamedBoolPropertyHdl(
369 break;
371 pPropHdl.reset(new XMLFmtBreakBeforePropHdl);
372 break;
374 pPropHdl.reset(new XMLFmtBreakAfterPropHdl);
375 break;
377 pPropHdl.reset(new XMLShadowPropHdl);
378 break;
380 pPropHdl.reset(new XMLParaAdjustPropHdl);
381 break;
383 pPropHdl.reset(new XMLLastLineAdjustPropHdl);
384 break;
386 pPropHdl.reset(new XMLCharHeightHdl);
387 break;
389 pPropHdl.reset(new XMLCharHeightPropHdl);
390 break;
392 pPropHdl.reset(new XMLCharHeightDiffHdl);
393 break;
395 pPropHdl.reset(new XMLCharRfcLanguageTagHdl);
396 break;
398 pPropHdl.reset(new XMLCharLanguageHdl);
399 break;
401 pPropHdl.reset(new XMLCharScriptHdl);
402 break;
404 pPropHdl.reset(new XMLCharCountryHdl);
405 break;
407 pPropHdl.reset(new XMLLineHeightHdl);
408 break;
410 pPropHdl.reset(new XMLLineHeightAtLeastHdl);
411 break;
413 pPropHdl.reset(new XMLLineSpacingHdl);
414 break;
416 pPropHdl.reset(new XMLBorderWidthHdl);
417 break;
418 case XML_TYPE_BORDER:
419 pPropHdl.reset(new XMLBorderHdl);
420 break;
422 pPropHdl.reset(new XMLTabStopPropHdl);
423 break;
425 pPropHdl.reset(new XMLAttributeContainerHandler);
426 break;
428 pPropHdl.reset(new XMLEnumPropertyHdl(aXML_ColorMode_EnumMap));
429 break;
431 pPropHdl.reset(new XMLDurationMS16PropHdl_Impl);
432 break;
435 break;
437 pPropHdl.reset(new DrawAspectHdl);
438 break;
440 pPropHdl.reset(new XMLConstantsPropertyHandler(
442 XML_LR_TB));
443 break;
445 pPropHdl.reset(new XMLConstantsPropertyHandler(
447 XML_PAGE));
448 break;
450 pPropHdl.reset(new XMLNamedBoolPropertyHdl(
453 break;
454 case XML_TYPE_STYLENAME :
455 pPropHdl.reset(new XMLStyleNamePropHdl);
456 break;
458 pPropHdl.reset(new XMLNumberWithoutZeroPropHdl( 4 ));
459 break;
461 pPropHdl.reset(new XMLNumberWithoutZeroPropHdl( 1 ));
462 break;
464 pPropHdl.reset(new XMLNumberWithoutZeroPropHdl( 2 ));
465 break;
467 pPropHdl.reset(new XMLNumberWithAutoForVoidPropHdl);
468 break;
471 break;
472
473 }
474
475 return pPropHdl;
476}
477
478/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
PropertyHandler for the XML-data-type:
Maps between XML percentage and our 100th percent ints.
Definition: xmlbahdl.hxx:97
PropertyHandler for the XML-data-type:
PropertyHandler for the XML-data-type: XML_TYPE_BOOL.
Definition: xmlbahdl.hxx:136
PropertyHandler for the XML-data-type:
Definition: bordrhdl.hxx:28
PropertyHandler for the XML-data-type:
Definition: csmaphdl.hxx:28
PropertyHandler for the XML-data-type:
Definition: chrhghdl.hxx:28
PropertyHandler for the XML-data-type:
Definition: chrlohdl.hxx:28
PropertyHandler for the XML-data-type: XML_TYPE_COLORAUTO.
Definition: xmlbahdl.hxx:262
PropertyHandler for the XML-data-type: XML_TYPE_COLOR.
Definition: xmlbahdl.hxx:158
PropertyHandler for the XML-data-type: XML_TYPE_COLORTRANSPARENT.
Definition: xmlbahdl.hxx:230
PropertyHandler for properties that cannot make use of importXML and exportXML methods,...
Definition: xmlbahdl.hxx:290
Abstract base-class for different XML-types.
PropertyHandler for the XML-data-type:
Definition: cdouthdl.hxx:28
PropertyHandler for the XML-data-type: XML_TYPE_PERCENT that is mapped on a double from 0....
Definition: xmlbahdl.hxx:90
PropertyHandler for the XML-data-type: XML_TYPE_DOUBLE.
Definition: xmlbahdl.hxx:206
PropertyHandler for a sal_int16 duration in ms:
Definition: durationhdl.hxx:28
PropertyHandler for a generic xml enumeration type:
PropertyHandler for the XML-data-type:
Definition: escphdl.hxx:28
PropertyHandler for the XML-data-type:
Definition: breakhdl.hxx:40
PropertyHandler for the XML-data-type:
Definition: breakhdl.hxx:28
PropertyHandler for the XML-data-type:
Definition: fonthdl.hxx:52
PropertyHandler for the XML-data-type:
Definition: fonthdl.hxx:28
PropertyHandler for the XML-data-type:
Definition: fonthdl.hxx:40
PropertyHandler for the XML-data-type:
Definition: fonthdl.hxx:64
PropertyHandler for the XML-data-type:
Definition: weighhdl.hxx:28
PropertyHandler for the XML-data-type: XML_TYPE_HEX.
Definition: xmlbahdl.hxx:170
PropertyHandler for the XML-data-type: XML_TYPE_COLORISAUTO.
Definition: xmlbahdl.hxx:275
PropertyHandler for the XML-data-type: XML_TYPE_ISTRANSPARENT.
Definition: xmlbahdl.hxx:245
PropertyHandler for the XML-data-type:
Definition: kernihdl.hxx:28
PropertyHandler for the XML-data-type:
Definition: adjushdl.hxx:40
PropertyHandler for the XML-data-type:
Definition: lspachdl.hxx:28
PropertyHandler for the XML-data-type: XML_TYPE_MEASURE.
Definition: xmlbahdl.hxx:61
PropertyHandler for the XML-data-type: XML_TYPE_PERCENT.
Definition: xmlbahdl.hxx:122
PropertyHandler for the XML-data-type: XML_TYPE_NBOOL.
Definition: xmlbahdl.hxx:218
PropertyHandler for a named xml bool type:
PropertyHandler for the XML-data-type: XML_TYPE_NEG_PERCENT.
Definition: xmlbahdl.hxx:108
PropertyHandler for the XML-data-type: XML_TYPE_NUMBER_NONE.
Definition: xmlbahdl.hxx:45
PropertyHandler for the XML-data-type: XML_TYPE_NUMBER.
Definition: xmlbahdl.hxx:30
PropertyHandler for the XML-data-type: XML_TYPE_NUMBER16_AUTO Reads/writes numeric properties with sp...
PropertyHandler for the XML-data-type: XML_TYPE_NUMBER_NO_ZERO Reads/writes numeric properties,...
Definition: xmlbahdl.hxx:304
PropertyHandler for the XML-data-type:
Definition: adjushdl.hxx:28
PropertyHandler for the XML-data-type: XML_TYPE_PERCENT.
Definition: xmlbahdl.hxx:75
PropertyHandler for the XML-data-type:
Definition: postuhdl.hxx:28
SAL_DLLPRIVATE const XMLPropertyHandler * GetBasicHandler(sal_Int32 nType) const
Retrieves ( creates if necessary ) PropertyHandler for basic XML-types.
Definition: prhdlfac.cxx:164
std::unique_ptr< Impl > mpImpl
Definition: prhdlfac.hxx:42
void PutHdlCache(sal_Int32 nType, const XMLPropertyHandler *pHdl) const
Puts a PropertyHandler into the internal cache.
Definition: prhdlfac.cxx:159
const XMLPropertyHandler * GetHdlCache(sal_Int32 nType) const
Retrieves a PropertyHandler from the internal cache.
Definition: prhdlfac.cxx:149
virtual const XMLPropertyHandler * GetPropertyHandler(sal_Int32 nType) const
This method retrieves a PropertyHandler for the given XML-type.
Definition: prhdlfac.cxx:141
virtual ~XMLPropertyHandlerFactory() override
Definition: prhdlfac.cxx:134
static std::unique_ptr< XMLPropertyHandler > CreatePropertyHandler(sal_Int32 nType)
helper method to statically create a property handler; this will not use the handler cache.
Definition: prhdlfac.cxx:176
Abstract base-class for different XML-types.
Definition: xmlprhdl.hxx:36
Abstract base-class for different XML-types.
PropertyHandler for the XML-data-type:
Definition: shadwhdl.hxx:28
PropertyHandler for the XML-data-type:
Definition: shdwdhdl.hxx:28
PropertyHandler for the XML-data-type: XML_TYPE_STRING.
Definition: xmlbahdl.hxx:182
PropertyHandler for the XML-data-type: XML_TYPE_STYLENAME.
Definition: xmlbahdl.hxx:194
PropertyHandler for the XML-data-type:
Definition: tabsthdl.hxx:28
PropertyHandler for the XML-data-type:
Definition: undlihdl.hxx:28
#define SAL_WARN_IF(condition, area, stream)
Handling of tokens in XML:
const OUString & GetXMLToken(enum XMLTokenEnum eToken)
return the OUString representation for eToken
Definition: xmltoken.cxx:3525
SvXMLEnumMapEntry< drawing::ColorMode > const aXML_ColorMode_EnumMap[]
Definition: prhdlfac.cxx:65
SvXMLEnumMapEntry< text::HorizontalAdjust > const aXML_HorizontalAdjust_Enum[]
Definition: prhdlfac.cxx:74
SvXMLEnumMapEntry< sal_uInt16 > const pXML_VertPos_Enum[]
Definition: prhdlfac.cxx:108
SvXMLEnumMapEntry< sal_uInt16 > const aXML_WritingDirection_Enum[]
Definition: prhdlfac.cxx:85
std::map< sal_Int32, const XMLPropertyHandler * > CacheMap
Definition: prhdlfac.cxx:124
QPRO_FUNC_TYPE nType
#define XML_TYPE_CHAR_LANGUAGE
Definition: xmltypes.hxx:186
#define XML_TYPE_NUMBER8_NONE
Definition: xmltypes.hxx:143
#define XML_TYPE_MEASURE8
Definition: xmltypes.hxx:127
#define XML_TYPE_LINE_SPACE_DISTANCE
Definition: xmltypes.hxx:190
#define XML_TYPE_RECTANGLE_LEFT
Definition: xmltypes.hxx:159
#define XML_TYPE_CHAR_HEIGHT_DIFF
Definition: xmltypes.hxx:220
#define XML_TYPE_TEXT_POSTURE
Definition: xmltypes.hxx:171
#define XML_TYPE_LINE_SPACE_FIXED
Definition: xmltypes.hxx:188
#define XML_TYPE_DOUBLE
Definition: xmltypes.hxx:138
#define XML_TYPE_TEXT_CROSSEDOUT_WIDTH
Definition: xmltypes.hxx:260
#define XML_TYPE_NUMBER16
Definition: xmltypes.hxx:136
#define XML_TYPE_NEG_PERCENT
Definition: xmltypes.hxx:151
#define XML_TYPE_COLORTRANSPARENT
Definition: xmltypes.hxx:140
#define XML_TYPE_TEXT_KERNING
Definition: xmltypes.hxx:170
#define XML_TYPE_NUMBER16_NO_ZERO
Definition: xmltypes.hxx:269
#define XML_TYPE_TEXT_UNDERLINE_STYLE
Definition: xmltypes.hxx:173
#define XML_TYPE_TEXT_WEIGHT
Definition: xmltypes.hxx:174
#define XML_TYPE_CHAR_HEIGHT_PROP
Definition: xmltypes.hxx:185
#define XML_TYPE_TEXT_CROSSEDOUT_TYPE
Definition: xmltypes.hxx:259
#define XML_TYPE_TEXT_ESCAPEMENT_HEIGHT
Definition: xmltypes.hxx:183
#define XML_TYPE_TEXT_ESCAPEMENT
Definition: xmltypes.hxx:182
#define XML_TYPE_LINE_SPACE_MINIMUM
Definition: xmltypes.hxx:189
#define XML_TYPE_TEXT_CROSSEDOUT_TEXT
Definition: xmltypes.hxx:261
#define XML_TYPE_CHAR_SCRIPT
Definition: xmltypes.hxx:281
#define XML_TYPE_TEXT_UNDERLINE_COLOR
Definition: xmltypes.hxx:224
#define XML_TYPE_MEASURE16
Definition: xmltypes.hxx:128
#define XML_TYPE_TEXT_ADJUST
Definition: xmltypes.hxx:179
#define XML_TYPE_TEXT_SHADOW
Definition: xmltypes.hxx:178
#define XML_TYPE_BUILDIN_CMP_ONLY
Definition: xmltypes.hxx:142
#define XML_TYPE_NUMBER_NO_ZERO
Definition: xmltypes.hxx:267
#define XML_TYPE_RECTANGLE_HEIGHT
Definition: xmltypes.hxx:162
#define XML_TYPE_TEXT_FONTENCODING
Definition: xmltypes.hxx:168
#define XML_TYPE_TEXT_FONTFAMILY
Definition: xmltypes.hxx:167
#define XML_TYPE_TEXT_UNDERLINE_HASCOLOR
Definition: xmltypes.hxx:225
#define XML_TYPE_STYLENAME
Definition: xmltypes.hxx:150
#define XML_TYPE_NEG_PERCENT16
Definition: xmltypes.hxx:153
#define XML_TYPE_TEXT_WRITING_MODE
Definition: xmltypes.hxx:250
#define XML_TYPE_PERCENT8
Definition: xmltypes.hxx:130
#define XML_TYPE_PERCENT
Definition: xmltypes.hxx:129
#define XML_TYPE_ATTRIBUTE_CONTAINER
Definition: xmltypes.hxx:219
#define XML_TYPE_BOOL_FALSE
Definition: xmltypes.hxx:279
#define XML_TYPE_TEXT_VERTICAL_POS
Definition: xmltypes.hxx:210
#define XML_TYPE_TEXT_FONTPITCH
Definition: xmltypes.hxx:169
#define XML_TYPE_BORDER
Definition: xmltypes.hxx:191
#define XML_TYPE_TEXT_HIDDEN_AS_DISPLAY
Definition: xmltypes.hxx:253
#define XML_TYPE_RECTANGLE_TOP
Definition: xmltypes.hxx:160
#define XML_TYPE_TEXT_ADJUSTLAST
Definition: xmltypes.hxx:180
#define XML_TYPE_PERCENT16
Definition: xmltypes.hxx:131
#define XML_TYPE_TEXT_OVERLINE_TYPE
Definition: xmltypes.hxx:274
#define XML_TYPE_CHAR_RFC_LANGUAGE_TAG
Definition: xmltypes.hxx:282
#define XML_TYPE_MEASURE_PX
Definition: xmltypes.hxx:147
#define XML_TYPE_TEXT_CASEMAP
Definition: xmltypes.hxx:165
#define XML_TYPE_TEXT_SHADOWED
Definition: xmltypes.hxx:172
#define XML_TYPE_TEXT_OVERLINE_HASCOLOR
Definition: xmltypes.hxx:278
#define XML_TYPE_NUMBER8
Definition: xmltypes.hxx:135
#define XML_TYPE_RECTANGLE_WIDTH
Definition: xmltypes.hxx:161
#define XML_TYPE_NBOOL
Definition: xmltypes.hxx:139
#define XML_TYPE_CHAR_COUNTRY
Definition: xmltypes.hxx:187
#define XML_TYPE_TEXT_TABSTOP
Definition: xmltypes.hxx:194
#define XML_TYPE_STRING
Definition: xmltypes.hxx:132
#define XML_TYPE_TEXT_OVERLINE_WIDTH
Definition: xmltypes.hxx:276
#define XML_TYPE_TEXT_HORIZONTAL_ADJUST
Definition: xmltypes.hxx:240
#define XML_TYPE_BORDER_WIDTH
Definition: xmltypes.hxx:192
#define XML_TYPE_TEXT_BREAKAFTER
Definition: xmltypes.hxx:177
#define XML_TYPE_TEXT_BOOLCROSSEDOUT
Definition: xmltypes.hxx:195
#define XML_TYPE_TEXT_UNDERLINE_WIDTH
Definition: xmltypes.hxx:258
#define XML_TYPE_HEX
Definition: xmltypes.hxx:155
#define XML_TYPE_COLOR_MODE
Definition: xmltypes.hxx:145
#define XML_TYPE_CHAR_HEIGHT
Definition: xmltypes.hxx:184
#define XML_TYPE_MEASURE
Definition: xmltypes.hxx:126
#define XML_TYPE_TEXT_OVERLINE_STYLE
Definition: xmltypes.hxx:275
#define XML_TYPE_NUMBER_NONE
Definition: xmltypes.hxx:137
#define XML_TYPE_DURATION16_MS
Definition: xmltypes.hxx:146
#define XML_TYPE_COLOR
Definition: xmltypes.hxx:133
#define XML_TYPE_NEG_PERCENT8
Definition: xmltypes.hxx:152
#define XML_TYPE_NUMBER16_NONE
Definition: xmltypes.hxx:144
#define XML_TYPE_NUMBER16_AUTO
Definition: xmltypes.hxx:270
#define XML_TYPE_TEXT_CASEMAP_VAR
Definition: xmltypes.hxx:181
#define XML_TYPE_TEXT_FONTFAMILYNAME
Definition: xmltypes.hxx:166
#define XML_TYPE_ISAUTOCOLOR
Definition: xmltypes.hxx:149
#define XML_TYPE_COLORAUTO
Definition: xmltypes.hxx:148
#define XML_TYPE_NUMBER
Definition: xmltypes.hxx:134
#define XML_TYPE_TEXT_OVERLINE_COLOR
Definition: xmltypes.hxx:277
#define XML_TYPE_ISTRANSPARENT
Definition: xmltypes.hxx:141
#define XML_TYPE_DOUBLE_PERCENT
Definition: xmltypes.hxx:154
#define XML_TYPE_TEXT_BREAKBEFORE
Definition: xmltypes.hxx:176
#define XML_TYPE_PERCENT100
Definition: xmltypes.hxx:156
#define XML_TYPE_TEXT_WRITING_MODE_WITH_DEFAULT
Definition: xmltypes.hxx:251
#define XML_TYPE_TEXT_SPLIT
Definition: xmltypes.hxx:175
#define XML_TYPE_TEXT_DRAW_ASPECT
Definition: xmltypes.hxx:246
#define MID_FLAG_MASK
Definition: xmltypes.hxx:36
#define XML_TYPE_BOOL
Definition: xmltypes.hxx:125
#define XML_TYPE_TEXT_CROSSEDOUT_STYLE
Definition: xmltypes.hxx:164
#define XML_TYPE_TEXT_UNDERLINE_TYPE
Definition: xmltypes.hxx:257
#define XML_TYPE_NUMBER8_NO_ZERO
Definition: xmltypes.hxx:268