31#include <com/sun/star/drawing/XShapes.hpp>
46 const Reference< XFastAttributeList > & xAttrList,
47 TextContentAnchorType eATyp ) :
49 eDefaultAnchorType( eATyp ),
56 switch( aIter.getToken() )
62 sName = aIter.toString();
68 sShow = aIter.toString();
99 const css::uno::Reference< css::xml::sax::XFastAttributeList>& xAttrList )
110 pContext = pTextFrameContext;
130 Reference<XShapes> xShapes;
132 GetImport(), nElement, xAttrList, xShapes);
134 pContext = pShapeContext;
160 Reference <XTextContent > xTxt;
173 Reference < drawing::XShape > xShape;
This class deliberately does not support XWeak, to improve performance when loading large documents.
SvXMLImport & GetImport()
void setHyperlink(const OUString &rHyperlink)
static SvXMLShapeContext * CreateGroupChildContext(SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > const &rShapes, bool bTemporaryShape=false)
css::text::TextContentAnchorType GetAnchorType() const
css::uno::Reference< css::text::XTextContent > GetTextContent() const
void SetHyperlink(const OUString &rHRef, const OUString &rName, const OUString &rTargetFrameName, bool bMap)
css::uno::Reference< css::drawing::XShape > GetShape() const
css::uno::Reference< css::drawing::XShape > GetShape() const
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 sTargetFrameName
virtual ~XMLTextFrameHyperlinkContext() override
css::text::TextContentAnchorType GetAnchorType() const
css::uno::Reference< css::text::XTextContent > GetTextContent() const
SvXMLImportContextRef xFrameContext
css::text::TextContentAnchorType eDefaultAnchorType
XMLTextFrameHyperlinkContext(SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::text::TextContentAnchorType eDefaultAnchorType)
static bool convertBool(bool &rBool, std::u16string_view rString)
FastAttributeList & castToFastAttributeList(const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
Handling of tokens in XML:
bool IsXMLToken(std::u16string_view rString, enum XMLTokenEnum eToken)
compare eToken to the string
#define XMLOFF_WARN_UNKNOWN_ELEMENT(area, token)
#define XMLOFF_WARN_UNKNOWN(area, rIter)
#define XML_ELEMENT(prefix, name)