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

#include <EventOOoTContext.hxx>

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

Public Member Functions

 XMLEventOOoTransformerContext (XMLTransformerBase &rTransformer, const OUString &rQName, bool bPersistent)
 
virtual ~XMLEventOOoTransformerContext () override
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual void EndElement () 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 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 XMLTransformerOOoEventMap_ImplCreateEventMap ()
 
static void FlushEventMap (XMLTransformerOOoEventMap_Impl *p)
 
static sal_uInt16 GetEventName (const OUString &rName, OUString &rNewName, XMLTransformerOOoEventMap_Impl &rMap)
 
- 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

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 26 of file EventOOoTContext.hxx.

Constructor & Destructor Documentation

◆ XMLEventOOoTransformerContext()

XMLEventOOoTransformerContext::XMLEventOOoTransformerContext ( XMLTransformerBase rTransformer,
const OUString &  rQName,
bool  bPersistent 
)

Definition at line 80 of file EventOOoTContext.cxx.

◆ ~XMLEventOOoTransformerContext()

XMLEventOOoTransformerContext::~XMLEventOOoTransformerContext ( )
overridevirtual

Definition at line 91 of file EventOOoTContext.cxx.

Member Function Documentation

◆ CreateChildContext()

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

◆ CreateEventMap()

XMLTransformerOOoEventMap_Impl * XMLEventOOoTransformerContext::CreateEventMap ( )
static

◆ EndElement()

void XMLEventOOoTransformerContext::EndElement ( )
overridevirtual

◆ FlushEventMap()

void XMLEventOOoTransformerContext::FlushEventMap ( XMLTransformerOOoEventMap_Impl p)
static

Definition at line 102 of file EventOOoTContext.cxx.

References p.

Referenced by OOo2OasisTransformer::~OOo2OasisTransformer().

◆ GetEventName()

sal_uInt16 XMLEventOOoTransformerContext::GetEventName ( const OUString &  rName,
OUString &  rNewName,
XMLTransformerOOoEventMap_Impl rMap 
)
static

Definition at line 108 of file EventOOoTContext.cxx.

References XML_NAMESPACE_UNKNOWN.

Referenced by OOo2OasisTransformer::GetEventName(), and StartElement().

◆ IsPersistent()

bool XMLEventOOoTransformerContext::IsPersistent ( ) const
overridevirtual

Reimplemented from XMLPersAttrListTContext.

Definition at line 230 of file EventOOoTContext.cxx.

References m_bPersistent.

◆ StartElement()

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

Member Data Documentation

◆ m_bPersistent

bool const XMLEventOOoTransformerContext::m_bPersistent
private

Definition at line 28 of file EventOOoTContext.hxx.

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


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