LibreOffice Module xmloff (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
XMLStyleOOoTContext Class Reference

#include <StyleOOoTContext.hxx>

Inheritance diagram for XMLStyleOOoTContext:
[legend]
Collaboration diagram for XMLStyleOOoTContext:
[legend]

Public Member Functions

 XMLStyleOOoTContext (XMLTransformerBase &rTransformer, const OUString &rQName, XMLFamilyType eType, bool bPersistent)
 
 XMLStyleOOoTContext (XMLTransformerBase &rTransformer, const OUString &rQName, XMLFamilyType eType, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken, bool bPersistent)
 
virtual ~XMLStyleOOoTContext () override
 
virtual rtl::Reference< XMLTransformerContextCreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual void EndElement () override
 
virtual void Characters (const OUString &rChars) override
 
virtual bool IsPersistent () const override
 
- Public Member Functions inherited from XMLPersElemContentTContext
 XMLPersElemContentTContext (XMLTransformerBase &rTransformer, const OUString &rQName)
 
 XMLPersElemContentTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nActionMap)
 
 XMLPersElemContentTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken)
 
 XMLPersElemContentTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken, sal_uInt16 nActionMap)
 
virtual ~XMLPersElemContentTContext () override
 
virtual rtl::Reference< XMLTransformerContextCreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
void AddContent (rtl::Reference< XMLTransformerContext > const &pContent)
 
bool HasElementContent () const
 
virtual void ExportContent () override
 
- Public Member Functions inherited from XMLPersAttrListTContext
 XMLPersAttrListTContext (XMLTransformerBase &rTransformer, const OUString &rQName)
 
 XMLPersAttrListTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nActionMap)
 
 XMLPersAttrListTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken)
 
 XMLPersAttrListTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken, sal_uInt16 nActionMap)
 
virtual rtl::Reference< XMLTransformerContextCreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual void EndElement () override
 
virtual void Characters (const OUString &rChars) override
 
virtual bool IsPersistent () const override
 
virtual void Export () override
 
virtual void ExportContent () override
 
const OUString & GetExportQName () const
 
void AddAttribute (sal_uInt16 nAPrefix, ::xmloff::token::XMLTokenEnum eAToken, ::xmloff::token::XMLTokenEnum eVToken)
 
void AddAttribute (sal_uInt16 nAPrefix, ::xmloff::token::XMLTokenEnum eAToken, const OUString &rValue)
 
const css::uno::Reference< css::xml::sax::XAttributeList > & GetAttrList () const
 
- Public Member Functions inherited from XMLTransformerContext
const OUString & GetQName () const
 
bool HasQName (sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken) const
 
bool HasNamespace (sal_uInt16 nPrefix) const
 
 XMLTransformerContext (XMLTransformerBase &rTransformer, OUString aQName)
 
virtual rtl::Reference< XMLTransformerContextCreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void EndElement ()
 
virtual void Characters (const OUString &rChars)
 
virtual bool IsPersistent () const
 
virtual void Export ()
 
virtual void ExportContent ()
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Static Public Member Functions

static XMLTransformerActionsCreateTransformerActions (sal_uInt16 nType)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 

Private Attributes

XMLFamilyType m_eFamily
 
bool const m_bPersistent
 

Additional Inherited Members

- Protected Member Functions inherited from XMLPersAttrListTContext
void SetExportQName (const OUString &r)
 
- Protected Member Functions inherited from XMLTransformerContext
XMLTransformerBaseGetTransformer ()
 
const XMLTransformerBaseGetTransformer () const
 
void SetQName (const OUString &rQName)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 29 of file StyleOOoTContext.hxx.

Constructor & Destructor Documentation

◆ XMLStyleOOoTContext() [1/2]

XMLStyleOOoTContext::XMLStyleOOoTContext ( XMLTransformerBase rTransformer,
const OUString &  rQName,
XMLFamilyType  eType,
bool  bPersistent 
)

Definition at line 1019 of file StyleOOoTContext.cxx.

◆ XMLStyleOOoTContext() [2/2]

XMLStyleOOoTContext::XMLStyleOOoTContext ( XMLTransformerBase rTransformer,
const OUString &  rQName,
XMLFamilyType  eType,
sal_uInt16  nPrefix,
::xmloff::token::XMLTokenEnum  eToken,
bool  bPersistent 
)

