diff options
author | Radek Doulik <rodo@novell.com> | 2011-03-30 17:42:19 +0200 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2011-03-30 17:42:59 +0200 |
commit | fd22dcf3dcdcbdfddad5b97f9803f075f8439687 (patch) | |
tree | feb02b36671671f4f95a8ab70006c5e21120feb0 /editeng/inc | |
parent | f62ec4cda204534354e51d920d21231ddbfe8ba3 (diff) |
change autofit feature so that it ignores trailing empty paragraphs
Diffstat (limited to 'editeng/inc')
-rw-r--r-- | editeng/inc/editeng/editeng.hxx | 1 | ||||
-rw-r--r-- | editeng/inc/editeng/outliner.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/editeng/inc/editeng/editeng.hxx b/editeng/inc/editeng/editeng.hxx index 02fc25ed8a..ed62964750 100644 --- a/editeng/inc/editeng/editeng.hxx +++ b/editeng/inc/editeng/editeng.hxx @@ -205,6 +205,7 @@ public: String GetText( const ESelection& rSelection, const LineEnd eEnd = LINEEND_LF ) const; sal_uInt32 GetTextLen() const; sal_uInt32 GetTextHeight() const; + sal_uInt32 GetTextHeightNTP() const; sal_uInt32 CalcTextWidth(); String GetText( sal_uInt16 nParagraph ) const; diff --git a/editeng/inc/editeng/outliner.hxx b/editeng/inc/editeng/outliner.hxx index 9970a8d76f..e42ae9305e 100644 --- a/editeng/inc/editeng/outliner.hxx +++ b/editeng/inc/editeng/outliner.hxx @@ -907,6 +907,7 @@ public: const Color& rTextLineColor); Size CalcTextSize(); + Size CalcTextSizeNTP(); Point GetDocPos( Paragraph* pPara ); |