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

#include <xmlReport.hxx>

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

Public Member Functions

 OXMLReport (ORptFilter &rImport, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const css::uno::Reference< css::report::XReportDefinition > &_xComponent)
 
virtual ~OXMLReport () 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 startFastElement (sal_Int32, const css::uno::Reference< css::xml::sax::XFastAttributeList > &) override
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) override
 
virtual void addMasterDetailPair (const ::std::pair< OUString, OUString > &_aPair) override
 
- Public Member Functions inherited from rptxml::OXMLReportElementBase
 OXMLReportElementBase (ORptFilter &rImport, const css::uno::Reference< css::report::XReportComponent > &_xComponent, OXMLTable *_pContainer)
 
virtual ~OXMLReportElementBase () 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 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

 OXMLReport (const OXMLReport &)=delete
 
void operator= (const OXMLReport &)=delete
 
void impl_initRuntimeDefaults () const
 initializes our object's properties whose runtime (API) default is different from the file format default. More...
 

Private Attributes

css::uno::Reference< css::report::XReportDefinition > m_xReportDefinition
 
::std::vector< OUString > m_aMasterFields
 
::std::vector< OUString > m_aDetailFields
 

Additional Inherited Members

- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 
- Protected Member Functions inherited from rptxml::IMasterDetailFieds
 ~IMasterDetailFieds ()
 
- Protected Attributes inherited from rptxml::OXMLReportElementBase
ORptFilterm_rImport
 
OXMLTablem_pContainer
 
css::uno::Reference< css::report::XReportComponent > m_xReportComponent
 

Detailed Description

Definition at line 28 of file xmlReport.hxx.

Constructor & Destructor Documentation

rptxml::OXMLReport::OXMLReport ( const OXMLReport )
privatedelete
rptxml::OXMLReport::OXMLReport ( ORptFilter rImport,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
const css::uno::Reference< css::report::XReportDefinition > &  _xComponent 
)
rptxml::OXMLReport::~OXMLReport ( )
overridevirtual

Definition at line 102 of file xmlReport.cxx.

Member Function Documentation

void rptxml::OXMLReport::addMasterDetailPair ( const ::std::pair< OUString, OUString > &  _aPair)
overridevirtual

Implements rptxml::IMasterDetailFieds.

Definition at line 202 of file xmlReport.cxx.

References m_aDetailFields, and m_aMasterFields.

css::uno::Reference< css::xml::sax::XFastContextHandler > rptxml::OXMLReport::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual
void rptxml::OXMLReport::endFastElement ( sal_Int32  nElement)
overridevirtual
void rptxml::OXMLReport::impl_initRuntimeDefaults ( ) const
private

initializes our object's properties whose runtime (API) default is different from the file format default.

Definition at line 107 of file xmlReport.cxx.

References DBG_UNHANDLED_EXCEPTION, Exception, and m_xReportDefinition.

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

Reimplemented from rptxml::OXMLReportElementBase.

Definition at line 45 of file xmlReport.hxx.

Member Data Documentation

::std::vector< OUString> rptxml::OXMLReport::m_aDetailFields
private

Definition at line 32 of file xmlReport.hxx.

Referenced by addMasterDetailPair(), and endFastElement().

::std::vector< OUString> rptxml::OXMLReport::m_aMasterFields
private

Definition at line 31 of file xmlReport.hxx.

Referenced by addMasterDetailPair(), and endFastElement().

css::uno::Reference< css::report::XReportDefinition > rptxml::OXMLReport::m_xReportDefinition
private

Definition at line 30 of file xmlReport.hxx.

Referenced by createFastChildContext(), endFastElement(), and impl_initRuntimeDefaults().


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