32 mbUseShapePos( false ),
43 const uno::Reference<xml::sax::XFastAttributeList>& xAttrList,
46 mrAnnotationData( rAnnotationData )
48 uno::Reference<drawing::XShapes> xLocalShapes (
GetScImport().GetTables().GetCurrentXShapes());
49 if (xLocalShapes.is())
54 GetScImport(), nElement, xAttrList, xLocalShapes,
true) );
59 switch( aIter.getToken() )
111 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
125 auto p =
pShapeContext->createFastChildContext(nElement, xAttrList);
158 const OUString& rStyleName,
const OUString& rTextStyle )
ScXMLAnnotationData & mrAnnotationData
std::unique_ptr< SvXMLImportContext > pShapeContext
OUStringBuffer maAuthorBuffer
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
OUStringBuffer maCreateDateStringBuffer
virtual ~ScXMLAnnotationContext() override
OUStringBuffer maTextBuffer
void SetShape(const css::uno::Reference< css::drawing::XShape > &rxShape, const css::uno::Reference< css::drawing::XShapes > &rxShapes, const OUString &rStyleName, const OUString &rTextStyle)
ScXMLAnnotationContext(ScXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, ScXMLAnnotationData &rAnnotationData)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
OUStringBuffer maCreateDateBuffer
void AddContentStyle(XmlStyleFamily nFamily, const OUString &rName, const ESelection &rSelection)
virtual void SAL_CALL characters(const OUString &rChars) override
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
This class exists only to provide GetScImport() to its derived classes.
ScXMLImport & GetScImport()
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)
void SetAnnotation(ScXMLAnnotationContext *pAnnotation)
FastAttributeList & castToFastAttributeList(const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
bool IsXMLToken(std::u16string_view rString, enum XMLTokenEnum eToken)
std::vector< ScXMLAnnotationStyleEntry > maContentStyles
css::uno::Reference< css::drawing::XShape > mxShape
css::uno::Reference< css::drawing::XShapes > mxShapes
#define XMLOFF_WARN_UNKNOWN_ELEMENT(area, token)
#define XMLOFF_WARN_UNKNOWN(area, rIter)
#define XML_ELEMENT(prefix, name)