LibreOffice Module xmloff (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
XMLTransformerContext Class Reference

#include <TransformerContext.hxx>

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

Public Member Functions

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 ()
 

Protected Member Functions

XMLTransformerBaseGetTransformer ()
 
const XMLTransformerBaseGetTransformer () const
 
void SetQName (const OUString &rQName)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

std::unique_ptr< SvXMLNamespaceMapTakeRewindMap ()
 
void PutRewindMap (std::unique_ptr< SvXMLNamespaceMap > p)
 

Private Attributes

XMLTransformerBasem_rTransformer
 
OUString m_aQName
 
std::unique_ptr< SvXMLNamespaceMapm_xRewindMap
 

Friends

class XMLTransformerBase
 

Additional Inherited Members

- 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)
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 33 of file TransformerContext.hxx.

Constructor & Destructor Documentation

◆ XMLTransformerContext()

XMLTransformerContext::XMLTransformerContext ( XMLTransformerBase rTransformer,
OUString  aQName 
)

Definition at line 48 of file TransformerContext.cxx.

Member Function Documentation

◆ Characters()

void XMLTransformerContext::Characters ( const OUString &  rChars)
virtual

◆ CreateChildContext()

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

◆ EndElement()

void XMLTransformerContext::EndElement ( )
virtual

◆ Export()

void XMLTransformerContext::Export ( )
virtual

Reimplemented in XMLPersAttrListTContext, and XMLPropertiesTContext_Impl.

Definition at line 83 of file TransformerContext.cxx.

◆ ExportContent()

void XMLTransformerContext::ExportContent ( )
virtual

◆ GetQName()

const OUString & XMLTransformerContext::GetQName ( ) const
inline

◆ GetTransformer() [1/2]

XMLTransformerBase & XMLTransformerContext::GetTransformer ( )
inlineprotected

Definition at line 48 of file TransformerContext.hxx.

References m_rTransformer.

Referenced by XMLPersAttrListTContext::AddAttribute(), XMLIgnoreTransformerContext::Characters(), XMLPersMixedContentTContext::Characters(), XMLChartPlotAreaOASISTContext::CreateChildContext(), XMLChartPlotAreaOOoTContext::CreateChildContext(), XMLControlOOoTransformerContext::CreateChildContext(), XMLPersElemContentTContext::CreateChildContext(), XMLFormPropOOoTransformerContext::CreateChildContext(), XMLFrameOASISTransformerContext::CreateChildContext(), XMLFrameOOoTransformerContext::CreateChildContext(), XMLIgnoreTransformerContext::CreateChildContext(), XMLMergeElemTransformerContext::CreateChildContext(), XMLMetaTransformerContext::CreateChildContext(), XMLNotesTransformerContext::CreateChildContext(), XMLPersAttrListTContext::CreateChildContext(), XMLStyleOASISTContext::CreateChildContext(), XMLStyleOOoTContext::CreateChildContext(), EndElement(), XMLControlOASISTransformerContext::EndElement(), XMLControlOOoTransformerContext::EndElement(), XMLEventOOoTransformerContext::EndElement(), XMLFormPropOOoTransformerContext::EndElement(), XMLFrameOASISTransformerContext::EndElement(), XMLFrameOOoTransformerContext::EndElement(), XMLMetaTransformerContext::EndElement(), XMLNotesTransformerContext::EndElement(), XMLProcAttrTransformerContext::EndElement(), XMLRenameElemTransformerContext::EndElement(), XMLStyleOASISTContext::EndElement(), XMLStyleOOoTContext::EndElement(), XMLPersAttrListTContext::Export(), XMLPropertiesTContext_Impl::Export(), XMLPersTextContentTContext::ExportContent(), HasNamespace(), HasQName(), XMLFrameOASISTransformerContext::IsLinkedEmbeddedObject(), XMLChartOASISTransformerContext::StartElement(), XMLChartOOoTransformerContext::StartElement(), XMLControlOASISTransformerContext::StartElement(), XMLCreateElemTransformerContext::StartElement(), XMLDlgOASISTransformerContext::StartElement(), XMLDocumentTransformerContext::StartElement(), XMLEventOASISTransformerContext::StartElement(), XMLEventOOoTransformerContext::StartElement(), XMLFormPropOASISTransformerContext::StartElement(), XMLFormPropValueTContext_Impl::StartElement(), XMLFormPropOOoTransformerContext::StartElement(), XMLFrameOASISTransformerContext::StartElement(), XMLFrameOOoTransformerContext::StartElement(), XMLMergeElemTransformerContext::StartElement(), XMLNotesTransformerContext::StartElement(), XMLPersAttrListTContext::StartElement(), XMLProcAddAttrTransformerContext::StartElement(), XMLProcAttrTransformerContext::StartElement(), XMLRenameElemTransformerContext::StartElement(), XMLPropertiesTContext_Impl::StartElement(), XMLStyleOASISTContext::StartElement(), XMLStyleOOoTContext::StartElement(), and XMLAxisOOoContext::StartElement().

◆ GetTransformer() [2/2]

const XMLTransformerBase & XMLTransformerContext::GetTransformer ( ) const
inlineprotected

Definition at line 49 of file TransformerContext.hxx.

References m_rTransformer.

◆ HasNamespace()

bool XMLTransformerContext::HasNamespace ( sal_uInt16  nPrefix) const

◆ HasQName()

bool XMLTransformerContext::HasQName ( sal_uInt16  nPrefix,
::xmloff::token::XMLTokenEnum  eToken 
) const

◆ IsPersistent()

bool XMLTransformerContext::IsPersistent ( ) const
virtual

◆ PutRewindMap()

void XMLTransformerContext::PutRewindMap ( std::unique_ptr< SvXMLNamespaceMap p)
inlineprivate

Definition at line 44 of file TransformerContext.hxx.

References m_xRewindMap, and p.

◆ SetQName()

void XMLTransformerContext::SetQName ( const OUString &  rQName)
inlineprotected

Definition at line 51 of file TransformerContext.hxx.

References m_aQName.

Referenced by XMLPropertiesTContext_Impl::SetQNameAndPropType().

◆ StartElement()

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

◆ TakeRewindMap()

std::unique_ptr< SvXMLNamespaceMap > XMLTransformerContext::TakeRewindMap ( )
inlineprivate

Definition at line 43 of file TransformerContext.hxx.

References m_xRewindMap.

Friends And Related Function Documentation

◆ XMLTransformerBase

friend class XMLTransformerBase
friend

Definition at line 35 of file TransformerContext.hxx.

Member Data Documentation

◆ m_aQName

OUString XMLTransformerContext::m_aQName
private

◆ m_rTransformer

XMLTransformerBase& XMLTransformerContext::m_rTransformer
private

◆ m_xRewindMap

std::unique_ptr<SvXMLNamespaceMap> XMLTransformerContext::m_xRewindMap
private

Definition at line 41 of file TransformerContext.hxx.

Referenced by PutRewindMap(), and TakeRewindMap().


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