summaryrefslogtreecommitdiff
path: root/include/editeng/editeng.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/editeng/editeng.hxx')
-rw-r--r--include/editeng/editeng.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index fc3a6713707a..a8e7b83e8b43 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -273,7 +273,7 @@ public:
sal_uInt32 GetTextLen() const;
sal_uInt32 GetTextHeight() const;
sal_uInt32 GetTextHeightNTP() const;
- sal_uInt32 CalcTextWidth();
+ sal_uInt32 CalcTextWidth( bool bIgnoreTrailingWhiteSpaces = false );
OUString GetText( sal_Int32 nParagraph ) const;
sal_Int32 GetTextLen( sal_Int32 nParagraph ) const;
@@ -620,6 +620,10 @@ public:
sal_Int32 GetOverflowingLineNum() const;
void ClearOverflowingParaNum();
bool IsPageOverflow();
+
+ // tdf#115639 compatibility flag
+ void SetHoriAlignIgnoreTrailingWhitespace(bool bEnabled);
+ bool IsHoriAlignIgnoreTrailingWhitespace() const;
};
#endif // INCLUDED_EDITENG_EDITENG_HXX