LibreOffice Module reportdesign (master) 1
xmlHelper.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#include "xmlHelper.hxx"
21#include <xmloff/xmltoken.hxx>
22#include <xmloff/families.hxx>
24#include <xmloff/xmltkmap.hxx>
28#include <com/sun/star/beans/PropertyAttribute.hpp>
29#include <com/sun/star/awt/FontDescriptor.hpp>
30#include <com/sun/star/awt/ImageScaleMode.hpp>
31#include <xmloff/prstylei.hxx>
32#include <strings.hxx>
33#include "xmlEnums.hxx"
34#include <com/sun/star/table/BorderLine2.hpp>
35#include <com/sun/star/report/ForceNewPage.hpp>
36#include <com/sun/star/report/ReportPrintOption.hpp>
37#include <com/sun/star/report/KeepTogether.hpp>
38#include <xmloff/xmlement.hxx>
39#include <xmloff/xmltypes.hxx>
40#include <xmloff/maptype.hxx>
41#include <com/sun/star/report/XReportControlFormat.hpp>
42#include <com/sun/star/form/ListSourceType.hpp>
43#include <com/sun/star/sdb/CommandType.hpp>
44#include <com/sun/star/style/VerticalAlignment.hpp>
47
48#define XML_RPT_ALIGNMENT (XML_DB_TYPES_START+1)
49namespace rptxml
50{
51 using namespace ::xmloff::token;
52 using namespace ::com::sun::star::awt;
53 using namespace ::com::sun::star;
54 using namespace ::com::sun::star::sdb;
55 using namespace ::com::sun::star::form;
56 using namespace ::com::sun::star::beans;
58{
59}
60
62{
63}
64
66{
67 const XMLPropertyHandler* pHandler = nullptr;
68 sal_Int32 nType = _nType;
70
71 switch(nType)
72 {
74 {
76 {
77 { XML_TOP, style::VerticalAlignment_TOP },
78 { XML_MIDDLE, style::VerticalAlignment_MIDDLE },
79 { XML_BOTTOM, style::VerticalAlignment_BOTTOM },
80 { XML_TOKEN_INVALID, style::VerticalAlignment(0) }
81 };
82
84 }
85 break;
86 case XML_SD_TYPES_START+34: // XML_SD_TYPE_IMAGE_SCALE_MODE
87 pHandler = new xmloff::ImageScaleModeHandler();
88 break;
89 default:
90 break;
91 }
92
93 if ( !pHandler )
95 else
96 PutHdlCache(nType, pHandler);
97 return pHandler;
98}
99
100#define MAP_CONST_T_ASCII( name, prefix, token, type, context ) { name, XML_NAMESPACE_##prefix, XML_##token, type|XML_TYPE_PROP_TABLE, context, SvtSaveOptions::ODFSVER_010, false }
101#define MAP_CONST_P_ASCII( name, prefix, token, type, context ) { name, XML_NAMESPACE_##prefix, XML_##token, type|XML_TYPE_PROP_PARAGRAPH, context, SvtSaveOptions::ODFSVER_010, false }
102#define MAP_CONST_S( name, prefix, token, type, context ) { name, XML_NAMESPACE_##prefix, XML_##token, type|XML_TYPE_PROP_SECTION, context, SvtSaveOptions::ODFSVER_010, false }
103#define MAP_CONST_C_ASCII( name, prefix, token, type, context ) { name, XML_NAMESPACE_##prefix, XML_##token, type|XML_TYPE_PROP_TABLE_CELL, context, SvtSaveOptions::ODFSVER_010, false }
104#define MAP_END() { nullptr }
105
107{
108 if ( _bOldFormat )
109 {
110 static const XMLPropertyMapEntry s_aXMLCellStylesProperties[] =
111 {
113
115 FO, BACKGROUND_COLOR, XML_TYPE_COLORTRANSPARENT|MID_FLAG_MULTI_PROPERTY, 0 ),
118 FO, BACKGROUND_COLOR, XML_TYPE_ISTRANSPARENT|MID_FLAG_MERGE_ATTRIBUTE, 0 ),
120 FO, BACKGROUND_COLOR, XML_TYPE_COLORTRANSPARENT|MID_FLAG_MULTI_PROPERTY, 0 ),
122 FO, BACKGROUND_COLOR, XML_TYPE_ISTRANSPARENT|MID_FLAG_MERGE_ATTRIBUTE, 0 ),
127 MAP_END()
128 };
129 return new XMLPropertySetMapper(s_aXMLCellStylesProperties,new OPropertyHandlerFactory(), bForExport);
130 }
131 else
132 {
133 static const XMLPropertyMapEntry s_aXMLCellStylesProperties[] =
134 {
136
138 FO, BACKGROUND_COLOR, XML_TYPE_COLORTRANSPARENT|MID_FLAG_MULTI_PROPERTY, 0 ),
140 FO, BACKGROUND_COLOR, XML_TYPE_ISTRANSPARENT|MID_FLAG_MERGE_ATTRIBUTE, 0 ),
142 STYLE, VERTICAL_ALIGN, XML_RPT_ALIGNMENT, 0 ),
147 MAP_END()
148 };
149 return new XMLPropertySetMapper(s_aXMLCellStylesProperties,new OPropertyHandlerFactory(), bForExport);
150 }
151}
152
154{
155 static const XMLPropertyMapEntry aXMLTableStylesProperties[] =
156 {
159 MAP_END()
160 };
161 return aXMLTableStylesProperties;
162}
163
165{
166 static const XMLPropertyMapEntry aXMLStylesProperties[] =
167 {
170 MAP_END()
171 };
172 return aXMLStylesProperties;
173}
174
176{
177 static const XMLPropertyMapEntry aXMLColumnStylesProperties[] =
178 {
180 MAP_END()
181 };
182 return aXMLColumnStylesProperties;
183}
184
186{
187 static const SvXMLEnumMapEntry<sal_Int16> s_aXML_EnumMap[] =
188 {
189 { XML_NOT_WITH_REPORT_HEADER, report::ReportPrintOption::NOT_WITH_REPORT_HEADER },
190 { XML_NOT_WITH_REPORT_FOOTER, report::ReportPrintOption::NOT_WITH_REPORT_FOOTER },
191 { XML_NOT_WITH_REPORT_HEADER_NOR_FOOTER, report::ReportPrintOption::NOT_WITH_REPORT_HEADER_FOOTER },
192 { XML_TOKEN_INVALID, 0 }
193 };
194 return s_aXML_EnumMap;
195}
196
198{
199 static const SvXMLEnumMapEntry<sal_Int16> s_aXML_EnumMap[] =
200 {
201 { XML_BEFORE_SECTION, report::ForceNewPage::BEFORE_SECTION },
202 { XML_AFTER_SECTION, report::ForceNewPage::AFTER_SECTION },
203 { XML_BEFORE_AFTER_SECTION, report::ForceNewPage::BEFORE_AFTER_SECTION },
204 { XML_TOKEN_INVALID, 0 }
205 };
206 return s_aXML_EnumMap;
207}
208
210{
211 static const SvXMLEnumMapEntry<sal_Int16> s_aXML_EnumMap[] =
212 {
213 { XML_WHOLE_GROUP, report::KeepTogether::WHOLE_GROUP },
214 { XML_WITH_FIRST_DETAIL, report::KeepTogether::WITH_FIRST_DETAIL },
215 { XML_TOKEN_INVALID, 0 }
216 };
217 return s_aXML_EnumMap;
218}
219
221{
222 static const SvXMLEnumMapEntry<sal_Int32> s_aXML_EnumMap[] =
223 {
224 { XML_TABLE, CommandType::TABLE },
225 { XML_QUERY, CommandType::QUERY },
226 { XML_TOKEN_INVALID, 0 }
227 };
228 return s_aXML_EnumMap;
229}
230
231#define PROPERTY_ID_FONTNAME 1
232#define PROPERTY_ID_FONTHEIGHT 2
233#define PROPERTY_ID_FONTWIDTH 3
234#define PROPERTY_ID_FONTSTYLENAME 4
235#define PROPERTY_ID_FONTFAMILY 5
236#define PROPERTY_ID_FONTCHARSET 6
237#define PROPERTY_ID_FONTPITCH 7
238#define PROPERTY_ID_FONTCHARWIDTH 8
239#define PROPERTY_ID_FONTWEIGHT 9
240#define PROPERTY_ID_FONTSLANT 10
241#define PROPERTY_ID_FONTUNDERLINE 11
242#define PROPERTY_ID_FONTSTRIKEOUT 12
243#define PROPERTY_ID_FONTORIENTATION 13
244#define PROPERTY_ID_FONTKERNING 14
245#define PROPERTY_ID_FONTWORDLINEMODE 15
246#define PROPERTY_ID_FONTTYPE 16
247void OXMLHelper::copyStyleElements(const bool _bOld,const OUString& _sStyleName,const SvXMLStylesContext* _pAutoStyles,const uno::Reference<beans::XPropertySet>& _xProp)
248{
249 if ( !_xProp.is() || _sStyleName.isEmpty() || !_pAutoStyles )
250 return;
251 XMLPropStyleContext* pAutoStyle = const_cast<XMLPropStyleContext*>(dynamic_cast< const XMLPropStyleContext *>(_pAutoStyles->FindStyleChildContext(XmlStyleFamily::TABLE_CELL,_sStyleName)));
252 if ( !pAutoStyle )
253 return;
254
255 css::awt::FontDescriptor aFont;
256 static comphelper::PropertyMapEntry const pMap[] =
257 {
258 {OUString(PROPERTY_FONTNAME), PROPERTY_ID_FONTNAME, cppu::UnoType<decltype(aFont.Name)>::get() ,PropertyAttribute::BOUND,0},
259 {OUString(PROPERTY_CHARFONTHEIGHT), PROPERTY_ID_FONTHEIGHT, cppu::UnoType<decltype(aFont.Height)>::get() ,PropertyAttribute::BOUND,0},
260 {OUString(PROPERTY_FONTWIDTH), PROPERTY_ID_FONTWIDTH, cppu::UnoType<decltype(aFont.Width)>::get() ,PropertyAttribute::BOUND,0},
261 {OUString(PROPERTY_FONTSTYLENAME), PROPERTY_ID_FONTSTYLENAME, cppu::UnoType<decltype(aFont.StyleName)>::get() ,PropertyAttribute::BOUND,0},
262 {OUString(PROPERTY_FONTFAMILY), PROPERTY_ID_FONTFAMILY, cppu::UnoType<decltype(aFont.Family)>::get() ,PropertyAttribute::BOUND,0},
263 {OUString(PROPERTY_FONTCHARSET), PROPERTY_ID_FONTCHARSET, cppu::UnoType<decltype(aFont.CharSet)>::get() ,PropertyAttribute::BOUND,0},
264 {OUString(PROPERTY_FONTPITCH), PROPERTY_ID_FONTPITCH, cppu::UnoType<decltype(aFont.Pitch)>::get() ,PropertyAttribute::BOUND,0},
265 {OUString(PROPERTY_FONTCHARWIDTH), PROPERTY_ID_FONTCHARWIDTH, cppu::UnoType<decltype(aFont.CharacterWidth)>::get(),PropertyAttribute::BOUND,0},
266 {OUString(PROPERTY_FONTWEIGHT), PROPERTY_ID_FONTWEIGHT, cppu::UnoType<decltype(aFont.Weight)>::get() ,PropertyAttribute::BOUND,0},
267 {OUString(PROPERTY_CHARPOSTURE), PROPERTY_ID_FONTSLANT, cppu::UnoType<decltype(aFont.Slant)>::get() ,PropertyAttribute::BOUND,0},
268 {OUString(PROPERTY_FONTUNDERLINE), PROPERTY_ID_FONTUNDERLINE, cppu::UnoType<decltype(aFont.Underline)>::get() ,PropertyAttribute::BOUND,0},
269 {OUString(PROPERTY_CHARSTRIKEOUT), PROPERTY_ID_FONTSTRIKEOUT, cppu::UnoType<decltype(aFont.Strikeout)>::get() ,PropertyAttribute::BOUND,0},
270 {OUString(PROPERTY_FONTORIENTATION), PROPERTY_ID_FONTORIENTATION, cppu::UnoType<decltype(aFont.Orientation)>::get() ,PropertyAttribute::BOUND,0},
271 {OUString(PROPERTY_FONTKERNING), PROPERTY_ID_FONTKERNING, cppu::UnoType<decltype(aFont.Kerning)>::get() ,PropertyAttribute::BOUND,0},
272 {OUString(PROPERTY_CHARWORDMODE), PROPERTY_ID_FONTWORDLINEMODE, cppu::UnoType<decltype(aFont.WordLineMode)>::get() ,PropertyAttribute::BOUND,0},
273 {OUString(PROPERTY_FONTTYPE), PROPERTY_ID_FONTTYPE, cppu::UnoType<decltype(aFont.Type)>::get() ,PropertyAttribute::BOUND,0},
274 };
275 try
276 {
277 pAutoStyle->FillPropertySet(_xProp);
278 if ( _bOld && _xProp->getPropertySetInfo()->hasPropertyByName(PROPERTY_CHARHIDDEN) )
279 _xProp->setPropertyValue(PROPERTY_CHARHIDDEN,uno::Any(false));
280
281 uno::Reference<beans::XPropertySet> xProp = comphelper::GenericPropertySet_CreateInstance(new comphelper::PropertySetInfo(pMap));
282 pAutoStyle->FillPropertySet(xProp);
283 xProp->getPropertyValue(PROPERTY_FONTNAME) >>= aFont.Name;
284 xProp->getPropertyValue(PROPERTY_CHARFONTHEIGHT) >>= aFont.Height;
285 xProp->getPropertyValue(PROPERTY_FONTWIDTH) >>= aFont.Width;
286 xProp->getPropertyValue(PROPERTY_FONTSTYLENAME) >>= aFont.StyleName;
287 xProp->getPropertyValue(PROPERTY_FONTFAMILY) >>= aFont.Family;
288 xProp->getPropertyValue(PROPERTY_FONTCHARSET) >>= aFont.CharSet;
289 xProp->getPropertyValue(PROPERTY_FONTPITCH) >>= aFont.Pitch;
290 xProp->getPropertyValue(PROPERTY_FONTCHARWIDTH) >>= aFont.CharacterWidth;
291 xProp->getPropertyValue(PROPERTY_FONTWEIGHT) >>= aFont.Weight;
292 xProp->getPropertyValue(PROPERTY_CHARPOSTURE) >>= aFont.Slant;
293 xProp->getPropertyValue(PROPERTY_FONTUNDERLINE) >>= aFont.Underline;
294 xProp->getPropertyValue(PROPERTY_CHARSTRIKEOUT) >>= aFont.Strikeout;
295 xProp->getPropertyValue(PROPERTY_FONTORIENTATION) >>= aFont.Orientation;
296 xProp->getPropertyValue(PROPERTY_FONTKERNING) >>= aFont.Kerning;
297 xProp->getPropertyValue(PROPERTY_CHARWORDMODE) >>= aFont.WordLineMode;
298 xProp->getPropertyValue(PROPERTY_FONTTYPE) >>= aFont.Type;
299 uno::Reference<report::XReportControlFormat> xReportControlModel(_xProp,uno::UNO_QUERY);
300 if ( xReportControlModel.is() && !aFont.Name.isEmpty() )
301 {
302 try
303 {
304 xReportControlModel->setFontDescriptor(aFont);
305 }
306 catch(const beans::UnknownPropertyException &){}
307 }
308 }
309 catch(uno::Exception&)
310 {
311 TOOLS_WARN_EXCEPTION( "reportdesign", "OXMLHelper::copyStyleElements");
312 }
313}
314
315uno::Reference<beans::XPropertySet> OXMLHelper::createBorderPropertySet()
316{
317 static comphelper::PropertyMapEntry const pMap[] =
318 {
319 {OUString(PROPERTY_BORDERLEFT), 0, cppu::UnoType<table::BorderLine2>::get(),PropertyAttribute::BOUND,0},
320 {OUString(PROPERTY_BORDERRIGHT), 1, cppu::UnoType<table::BorderLine2>::get(),PropertyAttribute::BOUND,0},
321 {OUString(PROPERTY_BORDERTOP), 2, cppu::UnoType<table::BorderLine2>::get(),PropertyAttribute::BOUND,0},
322 {OUString(PROPERTY_BORDERBOTTOM), 3, cppu::UnoType<table::BorderLine2>::get(),PropertyAttribute::BOUND,0},
323 };
325}
326
327std::unique_ptr<SvXMLTokenMap> OXMLHelper::GetReportElemTokenMap()
328{
329 static const SvXMLTokenMapEntry aElemTokenMap[]=
330 {
351 };
352 return std::make_unique<SvXMLTokenMap>( aElemTokenMap );
353}
354
355std::unique_ptr<SvXMLTokenMap> OXMLHelper::GetSubDocumentElemTokenMap()
356{
357 static const SvXMLTokenMapEntry aElemTokenMap[]=
358 {
363 };
364 return std::make_unique<SvXMLTokenMap>( aElemTokenMap );
365}
366
368{
369 static const SvXMLEnumMapEntry<sal_Int16> s_aXML_EnumMap[] =
370 {
371 { XML_ISOTROPIC, awt::ImageScaleMode::ISOTROPIC },
372 { XML_ANISOTROPIC, awt::ImageScaleMode::ANISOTROPIC },
373 { XML_TOKEN_INVALID, 0 }
374 };
375 return s_aXML_EnumMap;
376}
377
378
379} // rptxml
380
381
382/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const SvXMLStyleContext * FindStyleChildContext(XmlStyleFamily nFamily, const OUString &rName, bool bCreateIndex=false) const
virtual void FillPropertySet(const css::uno::Reference< css::beans::XPropertySet > &rPropSet)
void PutHdlCache(sal_Int32 nType, const XMLPropertyHandler *pHdl) const
css::uno::Type const & get()
virtual ~OPropertyHandlerFactory() override
Definition: xmlHelper.cxx:61
virtual const XMLPropertyHandler * GetPropertyHandler(sal_Int32 _nType) const override
Definition: xmlHelper.cxx:65
static void copyStyleElements(const bool _bOld, const OUString &_sStyleName, const SvXMLStylesContext *_pAutoStyles, const css::uno::Reference< css::beans::XPropertySet > &_xProp)
Definition: xmlHelper.cxx:247
static std::unique_ptr< SvXMLTokenMap > GetReportElemTokenMap()
Definition: xmlHelper.cxx:327
static std::unique_ptr< SvXMLTokenMap > GetSubDocumentElemTokenMap()
Definition: xmlHelper.cxx:355
static const SvXMLEnumMapEntry< sal_Int16 > * GetReportPrintOptions()
Definition: xmlHelper.cxx:185
static css::uno::Reference< css::beans::XPropertySet > createBorderPropertySet()
Definition: xmlHelper.cxx:315
static const SvXMLEnumMapEntry< sal_Int16 > * GetKeepTogetherOptions()
Definition: xmlHelper.cxx:209
static const SvXMLEnumMapEntry< sal_Int32 > * GetCommandTypeOptions()
Definition: xmlHelper.cxx:220
static const SvXMLEnumMapEntry< sal_Int16 > * GetImageScaleOptions()
Definition: xmlHelper.cxx:367
static const XMLPropertyMapEntry * GetColumnStyleProps()
Definition: xmlHelper.cxx:175
static const SvXMLEnumMapEntry< sal_Int16 > * GetForceNewPageOptions()
Definition: xmlHelper.cxx:197
static const XMLPropertyMapEntry * GetRowStyleProps()
Definition: xmlHelper.cxx:164
static const XMLPropertyMapEntry * GetTableStyleProps()
Definition: xmlHelper.cxx:153
static rtl::Reference< XMLPropertySetMapper > GetCellStylePropertyMap(bool _bOldFormat, bool bForExport)
Definition: xmlHelper.cxx:106
virtual const XMLPropertyHandler * GetPropertyHandler(sal_Int32 _nType) const override
#define TOOLS_WARN_EXCEPTION(area, stream)
COMPHELPER_DLLPUBLIC css::uno::Reference< css::beans::XPropertySet > GenericPropertySet_CreateInstance(PropertySetInfo *pInfo)
@ XML_TOK_SUB_DETAIL
Definition: xmlEnums.hxx:54
@ XML_TOK_MASTER
Definition: xmlEnums.hxx:53
@ XML_TOK_MASTER_DETAIL_FIELD
Definition: xmlEnums.hxx:52
@ XML_TOK_COMMAND
Definition: xmlEnums.hxx:37
@ XML_TOK_REPORT_FUNCTION
Definition: xmlEnums.hxx:41
@ XML_TOK_FILTER
Definition: xmlEnums.hxx:38
@ XML_TOK_SUB_BODY
Definition: xmlEnums.hxx:47
@ XML_TOK_COMMAND_TYPE
Definition: xmlEnums.hxx:36
@ XML_TOK_REPORT_FOOTER
Definition: xmlEnums.hxx:33
@ XML_TOK_CAPTION
Definition: xmlEnums.hxx:39
@ XML_TOK_PAGE_HEADER
Definition: xmlEnums.hxx:29
@ XML_TOK_REPORT_MIMETYPE
Definition: xmlEnums.hxx:43
@ XML_TOK_GROUP
Definition: xmlEnums.hxx:30
@ XML_TOK_FOOTER_ON_NEW_PAGE
Definition: xmlEnums.hxx:35
@ XML_TOK_REPORT_NAME
Definition: xmlEnums.hxx:44
@ XML_TOK_HEADER_ON_NEW_PAGE
Definition: xmlEnums.hxx:34
@ XML_TOK_REPORT_HEADER
Definition: xmlEnums.hxx:28
@ XML_TOK_DETAIL
Definition: xmlEnums.hxx:31
@ XML_TOK_MASTER_DETAIL_FIELDS
Definition: xmlEnums.hxx:45
@ XML_TOK_PAGE_FOOTER
Definition: xmlEnums.hxx:32
@ XML_TOK_ESCAPE_PROCESSING
Definition: xmlEnums.hxx:40
@ XML_TOK_SUB_FRAME
Definition: xmlEnums.hxx:46
BORDER_TOP
BORDER_LEFT
BORDER_BOTTOM
BORDER_RIGHT
XML_MASTER
XML_MIMETYPE
XML_QUERY
XML_BEFORE_AFTER_SECTION
XML_MASTER_DETAIL_FIELD
XML_FILTER
XML_MASTER_DETAIL_FIELDS
XML_TABLE
XML_ISOTROPIC
XML_NOT_WITH_REPORT_HEADER
XML_WHOLE_GROUP
XML_TOKEN_INVALID
XML_FOOTER_ON_NEW_PAGE
XML_COMMAND
XML_FUNCTION
XML_FRAME
XML_HEADER_ON_NEW_PAGE
XML_COMMAND_TYPE
XML_NOT_WITH_REPORT_FOOTER
XML_NOT_WITH_REPORT_HEADER_NOR_FOOTER
XML_REPORT_FOOTER
XML_ANISOTROPIC
XML_TOP
XML_MIDDLE
XML_BEFORE_SECTION
XML_ESCAPE_PROCESSING
XML_PAGE_HEADER
XML_NAME
XML_BODY
XML_AFTER_SECTION
XML_CAPTION
XML_GROUP
XML_WITH_FIRST_DETAIL
XML_DETAIL
XML_PAGE_FOOTER
XML_REPORT_HEADER
XML_BOTTOM
QPRO_FUNC_TYPE nType
SvXMLEnumMapEntry< drawing::TextVerticalAdjust > const pXML_VerticalAlign_Enum[]
constexpr OUStringLiteral PROPERTY_BORDERTOP
Definition: strings.hxx:276
constexpr OUStringLiteral PROPERTY_CONTROLBACKGROUNDTRANSPARENT
Definition: strings.hxx:41
constexpr OUStringLiteral PROPERTY_CHARFONTHEIGHT
Definition: strings.hxx:118
constexpr OUStringLiteral PROPERTY_MINHEIGHT
Definition: strings.hxx:77
constexpr OUStringLiteral PROPERTY_VERTICALALIGN
Definition: strings.hxx:86
constexpr OUStringLiteral PROPERTY_FONTWIDTH
Definition: strings.hxx:130
constexpr OUStringLiteral PROPERTY_BORDERLEFT
Definition: strings.hxx:274
constexpr OUStringLiteral PROPERTY_BORDERBOTTOM
Definition: strings.hxx:277
constexpr OUStringLiteral PROPERTY_FONTFAMILY
Definition: strings.hxx:117
constexpr OUStringLiteral PROPERTY_FONTCHARSET
Definition: strings.hxx:116
constexpr OUStringLiteral PROPERTY_HEIGHT
Definition: strings.hxx:37
constexpr OUStringLiteral PROPERTY_FONTUNDERLINE
Definition: strings.hxx:128
constexpr OUStringLiteral PROPERTY_FONTKERNING
Definition: strings.hxx:120
constexpr OUStringLiteral PROPERTY_FONTTYPE
Definition: strings.hxx:131
constexpr OUStringLiteral PROPERTY_CHARWORDMODE
Definition: strings.hxx:145
constexpr OUStringLiteral PROPERTY_BACKTRANSPARENT
Definition: strings.hxx:39
constexpr OUStringLiteral PROPERTY_CHARPOSTURE
Definition: strings.hxx:144
constexpr OUStringLiteral PROPERTY_FONTCHARWIDTH
Definition: strings.hxx:115
constexpr OUStringLiteral PROPERTY_FONTNAME
Definition: strings.hxx:122
constexpr OUStringLiteral PROPERTY_CHARHIDDEN
Definition: strings.hxx:230
constexpr OUStringLiteral PROPERTY_WIDTH
Definition: strings.hxx:73
constexpr OUStringLiteral PROPERTY_FORMATKEY
Definition: strings.hxx:93
constexpr OUStringLiteral PROPERTY_FONTSTYLENAME
Definition: strings.hxx:127
constexpr OUStringLiteral PROPERTY_FONTPITCH
Definition: strings.hxx:124
constexpr OUStringLiteral PROPERTY_BORDERRIGHT
Definition: strings.hxx:275
constexpr OUStringLiteral PROPERTY_FONTWEIGHT
Definition: strings.hxx:129
constexpr OUStringLiteral PROPERTY_BACKCOLOR
Definition: strings.hxx:38
constexpr OUStringLiteral PROPERTY_CHARSTRIKEOUT
Definition: strings.hxx:125
constexpr OUStringLiteral PROPERTY_FONTORIENTATION
Definition: strings.hxx:123
constexpr OUStringLiteral PROPERTY_CONTROLBACKGROUND
Definition: strings.hxx:40
#define MAP_END()
Definition: xmlHelper.cxx:104
#define PROPERTY_ID_FONTFAMILY
Definition: xmlHelper.cxx:235
#define XML_RPT_ALIGNMENT
Definition: xmlHelper.cxx:48
#define PROPERTY_ID_FONTWORDLINEMODE
Definition: xmlHelper.cxx:245
#define PROPERTY_ID_FONTHEIGHT
Definition: xmlHelper.cxx:232
#define PROPERTY_ID_FONTSLANT
Definition: xmlHelper.cxx:240
#define PROPERTY_ID_FONTSTYLENAME
Definition: xmlHelper.cxx:234
#define PROPERTY_ID_FONTSTRIKEOUT
Definition: xmlHelper.cxx:242
#define PROPERTY_ID_FONTUNDERLINE
Definition: xmlHelper.cxx:241
#define PROPERTY_ID_FONTWIDTH
Definition: xmlHelper.cxx:233
#define PROPERTY_ID_FONTWEIGHT
Definition: xmlHelper.cxx:239
#define PROPERTY_ID_FONTNAME
Definition: xmlHelper.cxx:231
#define PROPERTY_ID_FONTTYPE
Definition: xmlHelper.cxx:246
#define PROPERTY_ID_FONTCHARWIDTH
Definition: xmlHelper.cxx:238
#define MAP_CONST_P_ASCII(name, prefix, token, type, context)
Definition: xmlHelper.cxx:101
#define PROPERTY_ID_FONTKERNING
Definition: xmlHelper.cxx:244
#define MAP_CONST_C_ASCII(name, prefix, token, type, context)
Definition: xmlHelper.cxx:103
#define PROPERTY_ID_FONTORIENTATION
Definition: xmlHelper.cxx:243
#define MAP_CONST_S(name, prefix, token, type, context)
Definition: xmlHelper.cxx:102
#define PROPERTY_ID_FONTPITCH
Definition: xmlHelper.cxx:237
#define PROPERTY_ID_FONTCHARSET
Definition: xmlHelper.cxx:236
#define MAP_CONST_T_ASCII(name, prefix, token, type, context)
Definition: xmlHelper.cxx:100
#define CTF_RPT_NUMBERFORMAT
Definition: xmlHelper.hxx:29
constexpr sal_uInt16 XML_NAMESPACE_DRAW
constexpr sal_uInt16 XML_NAMESPACE_REPORT
constexpr sal_uInt16 XML_NAMESPACE_OFFICE
#define XML_TOKEN_MAP_END
#define XML_TYPE_COLORTRANSPARENT
#define MID_FLAG_SPECIAL_ITEM
#define MID_FLAG_MULTI_PROPERTY
#define XML_SD_TYPES_START
#define XML_TYPE_BORDER
#define XML_TYPE_PROP_TABLE_COLUMN
#define XML_TYPE_MEASURE
#define MID_FLAG_MERGE_ATTRIBUTE
#define XML_TYPE_NUMBER
#define XML_TYPE_ISTRANSPARENT
#define XML_TYPE_PROP_TABLE_ROW
#define MID_FLAG_MASK