summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/tabledesign/FieldDescGenWin.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-03-22 06:54:07 +0000
committerOcke Janssen <oj@openoffice.org>2001-03-22 06:54:07 +0000
commit826e158cb0b1b1363012faffead56eb573208a10 (patch)
tree7fb85e5013bdcc3251610318e252f170d9dc2a9b /dbaccess/source/ui/tabledesign/FieldDescGenWin.cxx
parent4af5ea4971233e508e8f8b3df8d89d9398179bd0 (diff)
eanble copy&paste for rows in tabledesign
Diffstat (limited to 'dbaccess/source/ui/tabledesign/FieldDescGenWin.cxx')
-rw-r--r--dbaccess/source/ui/tabledesign/FieldDescGenWin.cxx37
1 files changed, 28 insertions, 9 deletions
diff --git a/dbaccess/source/ui/tabledesign/FieldDescGenWin.cxx b/dbaccess/source/ui/tabledesign/FieldDescGenWin.cxx
index 59881c64008e..b404a80358b4 100644
--- a/dbaccess/source/ui/tabledesign/FieldDescGenWin.cxx
+++ b/dbaccess/source/ui/tabledesign/FieldDescGenWin.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: FieldDescGenWin.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: oj $ $Date: 2001-02-14 14:28:01 $
+ * last change: $Author: oj $ $Date: 2001-03-22 07:54:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -167,13 +167,6 @@ void OFieldDescGenWin::SaveData( OFieldDescription* pFieldDescr )
m_pFieldControl->SaveData(pFieldDescr);
}
//------------------------------------------------------------------------------
-sal_Bool OFieldDescGenWin::ChildHasFocus()
-{
- DBG_CHKTHIS(OFieldDescGenWin,NULL);
-
- return m_pFieldControl->ChildHasFocus();
-}
-//------------------------------------------------------------------------------
void OFieldDescGenWin::GetFocus()
{
DBG_CHKTHIS(OFieldDescGenWin,NULL);
@@ -202,4 +195,30 @@ String OFieldDescGenWin::BoolStringUI(const String& rPersistentString) const
return m_pFieldControl->BoolStringUI(rPersistentString);
}
// -----------------------------------------------------------------------------
+sal_Bool OFieldDescGenWin::isCutAllowed()
+{
+ return (m_pFieldControl && m_pFieldControl->isCutAllowed());
+}
+// -----------------------------------------------------------------------------
+void OFieldDescGenWin::cut()
+{
+ if(m_pFieldControl)
+ m_pFieldControl->cut();
+}
+// -----------------------------------------------------------------------------
+void OFieldDescGenWin::copy()
+{
+ if(m_pFieldControl)
+ m_pFieldControl->copy();
+}
+// -----------------------------------------------------------------------------
+void OFieldDescGenWin::paste()
+{
+ if(m_pFieldControl)
+ m_pFieldControl->paste();
+}
+// -----------------------------------------------------------------------------
+
+
+