LibreOffice Module reportdesign (master) 1
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
rptxml::ORptFilter Class Reference

#include <xmlfilter.hxx>

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

Public Types

typedef std::map< OUString, Sequence< PropertyValue > > TPropertyNameMap
 
typedef std::map< OUString, Reference< XFunction > > TGroupFunctionMap
 

Public Member Functions

SvXMLImportContextCreateStylesContext (bool bIsAutoStyle)
 
SvXMLImportContextCreateMetaContext (const sal_Int32 nElement)
 
SvXMLImportContextCreateFontDeclsContext ()
 
 ORptFilter (const Reference< XComponentContext > &_rxContext, OUString const &rImplementationName, SvXMLImportFlags nImportFlags)
 
virtual sal_Bool SAL_CALL filter (const Sequence< PropertyValue > &rDescriptor) override
 
const Reference< XReportDefinition > & getReportDefinition () const
 
void FinishStyles ()
 
virtual void SAL_CALL startDocument () override
 
virtual void SAL_CALL endDocument () override
 
const rtl::Reference< XMLPropertySetMapper > & GetCellStylesPropertySetMapper () const
 
const rtl::Reference< XMLPropertySetMapper > & GetColumnStylesPropertySetMapper () const
 
const rtl::Reference< XMLPropertySetMapper > & GetRowStylesPropertySetMapper () const
 
void insertFunction (const css::uno::Reference< css::report::XFunction > &_xFunction)
 inserts a new function More...
 
void removeFunction (const OUString &_sFunctionName)
 
const TGroupFunctionMapgetFunctions () const
 
bool isOldFormat () const
 

Static Public Member Functions

static const OUString & convertFormula (const OUString &_sFormula)
 

Protected Member Functions

virtual SvXMLImportContextCreateFastContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
 
virtual XMLShapeImportHelperCreateShapeImport () override
 
virtual ~ORptFilter () noexcept override
 

Private Member Functions

bool implImport (const Sequence< PropertyValue > &rDescriptor)
 

Private Attributes

TGroupFunctionMap m_aFunctions
 
rtl::Reference< XMLPropertyHandlerFactorym_xPropHdlFactory
 
rtl::Reference< XMLPropertySetMapperm_xCellStylesPropertySetMapper
 
rtl::Reference< XMLPropertySetMapperm_xColumnStylesPropertySetMapper
 
rtl::Reference< XMLPropertySetMapperm_xRowStylesPropertySetMapper
 
Reference< XReportDefinition > m_xReportDefinition
 
std::shared_ptr< rptui::OReportModelm_pReportModel
 

Detailed Description

Definition at line 52 of file xmlfilter.hxx.

Member Typedef Documentation

◆ TGroupFunctionMap

typedef std::map< OUString, Reference<XFunction> > rptxml::ORptFilter::TGroupFunctionMap

Definition at line 56 of file xmlfilter.hxx.

◆ TPropertyNameMap

typedef std::map< OUString, Sequence<PropertyValue> > rptxml::ORptFilter::TPropertyNameMap

Definition at line 55 of file xmlfilter.hxx.

Constructor & Destructor Documentation

◆ ~ORptFilter()

rptxml::ORptFilter::~ORptFilter ( )
overrideprotectedvirtualnoexcept

Definition at line 315 of file xmlfilter.cxx.

◆ ORptFilter()

rptxml::ORptFilter::ORptFilter ( const Reference< XComponentContext > &  _rxContext,
OUString const &  rImplementationName,
SvXMLImportFlags  nImportFlags 
)

Member Function Documentation

◆ convertFormula()

const OUString & rptxml::ORptFilter::convertFormula ( const OUString &  _sFormula)
static

Definition at line 691 of file xmlfilter.cxx.

◆ CreateFastContext()

SvXMLImportContext * rptxml::ORptFilter::CreateFastContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overrideprotectedvirtual

◆ CreateFontDeclsContext()

SvXMLImportContext * rptxml::ORptFilter::CreateFontDeclsContext ( )

Definition at line 672 of file xmlfilter.cxx.

◆ CreateMetaContext()

SvXMLImportContext * rptxml::ORptFilter::CreateMetaContext ( const sal_Int32  nElement)

Definition at line 733 of file xmlfilter.cxx.

Referenced by CreateFastContext().

◆ CreateShapeImport()

XMLShapeImportHelper * rptxml::ORptFilter::CreateShapeImport ( )
overrideprotectedvirtual

