LibreOffice Module xmloff (master) 1
Macros | Variables
StyleOOoTContext.cxx File Reference
#include <com/sun/star/xml/sax/SAXException.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <sax/tools/converter.hxx>
#include <xmloff/namespacemap.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnamespace.hxx>
#include "PropType.hxx"
#include "DeepTContext.hxx"
#include "RenameElemTContext.hxx"
#include "ActionMapTypesOOo.hxx"
#include "MutableAttrList.hxx"
#include "TransformerActions.hxx"
#include "PropertyActionsOOo.hxx"
#include "TransformerBase.hxx"
#include "StyleOOoTContext.hxx"
#include <xmloff/xmluconv.hxx>
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <array>
Include dependency graph for StyleOOoTContext.cxx:

Go to the source code of this file.

Macros

#define ENTRY4(a, b, c, d)
 
#define ENTRY3(a, b, c)
 
#define ENTRY2(a, b)
 
#define ENTRY1(a)
 

Variables

const sal_uInt16 MAX_PROP_TYPES = 4
 
const std::array< XMLPropType, MAX_PROP_TYPESaPropTypes [XML_FAMILY_TYPE_END]
 
const XMLTokenEnum aPropTokens [XML_PROP_TYPE_END]
 
const sal_uInt16 aAttrActionMaps [XML_PROP_TYPE_END]
 
const sal_uInt16 aElemActionMaps [XML_PROP_TYPE_END]
 

Macro Definition Documentation

◆ ENTRY1

#define ENTRY1 (   a)
Value:
{ XML_PROP_TYPE_##a, XML_PROP_TYPE_##END, \
XML_PROP_TYPE_END, XML_PROP_TYPE_END }
@ XML_PROP_TYPE_END
Definition: PropType.hxx:38
uno_Any a
END

Definition at line 60 of file StyleOOoTContext.cxx.

◆ ENTRY2

#define ENTRY2 (   a,
 
)
Value:
{ XML_PROP_TYPE_##a, XML_PROP_TYPE_##b, \
XML_PROP_TYPE_END, XML_PROP_TYPE_END }

Definition at line 57 of file StyleOOoTContext.cxx.

◆ ENTRY3

#define ENTRY3 (   a,
  b,
 
)
Value:
{ XML_PROP_TYPE_##a, XML_PROP_TYPE_##b, \
XML_PROP_TYPE_##c, XML_PROP_TYPE_END }

Definition at line 54 of file StyleOOoTContext.cxx.

◆ ENTRY4

#define ENTRY4 (   a,
  b,
  c,
  d 
)
Value:
{ XML_PROP_TYPE_##a, XML_PROP_TYPE_##b, \
XML_PROP_TYPE_##c, XML_PROP_TYPE_##d }
double d

Definition at line 51 of file StyleOOoTContext.cxx.

Variable Documentation

◆ aAttrActionMaps

const sal_uInt16 aAttrActionMaps[XML_PROP_TYPE_END]
Initial value:
=
{
}
@ PROP_OOO_HEADER_FOOTER_ATTR_ACTIONS
@ PROP_OOO_GRAPHIC_ATTR_ACTIONS
@ PROP_OOO_PAGE_LAYOUT_ATTR_ACTIONS
@ MAX_OOO_PROP_ACTIONS
@ PROP_OOO_SECTION_ATTR_ACTIONS
@ PROP_OOO_TABLE_COLUMN_ATTR_ACTIONS
@ PROP_OOO_TABLE_CELL_ATTR_ACTIONS
@ PROP_OOO_TEXT_ATTR_ACTIONS
@ PROP_OOO_LIST_LEVEL_ATTR_ACTIONS
@ PROP_OOO_TABLE_ROW_ATTR_ACTIONS
@ PROP_OOO_DRAWING_PAGE_ATTR_ACTIONS
@ PROP_OOO_CHART_ATTR_ACTIONS
@ PROP_OOO_TABLE_ATTR_ACTIONS
@ PROP_OOO_PARAGRAPH_ATTR_ACTIONS

Definition at line 108 of file StyleOOoTContext.cxx.

Referenced by XMLStyleOOoTContext::CreateChildContext().

◆ aElemActionMaps

const sal_uInt16 aElemActionMaps[XML_PROP_TYPE_END]

◆ aPropTokens

const XMLTokenEnum aPropTokens[XML_PROP_TYPE_END]
Initial value:
=
{
}
@ XML_TABLE_CELL_PROPERTIES
Definition: xmltoken.hxx:2634
@ XML_LIST_LEVEL_PROPERTIES
Definition: xmltoken.hxx:2635
@ XML_DRAWING_PAGE_PROPERTIES
Definition: xmltoken.hxx:2624
@ XML_HEADER_FOOTER_PROPERTIES
Definition: xmltoken.hxx:2626
@ XML_SECTION_PROPERTIES
Definition: xmltoken.hxx:2630
@ XML_TABLE_COLUMN_PROPERTIES
Definition: xmltoken.hxx:2632
@ XML_PARAGRAPH_PROPERTIES
Definition: xmltoken.hxx:2628
@ XML_GRAPHIC_PROPERTIES
Definition: xmltoken.hxx:2623
@ XML_PAGE_LAYOUT_PROPERTIES
Definition: xmltoken.hxx:2625
@ XML_TABLE_ROW_PROPERTIES
Definition: xmltoken.hxx:2633

Definition at line 90 of file StyleOOoTContext.cxx.

Referenced by XMLStyleOOoTContext::CreateChildContext(), and SvXMLExportPropertyMapper::exportXML().

◆ aPropTypes

const std::array<XMLPropType,MAX_PROP_TYPES> aPropTypes[XML_FAMILY_TYPE_END]
Initial value:
=
{
ENTRY3( GRAPHIC, PARAGRAPH, TEXT ),
ENTRY3( GRAPHIC, PARAGRAPH, TEXT ),
ENTRY1( DRAWING_PAGE ),
ENTRY1( END ),
ENTRY1( PAGE_LAYOUT ),
ENTRY1( HEADER_FOOTER ),
ENTRY1( TEXT ),
ENTRY2( PARAGRAPH, TEXT ),
ENTRY1( RUBY ),
ENTRY1( SECTION ),
ENTRY1( TABLE ),
ENTRY1( TABLE_COLUMN ),
ENTRY1( TABLE_ROW ),
ENTRY3( TABLE_CELL, PARAGRAPH, TEXT ),
ENTRY1( LIST_LEVEL ),
ENTRY4( CHART, GRAPHIC, PARAGRAPH, TEXT ),
ENTRY1( TEXT ),
ENTRY1( END ),
ENTRY1( END ),
ENTRY1( END ),
ENTRY1( END ),
ENTRY1( END ),
}
#define ENTRY1(a)
#define ENTRY3(a, b, c)
#define ENTRY4(a, b, c, d)
#define ENTRY2(a, b)

Definition at line 64 of file StyleOOoTContext.cxx.

Referenced by XMLStyleOOoTContext::CreateChildContext().

◆ MAX_PROP_TYPES

const sal_uInt16 MAX_PROP_TYPES = 4

Definition at line 50 of file StyleOOoTContext.cxx.

Referenced by SvXMLExportPropertyMapper::exportXML().