LibreOffice Module xmloff (master) 1
|
#include <MergeElemTContext.hxx>
Public Member Functions | |
XMLMergeElemTransformerContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nActionMap) | |
virtual rtl::Reference< XMLTransformerContext > | CreateChildContext (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 |
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< XMLTransformerContext > | CreateChildContext (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 () |
Private Member Functions | |
void | ExportStartElement () |
Private Attributes | |
css::uno::Reference< css::xml::sax::XAttributeList > | m_xAttrList |
XMLPersTextContentTContextVector | m_aChildContexts |
sal_uInt16 const | m_nActionMap |
bool | m_bStartElementExported |
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 Member Functions inherited from XMLTransformerContext | |
XMLTransformerBase & | GetTransformer () |
const XMLTransformerBase & | GetTransformer () 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 |
Definition at line 29 of file MergeElemTContext.hxx.
XMLMergeElemTransformerContext::XMLMergeElemTransformerContext | ( | XMLTransformerBase & | rTransformer, |
const OUString & | rQName, | ||
sal_uInt16 | nActionMap | ||
) |
Definition at line 115 of file MergeElemTContext.cxx.
|
overridevirtual |
Reimplemented from XMLTransformerContext.
Definition at line 275 of file MergeElemTContext.cxx.
|
overridevirtual |
Reimplemented from XMLTransformerContext.
Definition at line 161 of file MergeElemTContext.cxx.
References XMLTransformerContext::CreateChildContext(), ExportStartElement(), XMLTransformerContext::GetTransformer(), XMLTransformerBase::GetUserDefinedActions(), m_aChildContexts, m_bStartElementExported, m_nActionMap, XML_ETACTION_EXTRACT_CHARACTERS, XML_ETACTION_MOVE_TO_ATTR, and XML_ETACTION_MOVE_TO_ATTR_RNG2ISO_DATETIME.
|
overridevirtual |
Reimplemented from XMLTransformerContext.
Definition at line 268 of file MergeElemTContext.cxx.
References XMLTransformerContext::EndElement(), ExportStartElement(), and m_bStartElementExported.
|
private |
Definition at line 101 of file MergeElemTContext.cxx.
References XMLPersAttrListTContext::GetExportQName(), XMLPersTextContentTContext::GetTextContent(), m_aChildContexts, m_bStartElementExported, m_xAttrList, and XMLTransformerContext::StartElement().
Referenced by CreateChildContext(), and EndElement().
|
overridevirtual |
Reimplemented from XMLTransformerContext.
Definition at line 125 of file MergeElemTContext.cxx.
References SvXMLNamespaceMap::GetKeyByAttrName(), XMLTransformerBase::GetNamespaceMap(), XMLTransformerContext::GetTransformer(), i, xmloff::token::IsXMLToken(), m_xAttrList, xmloff::token::XML_AUTHOR, xmloff::token::XML_CREATE_DATE, xmloff::token::XML_CREATE_DATE_STRING, xmloff::token::XML_DISPLAY, and XML_NAMESPACE_OFFICE.
|
private |
Definition at line 32 of file MergeElemTContext.hxx.
Referenced by CreateChildContext(), and ExportStartElement().
|
private |
Definition at line 34 of file MergeElemTContext.hxx.
Referenced by CreateChildContext(), EndElement(), and ExportStartElement().
|
private |
Definition at line 33 of file MergeElemTContext.hxx.
Referenced by CreateChildContext().
|
private |
Definition at line 31 of file MergeElemTContext.hxx.
Referenced by ExportStartElement(), and StartElement().