User: rt Date: 2008-07-10 15:57:05+0000 Modified: dba/reportdesign/source/filter/xml/xmlfilter.hxx
Log: INTEGRATION: CWS rptfix02 (1.4.42); FILE MERGED 2008/07/01 14:08:37 oj 1.4.42.1: #i91253# handle old version which do not have a meta.xml file File Changes: Directory: /dba/reportdesign/source/filter/xml/ =============================================== File [changed]: xmlfilter.hxx Url: http://dba.openoffice.org/source/browse/dba/reportdesign/source/filter/xml/xmlfilter.hxx?r1=1.4&r2=1.5 Delta lines: +18 -2 -------------------- --- xmlfilter.hxx 2008-04-10 18:47:02+0000 1.4 +++ xmlfilter.hxx 2008-07-10 15:57:03+0000 1.5 @@ -108,13 +108,14 @@ Reference<XReportDefinition> m_xReportDefinition; ::boost::shared_ptr<rptui::OReportModel> m_pReportModel; - sal_Int32 m_nPreviewMode; sal_Bool implImport( const Sequence< PropertyValue >& rDescriptor ) throw (RuntimeException); SvXMLImportContext* CreateStylesContext(const ::rtl::OUString& rLocalName, const Reference< XAttributeList>& xAttrList, sal_Bool bIsAutoStyle ); - SvXMLImportContext *CreateFontDeclsContext(const ::rtl::OUString& rLocalName, + SvXMLImportContext* CreateMetaContext(const ::rtl::OUString& rLocalName, + const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); + SvXMLImportContext* CreateFontDeclsContext(const ::rtl::OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); protected: // SvXMLImport @@ -187,6 +188,8 @@ virtual void enterEventContext(); virtual void leaveEventContext(); + + sal_Bool isOldFormat() const; }; /** Imports only settings @@ -228,6 +231,19 @@ create(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext); }; +/** Imports only meta data + * \ingroup reportdesign_source_filter_xml + * + */ +class ORptMetaImportHelper +{ +public: + static ::rtl::OUString getImplementationName_Static( ) throw (::com::sun::star::uno::RuntimeException); + static Sequence< ::rtl::OUString > getSupportedServiceNames_Static( ) throw(::com::sun::star::uno::RuntimeException); + static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL + create(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext); +}; + // ----------------------------------------------------------------------------- } // rptxml // ----------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
