Tag: cws_src680_dba24d User: fs Date: 2007-11-15 15:16:44+0000 Modified: dba/dbaccess/source/ui/inc/WCopyTable.hxx
Log: #i81658# also allow to copy a table from an SDBC level connection File Changes: Directory: /dba/dbaccess/source/ui/inc/ ======================================= File [changed]: WCopyTable.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/WCopyTable.hxx?r1=1.22.28.2&r2=1.22.28.3 Delta lines: +10 -4 -------------------- --- WCopyTable.hxx 2007-11-15 10:04:51+0000 1.22.28.2 +++ WCopyTable.hxx 2007-11-15 15:16:41+0000 1.22.28.3 @@ -4,9 +4,9 @@ * * $RCSfile: WCopyTable.hxx,v $ * - * $Revision: 1.22.28.2 $ + * $Revision: 1.22.28.3 $ * - * last change: $Author: fs $ $Date: 2007/11/15 10:04:51 $ + * last change: $Author: fs $ $Date: 2007/11/15 15:16:41 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -196,6 +196,10 @@ ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > m_xConnection; ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData; ::rtl::OUString m_sTableName; + ::rtl::OUString m_sTableCatalog; + ::rtl::OUString m_sTableSchema; + ::rtl::OUString m_sTableBareName; + ::std::map< ::rtl::OUString, OFieldDescription > m_aColumnInfo; public: NamedTableCopySource( @@ -213,6 +217,9 @@ getPrimaryKeyColumnNames() const; virtual OFieldDescription* createFieldDescription( const ::rtl::OUString& _rColumnName ) const; virtual ::rtl::OUString getSelectStatement() const; + + private: + void impl_ensureColumnInfo_nothrow(); }; // ======================================================== @@ -262,7 +269,6 @@ ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > m_xDestConnection; const ICopyTableSourceObject& m_rSourceObject; - ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > m_xSourceConnection; ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter > m_xFormatter; ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory> m_xFactory; @@ -270,6 +276,7 @@ String m_sTypeNames; // these type names are the ones out of the resource file sal_uInt32 m_nPageCount; sal_Bool m_bDeleteSourceColumns; + bool m_bInterConnectionCopy; // are we copying between different connections? ::com::sun::star::lang::Locale m_aLocale; ::rtl::OUString m_sName; // for a table the name is composed @@ -299,7 +306,6 @@ sal_Bool supportsType(sal_Int32 _nDataType,sal_Int32& _rNewDataType); void impl_loadSourceData(); - void impl_fillTypeInfo(); public: // used for copy tables or queries --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
