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
 
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 void Export () 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, const OUString &rQName)
 
- 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 voidoperator new (std::size_t nSize)
 
static voidoperator 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 30 of file StyleOOoTContext.hxx.

Constructor & Destructor Documentation

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

Definition at line 1023 of file StyleOOoTContext.cxx.

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

Definition at line 1033 of file StyleOOoTContext.cxx.

XMLStyleOOoTContext::~XMLStyleOOoTContext ( )
overridevirtual

Definition at line 1046 of file StyleOOoTContext.cxx.

Member Function Documentation

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

Reimplemented from XMLPersAttrListTContext.

Definition at line 1262 of file StyleOOoTContext.cxx.

rtl::Reference< XMLTransformerContext > XMLStyleOOoTContext::CreateChildContext ( sal_uInt16  nPrefix,
const OUString &  rLocalName,
const OUString &  rQName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList 
)
overridevirtual
XMLTransformerActions * XMLStyleOOoTContext::CreateTransformerActions ( sal_uInt16  nType)
static
void XMLStyleOOoTContext::EndElement ( )
overridevirtual
bool XMLStyleOOoTContext::IsPersistent ( ) const
overridevirtual

Reimplemented from XMLPersAttrListTContext.

Definition at line 1267 of file StyleOOoTContext.cxx.

References m_bPersistent.

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

Reimplemented from XMLPersAttrListTContext.

Definition at line 1116 of file StyleOOoTContext.cxx.

References XMLMutableAttributeList::AddAttribute(), XMLTransformerBase::GetDocHandler(), XMLPersAttrListTContext::GetExportQName(), SvXMLNamespaceMap::GetKeyByAttrName(), XMLMutableAttributeList::getLength(), XMLTransformerBase::GetNamespaceMap(), XMLTransformerContext::GetTransformer(), XMLTransformerBase::GetUserDefinedActions(), XMLMutableAttributeList::getValueByIndex(), xmloff::token::GetXMLToken(), xmloff::token::IsXMLToken(), m_bPersistent, m_eFamily, XMLTransformerBase::NegPercent(), OOO_STYLE_ACTIONS, XMLTransformerBase::ReplaceSingleInchWithIn(), XMLMutableAttributeList::SetValueByIndex(), 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

bool const XMLStyleOOoTContext::m_bPersistent
private

Definition at line 34 of file StyleOOoTContext.hxx.

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

XMLFamilyType XMLStyleOOoTContext::m_eFamily
private

Definition at line 32 of file StyleOOoTContext.hxx.

Referenced by CreateChildContext(), and StartElement().


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