LibreOffice Module xmloff (master) 1
|
#include <TransformerContext.hxx>
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< 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 () |
Protected Member Functions | |
XMLTransformerBase & | GetTransformer () |
const XMLTransformerBase & | GetTransformer () const |
void | SetQName (const OUString &rQName) |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
std::unique_ptr< SvXMLNamespaceMap > | TakeRewindMap () |
void | PutRewindMap (std::unique_ptr< SvXMLNamespaceMap > p) |
Private Attributes | |
XMLTransformerBase & | m_rTransformer |
OUString | m_aQName |
std::unique_ptr< SvXMLNamespaceMap > | m_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 |
Definition at line 33 of file TransformerContext.hxx.
XMLTransformerContext::XMLTransformerContext | ( | XMLTransformerBase & | rTransformer, |
OUString | aQName | ||
) |
Definition at line 48 of file TransformerContext.cxx.
|
virtual |
Reimplemented in XMLControlOOoTransformerContext, XMLPersTextContentTContext, XMLFormPropValueTContext_Impl, XMLFrameOASISTransformerContext, XMLFrameOOoTransformerContext, XMLIgnoreTransformerContext, XMLMergeElemTransformerContext, XMLMetaTransformerContext, XMLPersAttrListTContext, XMLPersMixedContentTContext, XMLStyleOASISTContext, and XMLStyleOOoTContext.
Definition at line 73 of file TransformerContext.cxx.
References XMLTransformerBase::GetDocHandler(), and m_rTransformer.
Referenced by XMLControlOOoTransformerContext::Characters(), XMLFrameOASISTransformerContext::Characters(), and XMLFrameOOoTransformerContext::Characters().
|
virtual |
Reimplemented in XMLChartPlotAreaOASISTContext, XMLChartPlotAreaOOoTContext, XMLControlOOoTransformerContext, XMLPersElemContentTContext, XMLEventOOoTransformerContext, XMLFormPropOOoTransformerContext, XMLFrameOASISTransformerContext, XMLFrameOOoTransformerContext, XMLIgnoreTransformerContext, XMLMergeElemTransformerContext, XMLMetaTransformerContext, XMLNotesTransformerContext, XMLPersAttrListTContext, XMLStyleOASISTContext, and XMLStyleOOoTContext.
Definition at line 55 of file TransformerContext.cxx.
References XMLTransformerBase::CreateContext(), and m_rTransformer.
Referenced by XMLChartPlotAreaOASISTContext::CreateChildContext(), XMLChartPlotAreaOOoTContext::CreateChildContext(), XMLEventOOoTransformerContext::CreateChildContext(), XMLFrameOASISTransformerContext::CreateChildContext(), XMLFrameOOoTransformerContext::CreateChildContext(), XMLIgnoreTransformerContext::CreateChildContext(), XMLMergeElemTransformerContext::CreateChildContext(), XMLNotesTransformerContext::CreateChildContext(), XMLStyleOASISTContext::CreateChildContext(), and XMLStyleOOoTContext::CreateChildContext().
|
virtual |
Reimplemented in XMLChartPlotAreaOASISTContext, XMLChartPlotAreaOOoTContext, XMLControlOASISTransformerContext, XMLControlOOoTransformerContext, XMLEventOOoTransformerContext, XMLFormPropOASISTransformerContext, XMLFormPropValueTContext_Impl, XMLFormPropOOoTransformerContext, XMLFrameOASISTransformerContext, XMLFrameOOoTransformerContext, XMLIgnoreTransformerContext, XMLMergeElemTransformerContext, XMLMetaTransformerContext, XMLNotesTransformerContext, XMLPersAttrListTContext, XMLProcAttrTransformerContext, XMLRenameElemTransformerContext, XMLStyleOASISTContext, and XMLStyleOOoTContext.
Definition at line 68 of file TransformerContext.cxx.
References XMLTransformerBase::GetDocHandler(), GetTransformer(), and m_aQName.
Referenced by XMLControlOASISTransformerContext::EndElement(), XMLFrameOOoTransformerContext::EndElement(), and XMLMergeElemTransformerContext::EndElement().
|
virtual |
Reimplemented in XMLPersAttrListTContext, and XMLPropertiesTContext_Impl.
Definition at line 83 of file TransformerContext.cxx.
|
virtual |
Reimplemented in XMLChartPlotAreaOOoTContext, XMLPersElemContentTContext, XMLPersTextContentTContext, XMLPersAttrListTContext, and XMLStyleOASISTContext.
Definition at line 88 of file TransformerContext.cxx.
|
inline |
Definition at line 54 of file TransformerContext.hxx.
References m_aQName.
Referenced by XMLMetaTransformerContext::EndElement(), and XMLTransformerBase::ProcessAttrList().
|
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().
|
inlineprotected |
Definition at line 49 of file TransformerContext.hxx.
References m_rTransformer.
bool XMLTransformerContext::HasNamespace | ( | sal_uInt16 | nPrefix | ) | const |
Definition at line 43 of file TransformerContext.cxx.
References SvXMLNamespaceMap::GetKeyByAttrName(), XMLTransformerBase::GetNamespaceMap(), GetTransformer(), and m_aQName.
Referenced by XMLEventOASISTransformerContext::StartElement().
bool XMLTransformerContext::HasQName | ( | sal_uInt16 | nPrefix, |
::xmloff::token::XMLTokenEnum | eToken | ||
) | const |
Definition at line 34 of file TransformerContext.cxx.
References eToken, SvXMLNamespaceMap::GetKeyByAttrName(), XMLTransformerBase::GetNamespaceMap(), GetTransformer(), xmloff::token::IsXMLToken(), and m_aQName.
Referenced by XMLTransformerBase::CreateContext(), and Oasis2OOoTransformer::CreateUserDefinedContext().
|
virtual |
Reimplemented in XMLEventOOoTransformerContext, XMLFormPropValueTContext_Impl, XMLFrameOOoTransformerContext, XMLNotesTransformerContext, XMLPersAttrListTContext, XMLStyleOASISTContext, and XMLStyleOOoTContext.
Definition at line 78 of file TransformerContext.cxx.
Referenced by XMLTransformerBase::CreateContext().
|
inlineprivate |
Definition at line 44 of file TransformerContext.hxx.
References m_xRewindMap, and p.
|
inlineprotected |
Definition at line 51 of file TransformerContext.hxx.
References m_aQName.
Referenced by XMLPropertiesTContext_Impl::SetQNameAndPropType().
|
virtual |
Reimplemented in XMLChartOASISTransformerContext, XMLChartOOoTransformerContext, XMLControlOASISTransformerContext, XMLControlOOoTransformerContext, XMLCreateElemTransformerContext, XMLDlgOASISTransformerContext, XMLDocumentTransformerContext, XMLEventOASISTransformerContext, XMLEventOOoTransformerContext, XMLFormPropOASISTransformerContext, XMLFormPropValueTContext_Impl, XMLFormPropOOoTransformerContext, XMLFrameOASISTransformerContext, XMLFrameOOoTransformerContext, XMLIgnoreTransformerContext, XMLMergeElemTransformerContext, XMLNotesTransformerContext, XMLPersAttrListTContext, XMLProcAddAttrTransformerContext, XMLProcAttrTransformerContext, XMLRenameElemTransformerContext, XMLPropertiesTContext_Impl, XMLStyleOASISTContext, and XMLStyleOOoTContext.
Definition at line 63 of file TransformerContext.cxx.
References XMLTransformerBase::GetDocHandler(), m_aQName, and m_rTransformer.
Referenced by XMLMergeElemTransformerContext::ExportStartElement(), XMLChartOASISTransformerContext::StartElement(), XMLChartOOoTransformerContext::StartElement(), XMLControlOASISTransformerContext::StartElement(), XMLCreateElemTransformerContext::StartElement(), XMLDlgOASISTransformerContext::StartElement(), XMLDocumentTransformerContext::StartElement(), and XMLFrameOOoTransformerContext::StartElement().
|
inlineprivate |
Definition at line 43 of file TransformerContext.hxx.
References m_xRewindMap.
|
friend |
Definition at line 35 of file TransformerContext.hxx.
|
private |
Definition at line 39 of file TransformerContext.hxx.
Referenced by EndElement(), GetQName(), HasNamespace(), HasQName(), SetQName(), and StartElement().
|
private |
Definition at line 37 of file TransformerContext.hxx.
Referenced by Characters(), CreateChildContext(), GetTransformer(), and StartElement().
|
private |
Definition at line 41 of file TransformerContext.hxx.
Referenced by PutRewindMap(), and TakeRewindMap().