LibreOffice Module reportdesign (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
rptxml::OXMLFunction Class Referencefinal

#include <xmlFunction.hxx>

Inheritance diagram for rptxml::OXMLFunction:
[legend]
Collaboration diagram for rptxml::OXMLFunction:
[legend]

Public Member Functions

 OXMLFunction (ORptFilter &rImport, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const css::uno::Reference< css::report::XFunctionsSupplier > &_xFunctions, bool _bAddToReport=false)
 
virtual ~OXMLFunction () override
 
virtual void SAL_CALL startFastElement (sal_Int32, const css::uno::Reference< css::xml::sax::XFastAttributeList > &) override
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) 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< 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 () 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 Member Functions

ORptFilterGetOwnImport ()
 
 OXMLFunction (const OXMLFunction &)
 
OXMLFunctionoperator= (const OXMLFunction &)
 

Private Attributes

css::uno::Reference< css::report::XFunctions > m_xFunctions
 
css::uno::Reference< css::report::XFunction > m_xFunction
 
bool m_bAddToReport
 

Additional Inherited Members

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

Detailed Description

Definition at line 30 of file xmlFunction.hxx.

Constructor & Destructor Documentation

rptxml::OXMLFunction::OXMLFunction ( const OXMLFunction )
private
rptxml::OXMLFunction::OXMLFunction ( ORptFilter rImport,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
const css::uno::Reference< css::report::XFunctionsSupplier > &  _xFunctions,
bool  _bAddToReport = false 
)
rptxml::OXMLFunction::~OXMLFunction ( )
overridevirtual

Definition at line 85 of file xmlFunction.cxx.

Member Function Documentation

void rptxml::OXMLFunction::endFastElement ( sal_Int32  nElement)
overridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 94 of file xmlFunction.cxx.

References GetOwnImport(), rptxml::ORptFilter::insertFunction(), m_bAddToReport, and m_xFunctions.

ORptFilter & rptxml::OXMLFunction::GetOwnImport ( )
private

Definition at line 89 of file xmlFunction.cxx.

References SvXMLImportContext::GetImport().

Referenced by endFastElement().

OXMLFunction& rptxml::OXMLFunction::operator= ( const OXMLFunction )
private
virtual void SAL_CALL rptxml::OXMLFunction::startFastElement ( sal_Int32  ,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &   
)
inlineoverridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 49 of file xmlFunction.hxx.

Member Data Documentation

bool rptxml::OXMLFunction::m_bAddToReport
private

Definition at line 34 of file xmlFunction.hxx.

Referenced by endFastElement().

css::uno::Reference< css::report::XFunction > rptxml::OXMLFunction::m_xFunction
private

Definition at line 33 of file xmlFunction.hxx.

css::uno::Reference< css::report::XFunctions > rptxml::OXMLFunction::m_xFunctions
private

Definition at line 32 of file xmlFunction.hxx.

Referenced by endFastElement().


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