LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ScXMLConditionContext Class Reference

#include <xmlfilti.hxx>

Inheritance diagram for ScXMLConditionContext:
[legend]
Collaboration diagram for ScXMLConditionContext:
[legend]

Public Member Functions

 ScXMLConditionContext (ScXMLImport &rImport, sal_Int32 nElement, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScQueryParam &rParam, ScXMLFilterContext *pTempFilterContext)
 
virtual ~ScXMLConditionContext () 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 AddSetItem (const ScQueryEntry::Item &rItem)
 
- 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
 

Static Public Member Functions

static void GetOperator (std::u16string_view aOpStr, ScQueryParam &rParam, ScQueryEntry &rEntry)
 

Private Attributes

ScQueryParammrQueryParam
 
ScXMLFilterContextpFilterContext
 
ScQueryEntry::QueryItemsType maQueryItems
 
OUString sDataType
 
OUString sConditionValue
 
OUString sOperator
 
sal_Int32 nField
 
bool bIsCaseSensitive
 

Additional Inherited Members

- Protected Member Functions inherited from ScXMLImportContext
ScXMLImportGetScImport ()
 
const ScXMLImportGetScImport () const
 
- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Detailed Description

Definition at line 109 of file xmlfilti.hxx.

Constructor & Destructor Documentation

◆ ScXMLConditionContext()

ScXMLConditionContext::ScXMLConditionContext ( ScXMLImport rImport,
sal_Int32  nElement,
const rtl::Reference< sax_fastparser::FastAttributeList > &  rAttrList,
ScQueryParam rParam,
ScXMLFilterContext pTempFilterContext 
)

◆ ~ScXMLConditionContext()

ScXMLConditionContext::~ScXMLConditionContext ( )
overridevirtual

Definition at line 327 of file xmlfilti.cxx.

Member Function Documentation

◆ AddSetItem()

void ScXMLConditionContext::AddSetItem ( const ScQueryEntry::Item rItem)

Definition at line 403 of file xmlfilti.cxx.

References maQueryItems.

Referenced by ScXMLSetItemContext::ScXMLSetItemContext().

◆ createFastChildContext()

uno::Reference< xml::sax::XFastContextHandler > SAL_CALL ScXMLConditionContext::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual

◆ endFastElement()

void SAL_CALL ScXMLConditionContext::endFastElement ( sal_Int32  nElement)
overridevirtual

◆ GetOperator()

void ScXMLConditionContext::GetOperator ( std::u16string_view  aOpStr,
ScQueryParam rParam,
ScQueryEntry rEntry 
)
static

Member Data Documentation

◆ bIsCaseSensitive

bool ScXMLConditionContext::bIsCaseSensitive
private

Definition at line 119 of file xmlfilti.hxx.

Referenced by endFastElement(), and ScXMLConditionContext().

◆ maQueryItems

ScQueryEntry::QueryItemsType ScXMLConditionContext::maQueryItems
private

Definition at line 114 of file xmlfilti.hxx.

Referenced by AddSetItem(), and endFastElement().

◆ mrQueryParam

ScQueryParam& ScXMLConditionContext::mrQueryParam
private

Definition at line 111 of file xmlfilti.hxx.

Referenced by endFastElement().

◆ nField

sal_Int32 ScXMLConditionContext::nField
private

Definition at line 118 of file xmlfilti.hxx.

Referenced by endFastElement(), and ScXMLConditionContext().

◆ pFilterContext

ScXMLFilterContext* ScXMLConditionContext::pFilterContext
private

Definition at line 112 of file xmlfilti.hxx.

Referenced by endFastElement().

◆ sConditionValue

OUString ScXMLConditionContext::sConditionValue
private

Definition at line 116 of file xmlfilti.hxx.

Referenced by endFastElement(), and ScXMLConditionContext().

◆ sDataType

OUString ScXMLConditionContext::sDataType
private

Definition at line 115 of file xmlfilti.hxx.

Referenced by endFastElement(), and ScXMLConditionContext().

◆ sOperator

OUString ScXMLConditionContext::sOperator
private

Definition at line 117 of file xmlfilti.hxx.

Referenced by endFastElement(), and ScXMLConditionContext().


The documentation for this class was generated from the following files: