32 mxBaseData( rParent.mxBaseData )
37 mxBaseData(
std::move( xBaseData ))
62 return mxBaseData->mxRelations->getFragmentPathFromRelation( rRelation );
67 return mxBaseData->mxRelations->getFragmentPathFromRelId( rRelId );
72 return mxBaseData->mxRelations->getFragmentPathFromFirstType( rType );
78 return mxBaseData->mxRelations->getFragmentPathFromFirstTypeFromOfficeDoc( rType );
XmlFilterBase & getFilter() const
Returns the filter instance.
const OUString & getFragmentPath() const
Returns the full path of the current fragment.
virtual void SAL_CALL endUnknownElement(const OUString &Namespace, const OUString &Name) override
virtual void SAL_CALL startUnknownElement(const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
OUString getFragmentPathFromFirstType(std::u16string_view rType) const
Returns the full fragment path for the first relation of the passed type.
OUString getFragmentPathFromRelation(const Relation &rRelation) const
Returns the full fragment path for the target of the passed relation.
OUString getFragmentPathFromRelId(const OUString &rRelId) const
Returns the full fragment path for the passed relation identifier.
virtual void SAL_CALL startFastElement(::sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
virtual void endRecord(sal_Int32 nRecId)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(::sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
OUString getFragmentPathFromFirstTypeFromOfficeDoc(std::u16string_view rType) const
virtual void startRecord(sal_Int32 nRecId, SequenceInputStream &rStrm)
void implSetLocator(const css::uno::Reference< css::xml::sax::XLocator > &rxLocator)
ContextHandler(const ContextHandler &rParent)
FragmentBaseDataRef mxBaseData
Base data of the fragment.
virtual ~ContextHandler() override
virtual ContextHandlerRef createRecordContext(sal_Int32 nRecId, SequenceInputStream &rStrm)
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
const Relations & getRelations() const
Returns the relations of the current fragment.
virtual void SAL_CALL endFastElement(::sal_Int32 Element) override
virtual void SAL_CALL characters(const OUString &aChars) override
std::shared_ptr< FragmentBaseData > FragmentBaseDataRef
::cppu::WeakImplHelper< css::xml::sax::XFastContextHandler > ContextHandler_BASE