LibreOffice Module sc (master) 1
|
This context handles <text:p> element inside <table:table-cell>. More...
#include <celltextparacontext.hxx>
Public Member Functions | |
ScXMLCellTextParaContext (ScXMLImport &rImport, ScXMLTableRowCellContext &rParent) | |
virtual void SAL_CALL | endFastElement (sal_Int32 nElement) override |
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) |
void | PushFieldSheetName (const OUString &rStyleName) |
void | PushFieldDate (const OUString &rStyleName) |
void | PushFieldTitle (const OUString &rStyleName) |
void | PushFieldURL (const OUString &rURL, const OUString &rRep, const OUString &rStyleName, const OUString &rTargetFrame) |
Public Member Functions inherited from ScXMLImportContext | |
ScXMLImportContext (SvXMLImport &rImport) | |
Public Member Functions inherited from SvXMLImportContext | |
SvXMLImportContext (SvXMLImport &rImport) | |
virtual | ~SvXMLImportContext () |
virtual void SAL_CALL | startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | endFastElement (sal_Int32 Element) override |
virtual void SAL_CALL | endUnknownElement (const OUString &Namespace, const OUString &Name) override |
virtual css::uno::Reference< XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
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 |
virtual void SAL_CALL | characters (const OUString &aChars) override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) final override |
virtual void SAL_CALL | acquire () noexcept final override |
virtual void SAL_CALL | release () noexcept final override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () final override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () final override |
Private Attributes | |
ScXMLTableRowCellContext & | mrParentCxt |
OUString | maContent |
Additional Inherited Members | |
Protected Member Functions inherited from ScXMLImportContext | |
ScXMLImport & | GetScImport () |
const ScXMLImport & | GetScImport () const |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
This context handles <text:p> element inside <table:table-cell>.
Definition at line 20 of file celltextparacontext.hxx.
ScXMLCellTextParaContext::ScXMLCellTextParaContext | ( | ScXMLImport & | rImport, |
ScXMLTableRowCellContext & | rParent | ||
) |
Definition at line 21 of file celltextparacontext.cxx.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 36 of file celltextparacontext.cxx.
References maContent.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 41 of file celltextparacontext.cxx.
References ScXMLImportContext::GetScImport(), maContent, mrParentCxt, ScXMLTableRowCellContext::PushParagraphSpan(), SAL_WARN, TEXT, XML_A, XML_BOOKMARK, XML_BOOKMARK_END, XML_BOOKMARK_START, XML_DATE, XML_ELEMENT, XML_LINE_BREAK, XML_RUBY, XML_S, XML_SHEET_NAME, XML_SPAN, XML_TAB, and XML_TITLE.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 28 of file celltextparacontext.cxx.
References maContent, mrParentCxt, ScXMLTableRowCellContext::PushParagraphEnd(), and ScXMLTableRowCellContext::PushParagraphSpan().
void ScXMLCellTextParaContext::PushFieldDate | ( | const OUString & | rStyleName | ) |
Definition at line 95 of file celltextparacontext.cxx.
References mrParentCxt, and ScXMLTableRowCellContext::PushParagraphFieldDate().
Referenced by ScXMLCellFieldDateContext::endFastElement().
void ScXMLCellTextParaContext::PushFieldSheetName | ( | const OUString & | rStyleName | ) |
Definition at line 90 of file celltextparacontext.cxx.
References mrParentCxt, and ScXMLTableRowCellContext::PushParagraphFieldSheetName().
Referenced by ScXMLCellFieldSheetNameContext::endFastElement().
void ScXMLCellTextParaContext::PushFieldTitle | ( | const OUString & | rStyleName | ) |
Definition at line 100 of file celltextparacontext.cxx.
References mrParentCxt, and ScXMLTableRowCellContext::PushParagraphFieldDocTitle().
Referenced by ScXMLCellFieldTitleContext::endFastElement().
void ScXMLCellTextParaContext::PushFieldURL | ( | const OUString & | rURL, |
const OUString & | rRep, | ||
const OUString & | rStyleName, | ||
const OUString & | rTargetFrame | ||
) |
Definition at line 105 of file celltextparacontext.cxx.
References mrParentCxt, and ScXMLTableRowCellContext::PushParagraphFieldURL().
Referenced by ScXMLCellFieldURLContext::endFastElement().
void ScXMLCellTextParaContext::PushSpan | ( | std::u16string_view | aSpan, |
const OUString & | rStyleName | ||
) |
Definition at line 85 of file celltextparacontext.cxx.
References mrParentCxt, and ScXMLTableRowCellContext::PushParagraphSpan().
Referenced by ScXMLCellFieldSContext::PushSpaces(), and ScXMLCellTextSpanContext::submitContentAndClear().
|
private |
Definition at line 23 of file celltextparacontext.hxx.
Referenced by characters(), createFastChildContext(), and endFastElement().
|
private |
Definition at line 22 of file celltextparacontext.hxx.
Referenced by createFastChildContext(), endFastElement(), PushFieldDate(), PushFieldSheetName(), PushFieldTitle(), PushFieldURL(), and PushSpan().