LibreOffice Module sc (master) 1
|
#include <xmlfilti.hxx>
Classes | |
struct | ConnStackItem |
Public Member Functions | |
ScXMLFilterContext (ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScQueryParam &rParam, ScXMLDatabaseRangeContext *pTempDatabaseRangeContext) | |
virtual | ~ScXMLFilterContext () 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 | OpenConnection (bool b) |
void | CloseConnection () |
bool | GetConnection () |
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 | |
ScQueryParam & | mrQueryParam |
ScXMLDatabaseRangeContext * | pDatabaseRangeContext |
ScAddress | aOutputPosition |
ScRange | aConditionSourceRangeAddress |
bool | bSkipDuplicates |
bool | bCopyOutputData |
bool | bConditionSourceRange |
std::vector< ConnStackItem > | maConnStack |
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 34 of file xmlfilti.hxx.
ScXMLFilterContext::ScXMLFilterContext | ( | ScXMLImport & | rImport, |
const rtl::Reference< sax_fastparser::FastAttributeList > & | rAttrList, | ||
ScQueryParam & | rParam, | ||
ScXMLDatabaseRangeContext * | pTempDatabaseRangeContext | ||
) |
Definition at line 41 of file xmlfilti.cxx.
References aConditionSourceRangeAddress, aOutputPosition, ScRange::aStart, bConditionSourceRange, bCopyOutputData, bSkipDuplicates, formula::FormulaGrammar::CONV_OOO, ScRangeStringConverter::GetRangeFromString(), ScXMLImportContext::GetScImport(), IsXMLToken(), TABLE, XML_CONDITION_SOURCE, XML_CONDITION_SOURCE_RANGE_ADDRESS, XML_DISPLAY_DUPLICATES, XML_ELEMENT, XML_TARGET_RANGE_ADDRESS, and XML_TRUE.
|
overridevirtual |
Definition at line 94 of file xmlfilti.cxx.
void ScXMLFilterContext::CloseConnection | ( | ) |
Definition at line 151 of file xmlfilti.cxx.
References maConnStack.
Referenced by ScXMLAndContext::endFastElement(), and ScXMLOrContext::endFastElement().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 98 of file xmlfilti.cxx.
References sax_fastparser::castToFastAttributeList(), ScXMLImportContext::GetScImport(), mrQueryParam, TABLE, XML_ELEMENT, XML_FILTER_AND, XML_FILTER_CONDITION, and XML_FILTER_OR.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 130 of file xmlfilti.cxx.
References aConditionSourceRangeAddress, aOutputPosition, bConditionSourceRange, bCopyOutputData, ScQueryParamBase::bDuplicate, ScQueryParamBase::bInplace, bSkipDuplicates, ScAddress::Col(), mrQueryParam, ScQueryParam::nDestCol, ScQueryParam::nDestRow, ScQueryParam::nDestTab, pDatabaseRangeContext, ScAddress::Row(), ScXMLDatabaseRangeContext::SetFilterConditionSourceRangeAddress(), and ScAddress::Tab().
bool ScXMLFilterContext::GetConnection | ( | ) |
Definition at line 156 of file xmlfilti.cxx.
References maConnStack, ScXMLFilterContext::ConnStackItem::mbOr, and ScXMLFilterContext::ConnStackItem::mnCondCount.
Referenced by ScXMLConditionContext::endFastElement().
void ScXMLFilterContext::OpenConnection | ( | bool | b | ) |
Definition at line 146 of file xmlfilti.cxx.
References maConnStack.
Referenced by ScXMLAndContext::ScXMLAndContext(), and ScXMLOrContext::ScXMLOrContext().
|
private |
Definition at line 46 of file xmlfilti.hxx.
Referenced by endFastElement(), and ScXMLFilterContext().
|
private |
Definition at line 45 of file xmlfilti.hxx.
Referenced by endFastElement(), and ScXMLFilterContext().
|
private |
Definition at line 49 of file xmlfilti.hxx.
Referenced by endFastElement(), and ScXMLFilterContext().
|
private |
Definition at line 48 of file xmlfilti.hxx.
Referenced by endFastElement(), and ScXMLFilterContext().
|
private |
Definition at line 47 of file xmlfilti.hxx.
Referenced by endFastElement(), and ScXMLFilterContext().
|
private |
Definition at line 50 of file xmlfilti.hxx.
Referenced by CloseConnection(), GetConnection(), and OpenConnection().
|
private |
Definition at line 42 of file xmlfilti.hxx.
Referenced by createFastChildContext(), and endFastElement().
|
private |
Definition at line 43 of file xmlfilti.hxx.
Referenced by endFastElement().