Definition at line 680 of file xmlfilter.cxx.

◆ CreateStylesContext()

SvXMLImportContext * rptxml::ORptFilter::CreateStylesContext ( bool  bIsAutoStyle)

Definition at line 658 of file xmlfilter.cxx.

◆ endDocument()

void rptxml::ORptFilter::endDocument ( )
overridevirtual

Definition at line 705 of file xmlfilter.cxx.

◆ filter()

sal_Bool SAL_CALL rptxml::ORptFilter::filter ( const Sequence< PropertyValue > &  rDescriptor)
overridevirtual

◆ FinishStyles()

void rptxml::ORptFilter::FinishStyles ( )

Definition at line 685 of file xmlfilter.cxx.

◆ GetCellStylesPropertySetMapper()

const rtl::Reference< XMLPropertySetMapper > & rptxml::ORptFilter::GetCellStylesPropertySetMapper ( ) const
inline

◆ GetColumnStylesPropertySetMapper()

const rtl::Reference< XMLPropertySetMapper > & rptxml::ORptFilter::GetColumnStylesPropertySetMapper ( ) const
inline

◆ getFunctions()

const TGroupFunctionMap & rptxml::ORptFilter::getFunctions ( ) const
inline

Definition at line 116 of file xmlfilter.hxx.

References m_aFunctions.

◆ getReportDefinition()

const Reference< XReportDefinition > & rptxml::ORptFilter::getReportDefinition ( ) const
inline

◆ GetRowStylesPropertySetMapper()

const rtl::Reference< XMLPropertySetMapper > & rptxml::ORptFilter::GetRowStylesPropertySetMapper ( ) const
inline

◆ implImport()

bool rptxml::ORptFilter::implImport ( const Sequence< PropertyValue > &  rDescriptor)
private

◆ insertFunction()

void rptxml::ORptFilter::insertFunction ( const css::uno::Reference< css::report::XFunction > &  _xFunction)

inserts a new function

Parameters
_xFunction

Definition at line 728 of file xmlfilter.cxx.

References m_aFunctions.

Referenced by rptxml::OXMLFunction::endFastElement().

◆ isOldFormat()

bool rptxml::ORptFilter::isOldFormat ( ) const

Definition at line 745 of file xmlfilter.cxx.

References u.

◆ removeFunction()

void rptxml::ORptFilter::removeFunction ( const OUString &  _sFunctionName)

Definition at line 723 of file xmlfilter.cxx.

References m_aFunctions.

◆ startDocument()

void SAL_CALL rptxml::ORptFilter::startDocument ( )
overridevirtual

Member Data Documentation

◆ m_aFunctions

TGroupFunctionMap rptxml::ORptFilter::m_aFunctions
private

Definition at line 59 of file xmlfilter.hxx.

Referenced by getFunctions(), insertFunction(), and removeFunction().

◆ m_pReportModel

std::shared_ptr<rptui::OReportModel> rptxml::ORptFilter::m_pReportModel
private

Definition at line 67 of file xmlfilter.hxx.

Referenced by startDocument().

◆ m_xCellStylesPropertySetMapper

rtl::Reference< XMLPropertySetMapper > rptxml::ORptFilter::m_xCellStylesPropertySetMapper
private

Definition at line 62 of file xmlfilter.hxx.

Referenced by GetCellStylesPropertySetMapper(), and ORptFilter().

◆ m_xColumnStylesPropertySetMapper

rtl::Reference< XMLPropertySetMapper > rptxml::ORptFilter::m_xColumnStylesPropertySetMapper
private

Definition at line 63 of file xmlfilter.hxx.

Referenced by GetColumnStylesPropertySetMapper(), and ORptFilter().

◆ m_xPropHdlFactory

rtl::Reference< XMLPropertyHandlerFactory > rptxml::ORptFilter::m_xPropHdlFactory
private

Definition at line 61 of file xmlfilter.hxx.

Referenced by ORptFilter().

◆ m_xReportDefinition

Reference<XReportDefinition> rptxml::ORptFilter::m_xReportDefinition
private

Definition at line 66 of file xmlfilter.hxx.

Referenced by getReportDefinition(), implImport(), and startDocument().

◆ m_xRowStylesPropertySetMapper

rtl::Reference< XMLPropertySetMapper > rptxml::ORptFilter::m_xRowStylesPropertySetMapper
private

Definition at line 64 of file xmlfilter.hxx.

Referenced by GetRowStylesPropertySetMapper(), and ORptFilter().


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