summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorDirk Völzke <dv@openoffice.org>2001-10-31 10:27:38 +0000
committerDirk Völzke <dv@openoffice.org>2001-10-31 10:27:38 +0000
commitd7c7adba9d108a658c1c7069d0dcc0ee92248cb4 (patch)
treedf806b928b5b4cff22b40ef2b67a2645d724c18b /svtools
parent478a8002a47281cce18c05738b9bb6147d04e03c (diff)
#94046# Added: Set/GetLeftMargin()
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/edit/svmedit.cxx20
1 files changed, 18 insertions, 2 deletions
diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx
index 251432cc2207..e92059450007 100644
--- a/svtools/source/edit/svmedit.cxx
+++ b/svtools/source/edit/svmedit.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svmedit.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: mt $ $Date: 2001-07-17 16:22:06 $
+ * last change: $Author: dv $ $Date: 2001-10-31 11:27:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1429,3 +1429,19 @@ BOOL MultiLineEdit::IsFocusSelectionHideEnabled() const
{
return pImpSvMEdit->GetTextWindow()->IsAutoFocusHide();
}
+
+
+void MultiLineEdit::SetLeftMargin( USHORT n )
+{
+ if ( GetTextEngine() )
+ GetTextEngine()->SetLeftMargin( n );
+}
+
+USHORT MultiLineEdit::GetLeftMargin() const
+{
+ if ( GetTextEngine() )
+ return GetTextEngine()->GetLeftMargin();
+ else
+ return 0;
+}
+