19#ifndef INCLUDED_REPORTDESIGN_SOURCE_FILTER_XML_XMLFILTER_HXX
20#define INCLUDED_REPORTDESIGN_SOURCE_FILTER_XML_XMLFILTER_HXX
22#include <com/sun/star/container/XNamed.hpp>
23#include <com/sun/star/document/XFilter.hpp>
24#include <com/sun/star/document/XImporter.hpp>
25#include <com/sun/star/io/XActiveDataSource.hpp>
26#include <com/sun/star/report/XReportDefinition.hpp>
28#include <com/sun/star/uno/XComponentContext.hpp>
70 bool implImport(
const Sequence< PropertyValue >& rDescriptor );
73 using SvXMLImport::SetMasterStyles;
80 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
87 ORptFilter( const Reference< XComponentContext >& _rxContext, OUString const & rImplementationName,
SvXMLImportFlags nImportFlags );
90 virtual
sal_Bool SAL_CALL
filter( const Sequence< PropertyValue >& rDescriptor ) override;
114 void insertFunction(
const css::uno::Reference< css::report::XFunction > & _xFunction);
133 sal_Int32 ,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& )
override;
friend friend class SvXMLImport
bool implImport(const Sequence< PropertyValue > &rDescriptor)
void removeFunction(const OUString &_sFunctionName)
static const OUString & convertFormula(const OUString &_sFormula)
rtl::Reference< XMLPropertySetMapper > m_xRowStylesPropertySetMapper
std::shared_ptr< rptui::OReportModel > m_pReportModel
rtl::Reference< XMLPropertySetMapper > m_xColumnStylesPropertySetMapper
SvXMLImportContext * CreateMetaContext(const sal_Int32 nElement)
const rtl::Reference< XMLPropertySetMapper > & GetColumnStylesPropertySetMapper() const
SvXMLImportContext * CreateStylesContext(bool bIsAutoStyle)
SvXMLImportContext * CreateFontDeclsContext()
virtual void SAL_CALL startDocument() override
TGroupFunctionMap m_aFunctions
std::map< OUString, Sequence< PropertyValue > > TPropertyNameMap
virtual SvXMLImportContext * CreateFastContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
void insertFunction(const css::uno::Reference< css::report::XFunction > &_xFunction)
inserts a new function
const Reference< XReportDefinition > & getReportDefinition() const
const TGroupFunctionMap & getFunctions() const
virtual XMLShapeImportHelper * CreateShapeImport() override
const rtl::Reference< XMLPropertySetMapper > & GetCellStylesPropertySetMapper() const
std::map< OUString, Reference< XFunction > > TGroupFunctionMap
rtl::Reference< XMLPropertyHandlerFactory > m_xPropHdlFactory
const rtl::Reference< XMLPropertySetMapper > & GetRowStylesPropertySetMapper() const
virtual ~ORptFilter() noexcept override
virtual void SAL_CALL endDocument() override
rtl::Reference< XMLPropertySetMapper > m_xCellStylesPropertySetMapper
Reference< XReportDefinition > m_xReportDefinition
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32, const css::uno::Reference< css::xml::sax::XFastAttributeList > &) override
RptXMLDocumentBodyContext(SvXMLImport &rImport)