LibreOffice Module oox (master) 1
|
#include <contexthandler.hxx>
Public Member Functions | |
ContextHandler (const ContextHandler &rParent) | |
virtual | ~ContextHandler () override |
XmlFilterBase & | getFilter () const |
Returns the filter instance. More... | |
const Relations & | getRelations () const |
Returns the relations of the current fragment. More... | |
const OUString & | getFragmentPath () const |
Returns the full path of the current fragment. More... | |
OUString | getFragmentPathFromRelation (const Relation &rRelation) const |
Returns the full fragment path for the target of the passed relation. More... | |
OUString | getFragmentPathFromRelId (const OUString &rRelId) const |
Returns the full fragment path for the passed relation identifier. More... | |
OUString | getFragmentPathFromFirstType (std::u16string_view rType) const |
Returns the full fragment path for the first relation of the passed type. More... | |
OUString | getFragmentPathFromFirstTypeFromOfficeDoc (std::u16string_view rType) const |
virtual void SAL_CALL | startFastElement (::sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | endFastElement (::sal_Int32 Element) override |
virtual void SAL_CALL | endUnknownElement (const OUString &Namespace, const OUString &Name) override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createFastChildContext (::sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | characters (const OUString &aChars) override |
virtual ContextHandlerRef | createRecordContext (sal_Int32 nRecId, SequenceInputStream &rStrm) |
virtual void | startRecord (sal_Int32 nRecId, SequenceInputStream &rStrm) |
virtual void | endRecord (sal_Int32 nRecId) |
Protected Member Functions | |
ContextHandler (FragmentBaseDataRef rxBaseData) | |
Helper constructor for the FragmentHandler. More... | |
void | implSetLocator (const css::uno::Reference< css::xml::sax::XLocator > &rxLocator) |
Private Member Functions | |
ContextHandler & | operator= (const ContextHandler &)=delete |
Private Attributes | |
FragmentBaseDataRef | mxBaseData |
Base data of the fragment. More... | |
Definition at line 57 of file contexthandler.hxx.
|
explicit |
Definition at line 30 of file contexthandler.cxx.
|
overridevirtual |
Definition at line 41 of file contexthandler.cxx.
|
explicitprotected |
Helper constructor for the FragmentHandler.
Definition at line 36 of file contexthandler.cxx.
|
overridevirtual |
Reimplemented in oox::core::ContextHandler2.
Definition at line 114 of file contexthandler.cxx.
|
overridevirtual |
Definition at line 104 of file contexthandler.cxx.
|
virtual |
Reimplemented in oox::core::ContextHandler2.
Definition at line 120 of file contexthandler.cxx.
|
overridevirtual |
Definition at line 109 of file contexthandler.cxx.
|
overridevirtual |
Definition at line 96 of file contexthandler.cxx.
|
virtual |
Reimplemented in oox::core::ContextHandler2.
Definition at line 129 of file contexthandler.cxx.
|
overridevirtual |
Definition at line 100 of file contexthandler.cxx.
XmlFilterBase & oox::core::ContextHandler::getFilter | ( | ) | const |
Returns the filter instance.
Definition at line 45 of file contexthandler.cxx.
References mxBaseData.
Referenced by oox::drawingml::BlipContext::BlipContext(), oox::drawingml::chart::DoubleSequenceContext::getNumberFormatter(), oox::drawingml::HyperLinkContext::HyperLinkContext(), oox::drawingml::GraphicShapeContext::onCreateContext(), oox::drawingml::OleObjectGraphicDataContext::onCreateContext(), oox::drawingml::DiagramGraphicDataContext::onCreateContext(), oox::drawingml::ArtisticEffectContext::onCreateContext(), oox::ole::AxControlPropertyContext::onCreateContext(), oox::drawingml::chart::AxisContextBase::onCreateContext(), oox::drawingml::chart::CatAxisContext::onCreateContext(), oox::drawingml::chart::DateAxisContext::onCreateContext(), oox::drawingml::chart::View3DContext::onCreateContext(), oox::drawingml::chart::WallFloorContext::onCreateContext(), oox::drawingml::chart::PlotAreaContext::onCreateContext(), oox::drawingml::chart::DataLabelContext::onCreateContext(), oox::drawingml::chart::DataLabelsContext::onCreateContext(), oox::drawingml::chart::PictureOptionsContext::onCreateContext(), oox::drawingml::chart::ErrorBarContext::onCreateContext(), oox::drawingml::chart::TrendlineContext::onCreateContext(), oox::drawingml::chart::DataPointContext::onCreateContext(), oox::drawingml::chart::AreaSeriesContext::onCreateContext(), oox::drawingml::chart::BarSeriesContext::onCreateContext(), oox::drawingml::chart::BubbleSeriesContext::onCreateContext(), oox::drawingml::chart::LineSeriesContext::onCreateContext(), oox::drawingml::chart::PieSeriesContext::onCreateContext(), oox::drawingml::chart::RadarSeriesContext::onCreateContext(), oox::drawingml::chart::ScatterSeriesContext::onCreateContext(), oox::drawingml::chart::AreaTypeGroupContext::onCreateContext(), oox::drawingml::chart::BarTypeGroupContext::onCreateContext(), oox::drawingml::chart::BubbleTypeGroupContext::onCreateContext(), oox::drawingml::chart::LineTypeGroupContext::onCreateContext(), oox::drawingml::chart::PieTypeGroupContext::onCreateContext(), oox::drawingml::chart::RadarTypeGroupContext::onCreateContext(), oox::drawingml::chart::ScatterTypeGroupContext::onCreateContext(), oox::drawingml::chart::SurfaceTypeGroupContext::onCreateContext(), oox::shape::WpsContext::onEndElement(), oox::drawingml::clrSchemeColorContext::~clrSchemeColorContext(), and oox::drawingml::OleObjectGraphicDataContext::~OleObjectGraphicDataContext().
const OUString & oox::core::ContextHandler::getFragmentPath | ( | ) | const |
Returns the full path of the current fragment.
Definition at line 55 of file contexthandler.cxx.
References mxBaseData.
OUString oox::core::ContextHandler::getFragmentPathFromFirstType | ( | std::u16string_view | rType | ) | const |
Returns the full fragment path for the first relation of the passed type.
Definition at line 70 of file contexthandler.cxx.
References mxBaseData.
OUString oox::core::ContextHandler::getFragmentPathFromFirstTypeFromOfficeDoc | ( | std::u16string_view | rType | ) | const |
Definition at line 75 of file contexthandler.cxx.
References mxBaseData.
OUString oox::core::ContextHandler::getFragmentPathFromRelation | ( | const Relation & | rRelation | ) | const |
Returns the full fragment path for the target of the passed relation.
Definition at line 60 of file contexthandler.cxx.
References mxBaseData.
Referenced by oox::drawingml::OleObjectGraphicDataContext::onCreateContext().
OUString oox::core::ContextHandler::getFragmentPathFromRelId | ( | const OUString & | rRelId | ) | const |
Returns the full fragment path for the passed relation identifier.
Definition at line 65 of file contexthandler.cxx.
References mxBaseData.
Referenced by oox::drawingml::BlipContext::BlipContext(), oox::vml::ControlShapeContext::ControlShapeContext(), oox::vml::ShapeTypeContext::decodeFragmentPath(), oox::drawingml::DiagramGraphicDataContext::onCreateContext(), oox::drawingml::ChartGraphicDataContext::onCreateContext(), oox::drawingml::ArtisticEffectContext::onCreateContext(), oox::ole::AxControlPropertyContext::onCreateContext(), oox::vml::ShapeContext::onCreateContext(), and oox::vml::TextPortionContext::TextPortionContext().
const Relations & oox::core::ContextHandler::getRelations | ( | ) | const |
Returns the relations of the current fragment.
Definition at line 50 of file contexthandler.cxx.
References mxBaseData.
Referenced by oox::drawingml::BlipContext::BlipContext(), oox::drawingml::HyperLinkContext::HyperLinkContext(), oox::drawingml::GraphicShapeContext::onCreateContext(), oox::drawingml::OleObjectGraphicDataContext::onCreateContext(), and oox::drawingml::DiagramGraphicDataContext::onCreateContext().
|
protected |
Definition at line 81 of file contexthandler.cxx.
References mxBaseData.
|
privatedelete |
|
overridevirtual |
Definition at line 88 of file contexthandler.cxx.
|
virtual |
Reimplemented in oox::core::ContextHandler2.
Definition at line 125 of file contexthandler.cxx.
|
overridevirtual |
Definition at line 92 of file contexthandler.cxx.
|
private |
Base data of the fragment.
Definition at line 108 of file contexthandler.hxx.
Referenced by getFilter(), getFragmentPath(), getFragmentPathFromFirstType(), getFragmentPathFromFirstTypeFromOfficeDoc(), getFragmentPathFromRelation(), getFragmentPathFromRelId(), getRelations(), and implSetLocator().