User: hr Date: 2007-09-26 14:50:07+0000 Modified: dba/dbaccess/source/ui/inc/TableCopyHelper.hxx
Log: INTEGRATION: CWS dba24a (1.5.170); FILE MERGED 2007/07/23 12:16:51 fs 1.5.170.2: #i10000# 2007/07/23 11:59:02 fs 1.5.170.1: when pasting tables, use a meaningful default in the wizard, as indicated by the current selection Issue number: #i18907# Submitted by: [EMAIL PROTECTED] Reviewed by: [EMAIL PROTECTED] File Changes: Directory: /dba/dbaccess/source/ui/inc/ ======================================= File [changed]: TableCopyHelper.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/TableCopyHelper.hxx?r1=1.5&r2=1.6 Delta lines: +15 -0 -------------------- --- TableCopyHelper.hxx 2006-06-20 03:13:36+0000 1.5 +++ TableCopyHelper.hxx 2007-09-26 14:50:04+0000 1.6 @@ -95,11 +95,18 @@ class OTableCopyHelper { OGenericUnoController* m_pController; + private: + ::rtl::OUString m_sDefaultTableName; + sal_Bool m_bSelectCopyTable; public: // is needed to describe the drop target struct DropDescriptor { ::svx::ODataAccessDescriptor aDroppedData; + //dyf add 20070601 + //for transfor the tablename + ::rtl::OUString sDefaultTableName; + //dyf add end String aUrl; SotStorageStreamRef aHtmlRtfStorage; ElementType nType; @@ -213,6 +220,14 @@ /// returns <TRUE/> if the clipboard supports a table format, otherwise <FALSE/>. sal_Bool isTableFormat(const TransferableDataHelper& _rClipboard) const; + //dyf add 20070601 + inline void SetDefaultTableName(const ::rtl::OUString &_sDefaultTableName){ m_sDefaultTableName = _sDefaultTableName ; } + inline ::rtl::OUString GetDefaultTableName() const { return m_sDefaultTableName ;} + + inline void SetIsSelectCopytable(sal_Bool isSelect){ m_bSelectCopyTable = isSelect;} + sal_Bool GetIsSelectCopytable(){ return m_bSelectCopyTable; } + //dyf add end + }; //........................................................................ } // namespace dbaui --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
