LibreOffice Module sc (master) 1
|
#include <xmlsorti.hxx>
Public Member Functions | |
ScXMLSortContext (ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDatabaseRangeContext *pTempDatabaseRangeContext) | |
virtual | ~ScXMLSortContext () 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 |
virtual void SAL_CALL | endFastElement (sal_Int32 nElement) override |
void | AddSortField (std::u16string_view sFieldNumber, std::u16string_view sDataType, std::u16string_view sOrder) |
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 | |
ScXMLDatabaseRangeContext * | pDatabaseRangeContext |
css::uno::Sequence< css::util::SortField > | aSortFields |
css::table::CellAddress | aOutputPosition |
LanguageTagODF | maLanguageTagODF |
OUString | sAlgorithm |
sal_Int16 | nUserListIndex |
bool | bCopyOutputData |
bool | bBindFormatsToContent |
bool | bIsCaseSensitive |
bool | bEnabledUserList |
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 |
Definition at line 32 of file xmlsorti.hxx.
ScXMLSortContext::ScXMLSortContext | ( | ScXMLImport & | rImport, |
const rtl::Reference< sax_fastparser::FastAttributeList > & | rAttrList, | ||
ScXMLDatabaseRangeContext * | pTempDatabaseRangeContext | ||
) |
Definition at line 36 of file xmlsorti.cxx.
References aOutputPosition, ScRange::aStart, bBindFormatsToContent, bCopyOutputData, bIsCaseSensitive, formula::FormulaGrammar::CONV_OOO, ScUnoConversion::FillApiAddress(), ScXMLImport::GetDocument(), ScRangeStringConverter::GetRangeFromString(), ScXMLImportContext::GetScImport(), IsXMLToken(), LanguageTagODF::maCountry, LanguageTagODF::maLanguage, maLanguageTagODF, LanguageTagODF::maRfcLanguageTag, LanguageTagODF::maScript, sAlgorithm, TABLE, XML_ALGORITHM, XML_BIND_STYLES_TO_CONTENT, XML_CASE_SENSITIVE, XML_COUNTRY, XML_ELEMENT, XML_LANGUAGE, XML_RFC_LANGUAGE_TAG, XML_SCRIPT, XML_TARGET_RANGE_ADDRESS, and XML_TRUE.
|
overridevirtual |
Definition at line 106 of file xmlsorti.cxx.
void ScXMLSortContext::AddSortField | ( | std::u16string_view | sFieldNumber, |
std::u16string_view | sDataType, | ||
std::u16string_view | sOrder | ||
) |
Definition at line 166 of file xmlsorti.cxx.
References aSortFields, bEnabledUserList, if(), IsXMLToken(), nUserListIndex, o3tl::toInt32(), u, XML_ASCENDING, XML_AUTOMATIC, XML_NUMBER, and XML_TEXT.
Referenced by ScXMLSortByContext::endFastElement().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 110 of file xmlsorti.cxx.
References sax_fastparser::castToFastAttributeList(), ScXMLImportContext::GetScImport(), TABLE, XML_ELEMENT, and XML_SORT_BY.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 129 of file xmlsorti.cxx.
References aOutputPosition, aSortFields, bBindFormatsToContent, bCopyOutputData, bEnabledUserList, bIsCaseSensitive, LanguageTagODF::getLanguageTag(), LanguageTag::getLocale(), i, LanguageTagODF::isEmpty(), maLanguageTagODF, nUserListIndex, pDatabaseRangeContext, sAlgorithm, SC_UNONAME_BINDFMT, SC_UNONAME_COLLALG, SC_UNONAME_COLLLOC, SC_UNONAME_COPYOUT, SC_UNONAME_ISCASE, SC_UNONAME_ISULIST, SC_UNONAME_OUTPOS, SC_UNONAME_SORTFLD, SC_UNONAME_UINDEX, and ScXMLDatabaseRangeContext::SetSortSequence().
|
private |
Definition at line 37 of file xmlsorti.hxx.
Referenced by endFastElement(), and ScXMLSortContext().
|
private |
Definition at line 36 of file xmlsorti.hxx.
Referenced by AddSortField(), and endFastElement().
|
private |
Definition at line 42 of file xmlsorti.hxx.
Referenced by endFastElement(), and ScXMLSortContext().
|
private |
Definition at line 41 of file xmlsorti.hxx.
Referenced by endFastElement(), and ScXMLSortContext().
|
private |
Definition at line 44 of file xmlsorti.hxx.
Referenced by AddSortField(), and endFastElement().
|
private |
Definition at line 43 of file xmlsorti.hxx.
Referenced by endFastElement(), and ScXMLSortContext().
|
private |
Definition at line 38 of file xmlsorti.hxx.
Referenced by endFastElement(), and ScXMLSortContext().
|
private |
Definition at line 40 of file xmlsorti.hxx.
Referenced by AddSortField(), and endFastElement().
|
private |
Definition at line 34 of file xmlsorti.hxx.
Referenced by endFastElement().
|
private |
Definition at line 39 of file xmlsorti.hxx.
Referenced by endFastElement(), and ScXMLSortContext().