42 sal_Int32 nElement,
const uno::Reference< xml::sax::XFastAttributeList >& )
79 SAL_WARN(
"sc",
"unknown text element["<<nElement<<
"]["<<SvXMLImport::getNameFromToken(nElement )<<
"] lost");
106 const OUString& rURL,
const OUString& rRep,
const OUString& rStyleName,
const OUString& rTargetFrame)
119 const uno::Reference< xml::sax::XFastAttributeList >& xAttrList )
123 switch (aIter.getToken())
145 sal_Int32 nElement,
const uno::Reference< xml::sax::XFastAttributeList >& )
261 const uno::Reference< xml::sax::XFastAttributeList >& xAttrList )
265 switch (aIter.getToken())
268 maURL = aIter.toString();
295 mrParentCxt(rParent),
306 const uno::Reference< xml::sax::XFastAttributeList >& xAttrList )
310 switch (aIter.getToken())
330 sal_Int32 ,
const uno::Reference< xml::sax::XFastAttributeList >& )
365 const uno::Reference< xml::sax::XFastAttributeList >& xAttrList )
369 switch (aIter.getToken())
381 sal_Int32 nElement,
const uno::Reference< xml::sax::XFastAttributeList >& )
411 sal_Int32 nElement,
const uno::Reference< xml::sax::XFastAttributeList >& )
426 ScXMLImport& rImport, OUString& rRubyText, OUString& rRubyTextStyle) :
428 mrRubyText(rRubyText),
429 mrRubyTextStyle(rRubyTextStyle)
434 const uno::Reference< xml::sax::XFastAttributeList >& xAttrList )
438 switch (aIter.getToken())
This context handles <text:date> element inside <text:p>.
void SetStyleName(const OUString &rStyleName)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
ScXMLCellFieldDateContext(ScXMLImport &rImport, ScXMLCellTextParaContext &rParent)
ScXMLCellTextParaContext & mrParentCxt
This context handles <text:s> element inside <text:p> or <text:span>.
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
ScXMLCellFieldSContext(ScXMLImport &rImport, ScXMLCellTextParaContext &rParent)
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
void SetStyleName(const OUString &rStyleName)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
ScXMLCellTextParaContext & mrParentCxt
This context handles <text:sheet-name> element inside <text:p>.
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
ScXMLCellFieldSheetNameContext(ScXMLImport &rImport, ScXMLCellTextParaContext &rParent)
ScXMLCellTextParaContext & mrParentCxt
void SetStyleName(const OUString &rStyleName)
This context handles <text:title> element inside <text:p>.
ScXMLCellTextParaContext & mrParentCxt
void SetStyleName(const OUString &rStyleName)
ScXMLCellFieldTitleContext(ScXMLImport &rImport, ScXMLCellTextParaContext &rParent)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
This context handles <text:a> element inside <text:p> or <text:span>.
virtual void SAL_CALL characters(const OUString &aChars) override
ScXMLCellFieldURLContext(ScXMLImport &rImport, ScXMLCellTextParaContext &rParent)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
ScXMLCellTextParaContext & mrParentCxt
void SetStyleName(const OUString &rStyleName)
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
This context handles <text:ruby-base> element inside <text:ruby>.
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
ScXMLCellTextParaContext & mrParentCxt
ScXMLCellRubyBaseContext(ScXMLImport &rImport, ScXMLCellTextParaContext &rParent)
This context handles <text:ruby-text> element inside <text:ruby>.
ScXMLCellRubyTextContext(ScXMLImport &rImport, OUString &rRubyText, OUString &rRubyTextStyle)
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
OUString & mrRubyTextStyle
virtual void SAL_CALL characters(const OUString &aChars) override
This context handles <text:p> element inside <table:table-cell>.
void PushFieldTitle(const OUString &rStyleName)
void PushFieldURL(const OUString &rURL, const OUString &rRep, const OUString &rStyleName, const OUString &rTargetFrame)
void PushFieldSheetName(const OUString &rStyleName)
virtual void SAL_CALL characters(const OUString &aChars) 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
void PushSpan(std::u16string_view aSpan, const OUString &rStyleName)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
void PushFieldDate(const OUString &rStyleName)
ScXMLCellTextParaContext(ScXMLImport &rImport, ScXMLTableRowCellContext &rParent)
ScXMLTableRowCellContext & mrParentCxt
This context handles <text:ruby> element inside <text:p>.
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
ScXMLCellTextRubyContext(ScXMLImport &rImport, ScXMLCellTextParaContext &rParent)
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
ScXMLCellTextParaContext & mrParentCxt
This context handles <text:span> element inside <text:p>.
ScXMLCellTextParaContext & mrParentCxt
ScXMLCellTextSpanContext(ScXMLImport &rImport, ScXMLCellTextParaContext &rParent)
void submitContentAndClear()
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual void SAL_CALL characters(const OUString &aChars) override
This class exists only to provide GetScImport() to its derived classes.
ScXMLImport & GetScImport()
void PushParagraphFieldDocTitle(const OUString &rStyleName)
void PushParagraphFieldSheetName(const OUString &rStyleName)
void PushParagraphSpan(std::u16string_view rSpan, const OUString &rStyleName)
void PushParagraphFieldDate(const OUString &rStyleName)
void PushParagraphFieldURL(const OUString &rURL, const OUString &rRep, const OUString &rStyleName, const OUString &rTargetFrame)
#define SAL_WARN(area, stream)
OStringBuffer & padToLength(OStringBuffer &rBuffer, sal_Int32 nLength, char cFill='\0')
FastAttributeList & castToFastAttributeList(const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
#define XML_ELEMENT(prefix, name)