summaryrefslogtreecommitdiff
path: root/svtools/source/edit/svmedit2.cxx
diff options
context:
space:
mode:
authorPeter Burow <pb@openoffice.org>2001-05-21 10:12:34 +0000
committerPeter Burow <pb@openoffice.org>2001-05-21 10:12:34 +0000
commit701e68ef7378a65e00f96527bdf7794f329acf1f (patch)
treedcfc12c8dfbb2e56a88a11755218e161f2a77c94 /svtools/source/edit/svmedit2.cxx
parent61ebb897e79d2af2d0acb536411b54bfa022cab6 (diff)
fix: #85201# additional methods
Diffstat (limited to 'svtools/source/edit/svmedit2.cxx')
-rw-r--r--svtools/source/edit/svmedit2.cxx19
1 files changed, 17 insertions, 2 deletions
diff --git a/svtools/source/edit/svmedit2.cxx b/svtools/source/edit/svmedit2.cxx
index f795eb8a3106..e8ab099f53ea 100644
--- a/svtools/source/edit/svmedit2.cxx
+++ b/svtools/source/edit/svmedit2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svmedit2.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: pb $ $Date: 2001-05-21 07:49:48 $
+ * last change: $Author: pb $ $Date: 2001-05-21 11:12:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -85,8 +85,23 @@ void ExtMultiLineEdit::InsertText( const String& rNew, BOOL bSelect )
GetTextView()->InsertText( rNew, FALSE );
}
+void ExtMultiLineEdit::SetAutoScroll( BOOL bAutoScroll )
+{
+ GetTextView()->SetAutoScroll( bAutoScroll );
+}
+
void ExtMultiLineEdit::SetAttrib( const TextAttrib& rAttr, ULONG nPara, USHORT nStart, USHORT nEnd )
{
GetTextEngine()->SetAttrib( rAttr, nPara, nStart, nEnd );
}
+void ExtMultiLineEdit::SetLeftMargin( USHORT nLeftMargin )
+{
+ GetTextEngine()->SetLeftMargin( nLeftMargin );
+}
+
+ULONG ExtMultiLineEdit::GetParagraphCount() const
+{
+ return GetTextEngine()->GetParagraphCount();
+}
+