diff options
author | Henry Castro <hcastro@collabora.com> | 2023-01-31 16:01:08 -0400 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-06-23 21:04:24 +0200 |
commit | 9fc88e6fd7f9177eedcd39ead1c39ef21240de37 (patch) | |
tree | d36fdc66d3b59c565c0e54384b9e963facb92f05 /editeng | |
parent | 1b5cee822e0bc15ddbdfc86926678ca35ab3e082 (diff) |
editeng: add flag EEControlBits::SINGLELINE
The purpose of this flag is to draw a paragraph
into a single line ignoring line breaks
Signed-off-by: Henry Castro <hcastro@collabora.com>
Change-Id: I0a01e6d4db51d43707f7cdd0ab9d9cf3288e2221
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147999
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153391
Tested-by: Jenkins
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153483
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editstt2.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editeng/source/editeng/editstt2.hxx b/editeng/source/editeng/editstt2.hxx index 4474df8b429b..334622b23495 100644 --- a/editeng/source/editeng/editstt2.hxx +++ b/editeng/source/editeng/editstt2.hxx @@ -91,6 +91,9 @@ public: bool ULSpaceSummation() const { return bool( nControlBits & EEControlBits::ULSPACESUMMATION ); } + + bool IsSingleLine() const + { return bool( nControlBits & EEControlBits::SINGLELINE ); } }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |