User: rt      
Date: 2007-11-09 08:19:14+0000
Modified:
   dba/dbaccess/source/filter/xml/xmlfilter.hxx

Log:
 INTEGRATION: CWS dbodf12import (1.5.32); FILE MERGED
 2007/11/01 09:13:31 oj 1.5.32.1: #i83190# implement odf12 importer

File Changes:

Directory: /dba/dbaccess/source/filter/xml/
===========================================

File [changed]: xmlfilter.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/filter/xml/xmlfilter.hxx?r1=1.5&r2=1.6
Delta lines:  +21 -2
--------------------
--- xmlfilter.hxx       2007-09-26 14:45:49+0000        1.5
+++ xmlfilter.hxx       2007-11-09 08:19:11+0000        1.6
@@ -115,15 +115,17 @@
 {
 public:
        DECLARE_STL_USTRINGACCESS_MAP(Sequence<PropertyValue>,TPropertyNameMap);
-
+    typedef ::std::vector< ::com::sun::star::beans::PropertyValue> 
TInfoSequence;
 private:
        TPropertyNameMap                                                        
        m_aQuerySettings;
        TPropertyNameMap                                                        
        m_aTablesSettings;
+    TInfoSequence                                   m_aInfoSequence;
        Reference< XComponent >                                                 
m_xSrcDoc;
        mutable ::std::auto_ptr<SvXMLTokenMap>                  
m_pDocElemTokenMap;
        mutable ::std::auto_ptr<SvXMLTokenMap>                  
m_pDatabaseElemTokenMap;
        mutable ::std::auto_ptr<SvXMLTokenMap>                  
m_pDataSourceElemTokenMap;
        mutable ::std::auto_ptr<SvXMLTokenMap>                  
m_pLoginElemTokenMap;
+    mutable ::std::auto_ptr<SvXMLTokenMap>                     
m_pDatabaseDescriptionElemTokenMap;
        mutable ::std::auto_ptr<SvXMLTokenMap>                  
m_pDataSourceInfoElemTokenMap;
        mutable ::std::auto_ptr<SvXMLTokenMap>                  
m_pDocumentsElemTokenMap;
        mutable ::std::auto_ptr<SvXMLTokenMap>                  
m_pComponentElemTokenMap;
@@ -134,6 +136,7 @@
        mutable UniReference < XMLPropertySetMapper >   
m_xColumnStylesPropertySetMapper;
        Reference<XPropertySet>                                                 
m_xDataSource;
        sal_Int32                                                               
                m_nPreviewMode;
+    bool                                            m_bNewFormat;
 
        sal_Bool                                                        
implImport( const Sequence< PropertyValue >& rDescriptor ) throw 
(RuntimeException);
 
@@ -179,6 +182,7 @@
        const SvXMLTokenMap& GetDatabaseElemTokenMap() const;
        const SvXMLTokenMap& GetDataSourceElemTokenMap() const;
        const SvXMLTokenMap& GetLoginElemTokenMap() const;
+    const SvXMLTokenMap& GetDatabaseDescriptionElemTokenMap() const;
        const SvXMLTokenMap& GetDataSourceInfoElemTokenMap() const;
        const SvXMLTokenMap& GetDocumentsElemTokenMap() const;
        const SvXMLTokenMap& GetComponentElemTokenMap() const;
@@ -187,6 +191,21 @@
 
        UniReference < XMLPropertySetMapper > GetTableStylesPropertySetMapper() 
const;
        UniReference < XMLPropertySetMapper > 
GetColumnStylesPropertySetMapper() const;
+
+    /** add a Info to the sequence which will be appened to the data source
+               @param  _rInfo The property to append.
+       */
+       inline void addInfo(const ::com::sun::star::beans::PropertyValue& 
_rInfo)
+       {
+               m_aInfoSequence.push_back(_rInfo);
+       }
+
+    void setPropertyInfo();
+
+    const ::std::map< sal_uInt16,com::sun::star::beans::Property>& 
GetDataSourceInfoDefaulValueMap() const;
+
+    inline bool isNewFormat() const { return m_bNewFormat; }
+    inline void setNewFormat(bool _bNewFormat) { m_bNewFormat = _bNewFormat; }
 };
 
 // 
-----------------------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to