Definition at line 1029 of file StyleOOoTContext.cxx.

◆ ~XMLStyleOOoTContext()

XMLStyleOOoTContext::~XMLStyleOOoTContext ( )
overridevirtual

Definition at line 1042 of file StyleOOoTContext.cxx.

Member Function Documentation

◆ Characters()

void XMLStyleOOoTContext::Characters ( const OUString &  rChars)
overridevirtual

Reimplemented from XMLPersAttrListTContext.

Definition at line 1258 of file StyleOOoTContext.cxx.

◆ CreateChildContext()

rtl::Reference< XMLTransformerContext > XMLStyleOOoTContext::CreateChildContext ( sal_uInt16  nPrefix,
const OUString &  rLocalName,
const OUString &  rQName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList 
)
overridevirtual

◆ CreateTransformerActions()

XMLTransformerActions * XMLStyleOOoTContext::CreateTransformerActions ( sal_uInt16  nType)
static

◆ EndElement()

void XMLStyleOOoTContext::EndElement ( )
overridevirtual

◆ IsPersistent()

bool XMLStyleOOoTContext::IsPersistent ( ) const
overridevirtual

Reimplemented from XMLPersAttrListTContext.

Definition at line 1263 of file StyleOOoTContext.cxx.

References m_bPersistent.

◆ StartElement()

void XMLStyleOOoTContext::StartElement ( const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList)
overridevirtual

Reimplemented from XMLPersAttrListTContext.

Definition at line 1112 of file StyleOOoTContext.cxx.

References XMLTransformerBase::GetDocHandler(), XMLPersAttrListTContext::GetExportQName(), SvXMLNamespaceMap::GetKeyByAttrName(), XMLTransformerBase::GetNamespaceMap(), XMLTransformerContext::GetTransformer(), XMLTransformerBase::GetUserDefinedActions(), xmloff::token::GetXMLToken(), i, xmloff::token::IsXMLToken(), m_bPersistent, m_eFamily, XMLTransformerBase::NegPercent(), OOO_STYLE_ACTIONS, XMLTransformerBase::ReplaceSingleInchWithIn(), XMLPersAttrListTContext::StartElement(), XML_ATACTION_ENCODE_STYLE_NAME, XML_ATACTION_ENCODE_STYLE_NAME_REF, XML_ATACTION_INCH2IN, XML_ATACTION_NEG_PERCENT, XML_ATACTION_STYLE_FAMILY, XML_ATACTION_URI_OOO, xmloff::token::XML_CHART, xmloff::token::XML_CONTROL, xmloff::token::XML_DISPLAY_NAME, xmloff::token::XML_DRAWING_PAGE, XML_FAMILY_TYPE_CHART, XML_FAMILY_TYPE_DRAWING_PAGE, XML_FAMILY_TYPE_END, XML_FAMILY_TYPE_GRAPHIC, XML_FAMILY_TYPE_PARAGRAPH, XML_FAMILY_TYPE_PRESENTATION, XML_FAMILY_TYPE_RUBY, XML_FAMILY_TYPE_SECTION, XML_FAMILY_TYPE_TABLE, XML_FAMILY_TYPE_TABLE_CELL, XML_FAMILY_TYPE_TABLE_COLUMN, XML_FAMILY_TYPE_TABLE_ROW, XML_FAMILY_TYPE_TEXT, xmloff::token::XML_GRAPHIC, xmloff::token::XML_GRAPHICS, xmloff::token::XML_PARAGRAPH, xmloff::token::XML_PRESENTATION, xmloff::token::XML_RUBY, xmloff::token::XML_SECTION, xmloff::token::XML_TABLE, xmloff::token::XML_TABLE_CELL, xmloff::token::XML_TABLE_COLUMN, xmloff::token::XML_TABLE_ROW, and xmloff::token::XML_TEXT.

Member Data Documentation

◆ m_bPersistent

bool const XMLStyleOOoTContext::m_bPersistent
private

Definition at line 33 of file StyleOOoTContext.hxx.

Referenced by CreateChildContext(), EndElement(), IsPersistent(), and StartElement().

◆ m_eFamily

XMLFamilyType XMLStyleOOoTContext::m_eFamily
private

Definition at line 31 of file StyleOOoTContext.hxx.

Referenced by CreateChildContext(), and StartElement().


The documentation for this class was generated from the following files: