summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/inc/TableCopyHelper.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-09-26 13:50:04 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-09-26 13:50:04 +0000
commitba06b61d8e5a252fec6d4d6349c283ebe0b3c8b0 (patch)
treea4a0c834c4d283e8b92887d84096bc2b89e7d674 /dbaccess/source/ui/inc/TableCopyHelper.hxx
parentINTEGRATION: CWS dba24a (1.5.298); FILE MERGED (diff)
downloadcore-ba06b61d8e5a252fec6d4d6349c283ebe0b3c8b0.tar.gz
core-ba06b61d8e5a252fec6d4d6349c283ebe0b3c8b0.zip
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: dyf@openoffice.org Reviewed by: frank.schoenheit@sun.com
Diffstat (limited to 'dbaccess/source/ui/inc/TableCopyHelper.hxx')
-rw-r--r--dbaccess/source/ui/inc/TableCopyHelper.hxx19
1 files changed, 17 insertions, 2 deletions
diff --git a/dbaccess/source/ui/inc/TableCopyHelper.hxx b/dbaccess/source/ui/inc/TableCopyHelper.hxx
index 03c3407aad3c..35157d0f1531 100644
--- a/dbaccess/source/ui/inc/TableCopyHelper.hxx
+++ b/dbaccess/source/ui/inc/TableCopyHelper.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: TableCopyHelper.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: hr $ $Date: 2006-06-20 03:13:36 $
+ * last change: $Author: hr $ $Date: 2007-09-26 14:50:04 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -95,11 +95,18 @@ namespace dbaui
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 @@ namespace dbaui
/// 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