summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/tabledesign/TableFieldControl.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-07-26 08:35:39 +0000
committerOcke Janssen <oj@openoffice.org>2002-07-26 08:35:39 +0000
commitbc5ae2f2e4aee29535293fc274bd1748f35218cd (patch)
tree3ac9b06128683e829c46e5161970c5aa29d3c4af /dbaccess/source/ui/tabledesign/TableFieldControl.cxx
parent100000# (diff)
downloadcore-bc5ae2f2e4aee29535293fc274bd1748f35218cd.tar.gz
core-bc5ae2f2e4aee29535293fc274bd1748f35218cd.zip
#95146# new controls inserted for auto retrieving
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TableFieldControl.cxx')
-rw-r--r--dbaccess/source/ui/tabledesign/TableFieldControl.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableFieldControl.cxx b/dbaccess/source/ui/tabledesign/TableFieldControl.cxx
index c2cec8409355..7d8639f881ce 100644
--- a/dbaccess/source/ui/tabledesign/TableFieldControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TableFieldControl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TableFieldControl.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: oj $ $Date: 2002-07-09 13:19:52 $
+ * last change: $Author: oj $ $Date: 2002-07-26 09:35:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -187,6 +187,16 @@ Locale OTableFieldControl::GetLocale() const
return const_cast<OTableFieldControl*>(this)->GetCtrl()->GetView()->getLocale();
}
// -----------------------------------------------------------------------------
+sal_Bool OTableFieldControl::isAutoIncrementValueEnabled() const
+{
+ return const_cast<OTableFieldControl*>(this)->GetCtrl()->GetView()->getController()->isAutoIncrementValueEnabled();
+}
+// -----------------------------------------------------------------------------
+::rtl::OUString OTableFieldControl::getAutoIncrementValue() const
+{
+ return const_cast<OTableFieldControl*>(this)->GetCtrl()->GetView()->getController()->getAutoIncrementValue();
+}
+// -----------------------------------------------------------------------------