LibreOffice Module xmloff (master) 1
|
#include <EventOOoTContext.hxx>
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< XMLTransformerContext > | CreateChildContext (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< XMLTransformerContext > | CreateChildContext (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< 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 |
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< 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 () |
Static Public Member Functions | |
static XMLTransformerOOoEventMap_Impl * | CreateEventMap () |
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 | |
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 26 of file EventOOoTContext.hxx.
XMLEventOOoTransformerContext::XMLEventOOoTransformerContext | ( | XMLTransformerBase & | rTransformer, |
const OUString & | rQName, | ||
bool | bPersistent | ||
) |
Definition at line 80 of file EventOOoTContext.cxx.
|
overridevirtual |
Definition at line 91 of file EventOOoTContext.cxx.
|
overridevirtual |
Reimplemented from XMLPersElemContentTContext.
Definition at line 218 of file EventOOoTContext.cxx.
References XMLTransformerContext::CreateChildContext(), XMLPersElemContentTContext::CreateChildContext(), and m_bPersistent.
|
static |
Definition at line 96 of file EventOOoTContext.cxx.
References aFormTransformerEventMap, and aTransformerEventMap.
Referenced by OOo2OasisTransformer::GetEventName().
|
overridevirtual |
Reimplemented from XMLPersAttrListTContext.
Definition at line 210 of file EventOOoTContext.cxx.
References XMLPersAttrListTContext::EndElement(), XMLTransformerBase::GetDocHandler(), XMLPersAttrListTContext::GetExportQName(), XMLTransformerContext::GetTransformer(), and m_bPersistent.
|
static |
Definition at line 102 of file EventOOoTContext.cxx.
References p.
Referenced by OOo2OasisTransformer::~OOo2OasisTransformer().
|
static |
Definition at line 108 of file EventOOoTContext.cxx.
References XML_NAMESPACE_UNKNOWN.
Referenced by OOo2OasisTransformer::GetEventName(), and StartElement().
|
overridevirtual |
Reimplemented from XMLPersAttrListTContext.
Definition at line 230 of file EventOOoTContext.cxx.
References m_bPersistent.
|
overridevirtual |
Reimplemented from XMLPersAttrListTContext.
Definition at line 127 of file EventOOoTContext.cxx.
References XMLTransformerBase::AddNamespacePrefix(), XMLTransformerBase::GetDocHandler(), GetEventName(), XMLPersAttrListTContext::GetExportQName(), SvXMLNamespaceMap::GetKeyByAttrName(), XMLTransformerBase::GetNamespaceMap(), XMLTransformerContext::GetTransformer(), XMLTransformerBase::GetUserDefinedActions(), xmloff::token::GetXMLToken(), i, xmloff::token::IsXMLToken(), m_bPersistent, OOO_EVENT_ACTIONS, XMLPersAttrListTContext::StartElement(), xmloff::token::XML_APPLICATION, XML_ATACTION_ADD_NAMESPACE_PREFIX, XML_ATACTION_COPY, XML_ATACTION_EVENT_NAME, XML_ATACTION_HREF, XML_ATACTION_MACRO_LOCATION, XML_ATACTION_MACRO_NAME, and xmloff::token::XML_DOCUMENT.
|
private |
Definition at line 28 of file EventOOoTContext.hxx.
Referenced by CreateChildContext(), EndElement(), IsPersistent(), and StartElement().