LibreOffice Module xmloff (master) 1
|
#include <SchXMLTableContext.hxx>
Public Member Functions | |
SchXMLTableContext (SvXMLImport &rImport, SchXMLTable &aTable) | |
virtual | ~SchXMLTableContext () override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override |
virtual void SAL_CALL | startFastElement (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override |
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 parsed. More... | |
void | setRowPermutation (const css::uno::Sequence< sal_Int32 > &rPermutation) |
void | setColumnPermutation (const css::uno::Sequence< sal_Int32 > &rPermutation) |
Public Member Functions inherited from SvXMLImportContext | |
SvXMLImportContext (SvXMLImport &rImport) | |
A contexts constructor does anything that is required if an element starts. More... | |
virtual | ~SvXMLImportContext () |
A contexts destructor does anything that is required if an element ends. More... | |
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 |
endFastElement is called before a context will be destructed, but after an elements context has been parsed. More... | |
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 |
This method is called for all characters that are contained in the current element. More... | |
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 | |
SchXMLTable & | mrTable |
bool | mbHasRowPermutation |
bool | mbHasColumnPermutation |
css::uno::Sequence< sal_Int32 > | maRowPermutation |
css::uno::Sequence< sal_Int32 > | maColumnPermutation |
Additional Inherited Members | |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 38 of file SchXMLTableContext.hxx.
SchXMLTableContext::SchXMLTableContext | ( | SvXMLImport & | rImport, |
SchXMLTable & | aTable | ||
) |
Definition at line 198 of file SchXMLTableContext.cxx.
References SchXMLTable::aData, mrTable, SchXMLTable::nColumnIndex, SchXMLTable::nMaxColumnIndex, and SchXMLTable::nRowIndex.
|
overridevirtual |
Definition at line 211 of file SchXMLTableContext.cxx.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 215 of file SchXMLTableContext.cxx.
References SchXMLTable::bHasHeaderColumn, SchXMLTable::bHasHeaderRow, SvXMLImportContext::GetImport(), mrTable, TABLE, XML_ELEMENT, xmloff::token::XML_TABLE_COLUMN, xmloff::token::XML_TABLE_COLUMNS, xmloff::token::XML_TABLE_HEADER_COLUMNS, xmloff::token::XML_TABLE_HEADER_ROWS, xmloff::token::XML_TABLE_ROW, xmloff::token::XML_TABLE_ROWS, and XMLOFF_WARN_UNKNOWN_ELEMENT.
|
overridevirtual |
endFastElement is called before a context will be destructed, but after an elements context has been parsed.
It may be used for actions that require virtual methods. The default is to do nothing.
Reimplemented from SvXMLImportContext.
Definition at line 275 of file SchXMLTableContext.cxx.
References SchXMLTable::aData, maColumnPermutation, maRowPermutation, mbHasColumnPermutation, mbHasRowPermutation, mrTable, and SAL_WARN_IF.
void SchXMLTableContext::setColumnPermutation | ( | const css::uno::Sequence< sal_Int32 > & | rPermutation | ) |
Definition at line 368 of file SchXMLTableContext.cxx.
References maColumnPermutation, maRowPermutation, mbHasColumnPermutation, and mbHasRowPermutation.
Referenced by SchXMLChartContext::createFastChildContext().
void SchXMLTableContext::setRowPermutation | ( | const css::uno::Sequence< sal_Int32 > & | rPermutation | ) |
Definition at line 356 of file SchXMLTableContext.cxx.
References maColumnPermutation, maRowPermutation, mbHasColumnPermutation, and mbHasRowPermutation.
Referenced by SchXMLChartContext::createFastChildContext().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 251 of file SchXMLTableContext.cxx.
References SchXMLTable::aTableNameOfFile, SchXMLTable::bProtected, sax_fastparser::castToFastAttributeList(), xmloff::token::IsXMLToken(), mrTable, TABLE, XML_ELEMENT, xmloff::token::XML_NAME, xmloff::token::XML_PROTECTED, xmloff::token::XML_TRUE, and XMLOFF_WARN_UNKNOWN.
|
private |
Definition at line 46 of file SchXMLTableContext.hxx.
Referenced by endFastElement(), setColumnPermutation(), and setRowPermutation().
|
private |
Definition at line 45 of file SchXMLTableContext.hxx.
Referenced by endFastElement(), setColumnPermutation(), and setRowPermutation().
|
private |
Definition at line 44 of file SchXMLTableContext.hxx.
Referenced by endFastElement(), setColumnPermutation(), and setRowPermutation().
|
private |
Definition at line 43 of file SchXMLTableContext.hxx.
Referenced by endFastElement(), setColumnPermutation(), and setRowPermutation().
|
private |
Definition at line 41 of file SchXMLTableContext.hxx.
Referenced by createFastChildContext(), endFastElement(), SchXMLTableContext(), and startFastElement().