User: kz Date: 2008-04-03 16:48:20+0000 Modified: dba/dbaccess/source/filter/xml/xmlExport.hxx
Log: INTEGRATION: CWS dbodf11 (1.7.86); FILE MERGED 2008/01/31 07:47:45 oj 1.7.86.3: #i85757# as odf 1.2 form 2007/10/22 13:03:09 oj 1.7.86.2: RESYNC: (1.7-1.8); FILE MERGED 2007/02/02 12:09:14 oj 1.7.86.1: export ODF format File Changes: Directory: /dba/dbaccess/source/filter/xml/ =========================================== File [changed]: xmlExport.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/filter/xml/xmlExport.hxx?r1=1.8&r2=1.9 Delta lines: +17 -0 -------------------- --- xmlExport.hxx 2007-09-26 14:43:48+0000 1.8 +++ xmlExport.hxx 2008-04-03 16:48:18+0000 1.9 @@ -93,6 +93,7 @@ #ifndef _DBASHARED_APITOOLS_HXX_ #include "apitools.hxx" #endif +#include "dsntypes.hxx" #ifndef _COMPHELPER_STLTYPES_HXX_ #include <comphelper/stl_types.hxx> #endif @@ -121,6 +122,8 @@ class ODBExport : public SvXMLExport { + typedef ::std::map< ::xmloff::token::XMLTokenEnum, ::rtl::OUString> TSettingsMap; + typedef ::std::pair< ::rtl::OUString ,::rtl::OUString> TStringPair; struct TDelimiter { @@ -138,16 +141,28 @@ ::std::auto_ptr< TDelimiter > m_aDelimiter; ::std::vector< Any> m_aDataSourceSettings; TPropertyStyleMap m_aAutoStyleNames; + TPropertyStyleMap m_aCellAutoStyleNames; + TPropertyStyleMap m_aRowAutoStyleNames; ::rtl::OUString m_sCharSet; UniReference < SvXMLExportPropertyMapper> m_xExportHelper; UniReference < SvXMLExportPropertyMapper> m_xColumnExportHelper; + UniReference < SvXMLExportPropertyMapper> m_xCellExportHelper; + UniReference < SvXMLExportPropertyMapper> m_xRowExportHelper; mutable UniReference < XMLPropertySetMapper > m_xTableStylesPropertySetMapper; mutable UniReference < XMLPropertySetMapper > m_xColumnStylesPropertySetMapper; + mutable UniReference < XMLPropertySetMapper > m_xCellStylesPropertySetMapper; + mutable UniReference < XMLPropertySetMapper > m_xRowStylesPropertySetMapper; + Reference<XPropertySet> m_xDataSource; + ::dbaui::ODsnTypeCollection m_aTypeCollection; sal_Bool m_bAllreadyFilled; void exportDataSource(); + void exportConnectionData(); + void exportDriverSettings(const TSettingsMap& _aSettings); + void exportJavaClassPath(const TSettingsMap& _aSettings); + void exportApplicationConnectionSettings(const TSettingsMap& _aSettings); void exportLogin(); void exportSequence(const Sequence< ::rtl::OUString>& _aValue ,::xmloff::token::XMLTokenEnum _eTokenFilter @@ -161,6 +176,7 @@ void exportQueries(sal_Bool _bExportContext); void exportTables(sal_Bool _bExportContext); void exportStyleName(XPropertySet* _xProp,SvXMLAttributeList& _rAtt); + void exportStyleName(const ::xmloff::token::XMLTokenEnum _eToken,const Reference<XPropertySet>& _xProp,SvXMLAttributeList& _rAtt,TPropertyStyleMap& _rMap); void exportCollection(const Reference< XNameAccess >& _xCollection ,enum ::xmloff::token::XMLTokenEnum _eComponents ,enum ::xmloff::token::XMLTokenEnum _eSubComponents @@ -204,6 +220,7 @@ DECLARE_SERVICE_INFO_STATIC( ); UniReference < XMLPropertySetMapper > GetColumnStylesPropertySetMapper() const; + UniReference < XMLPropertySetMapper > GetCellStylesPropertySetMapper() const; // XExporter virtual void SAL_CALL setSourceDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
