24#include <com/sun/star/text/TextContentAnchorType.hpp>
29 namespace text {
class XTextCursor;
class XTextContent; }
57 bool CreateIfNotThere( css::uno::Reference < css::beans::XPropertySet >& rPropSet );
69 const css::uno::Reference<
70 css::xml::sax::XFastAttributeList > & xAttrList,
71 css::text::TextContentAnchorType eDfltAnchorType );
76 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
79 const OUString& rName,
80 const OUString& rTargetFrameName,
85 css::uno::Reference < css::text::XTextContent >
GetTextContent()
const;
88 css::uno::Reference < css::drawing::XShape >
GetShape()
const;
This class deliberately does not support XWeak, to improve performance when loading large documents.
rtl::Reference< sax_fastparser::FastAttributeList > m_xAttrList
css::text::TextContentAnchorType GetAnchorType() const
css::uno::Reference< css::text::XTextContent > GetTextContent() const
css::text::TextContentAnchorType m_eDefaultAnchorType
std::unique_ptr< XMLTextFrameContextHyperlink_Impl > m_pHyperlink
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
OUString getGraphicPackageURLFromImportContext(const SvXMLImportContext &rContext) const override
void SetHyperlink(const OUString &rHRef, const OUString &rName, const OUString &rTargetFrameName, bool bMap)
css::uno::Reference< css::graphic::XGraphic > getGraphicFromImportContext(const SvXMLImportContext &rContext) const override
XMLTextFrameContext(SvXMLImport &rImport, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::text::TextContentAnchorType eDfltAnchorType)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
endFastElement is called before a context will be destructed, but after an elements context has been ...
bool CreateIfNotThere(css::uno::Reference< css::beans::XPropertySet > &rPropSet)
bool m_HasAutomaticStyleWithoutParentStyle
SvXMLImportContextRef m_xImplContext
bool m_bSupportsReplacement
css::uno::Reference< css::drawing::XShape > GetShape() const
void removeGraphicFromImportContext(const SvXMLImportContext &rContext) override
helper to get the created xShape instance, needs to be overridden
SvXMLImportContextRef m_xReplImplContext