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

#include <xmlfilti.hxx>

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

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 (ScXMLImport &rImport, sal_uInt16 nPrefix, const OUString &rLocalName)
 
 ScXMLImportContext (SvXMLImport &rImport)
 
virtual void SAL_CALL startFastElement (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
- Public Member Functions inherited from SvXMLImportContext
bool IsPrefixFilledIn () const
 
sal_uInt16 GetPrefix () const
 
const OUString & GetLocalName () const
 
 SvXMLImportContext (SvXMLImport &rImport, sal_uInt16 nPrfx, const OUString &rLName)
 
 SvXMLImportContext (SvXMLImport &rImport)
 
virtual ~SvXMLImportContext ()
 
virtual SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void EndElement ()
 
virtual void Characters (const OUString &rChars)
 
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 endUnknownElement (const OUString &Namespace, const OUString &Name) 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 css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () final override
 
virtual void SAL_CALL release () 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

ScQueryParammrQueryParam
 
ScXMLDatabaseRangeContextpDatabaseRangeContext
 
ScAddress aOutputPosition
 
ScRange aConditionSourceRangeAddress
 
bool bSkipDuplicates
 
bool bCopyOutputData
 
bool bConditionSourceRange
 
std::vector< ConnStackItemmaConnStack
 

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 35 of file xmlfilti.hxx.

Constructor & Destructor Documentation

ScXMLFilterContext::ScXMLFilterContext ( ScXMLImport rImport,
const rtl::Reference< sax_fastparser::FastAttributeList > &  rAttrList,
ScQueryParam rParam,
ScXMLDatabaseRangeContext pTempDatabaseRangeContext 
)
ScXMLFilterContext::~ScXMLFilterContext ( )
overridevirtual

Definition at line 92 of file xmlfilti.cxx.

Member Function Documentation

void ScXMLFilterContext::CloseConnection ( )

Definition at line 149 of file xmlfilti.cxx.

References maConnStack.

Referenced by ScXMLAndContext::endFastElement(), and ScXMLOrContext::endFastElement().

uno::Reference< xml::sax::XFastContextHandler > SAL_CALL ScXMLFilterContext::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual
void SAL_CALL ScXMLFilterContext::endFastElement ( sal_Int32  nElement)
overridevirtual
bool ScXMLFilterContext::GetConnection ( )
void ScXMLFilterContext::OpenConnection ( bool  b)

Definition at line 144 of file xmlfilti.cxx.

References maConnStack.

Referenced by ScXMLAndContext::ScXMLAndContext(), and ScXMLOrContext::ScXMLOrContext().

Member Data Documentation

ScRange ScXMLFilterContext::aConditionSourceRangeAddress
private

Definition at line 47 of file xmlfilti.hxx.

Referenced by endFastElement(), and ScXMLFilterContext().

ScAddress ScXMLFilterContext::aOutputPosition
private

Definition at line 46 of file xmlfilti.hxx.

Referenced by endFastElement(), and ScXMLFilterContext().

bool ScXMLFilterContext::bConditionSourceRange
private

Definition at line 50 of file xmlfilti.hxx.

Referenced by endFastElement(), and ScXMLFilterContext().

bool ScXMLFilterContext::bCopyOutputData
private

Definition at line 49 of file xmlfilti.hxx.

Referenced by endFastElement(), and ScXMLFilterContext().

bool ScXMLFilterContext::bSkipDuplicates
private

Definition at line 48 of file xmlfilti.hxx.

Referenced by endFastElement(), and ScXMLFilterContext().

std::vector<ConnStackItem> ScXMLFilterContext::maConnStack
private

Definition at line 51 of file xmlfilti.hxx.

Referenced by CloseConnection(), GetConnection(), and OpenConnection().

ScQueryParam& ScXMLFilterContext::mrQueryParam
private

Definition at line 43 of file xmlfilti.hxx.

Referenced by createFastChildContext(), and endFastElement().

ScXMLDatabaseRangeContext* ScXMLFilterContext::pDatabaseRangeContext
private

Definition at line 44 of file xmlfilti.hxx.

Referenced by endFastElement().


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