diff options
author | Henry Castro <hcastro@collabora.com> | 2023-01-31 16:01:08 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2023-06-21 16:25:33 +0200 |
commit | 7c5b6a07b4b7d85c011730c74749fd767c19c957 (patch) | |
tree | d814de7cd0b38ec993a25d996df53a35e41079a9 /include | |
parent | 10cf2e7da6048eca7526149f4a2c824e7c3cfdfe (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
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/editstat.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/editeng/editstat.hxx b/include/editeng/editstat.hxx index eec50ea67c20..29653d5eec4f 100644 --- a/include/editeng/editstat.hxx +++ b/include/editeng/editstat.hxx @@ -50,10 +50,11 @@ enum class EEControlBits AUTOPAGESIZE = (AUTOPAGESIZEX | AUTOPAGESIZEY), FORMAT100 = 0x01000000, // Always format to 100% ULSPACESUMMATION = 0x02000000, // MS Compat: sum SA and SB, not maximum value + SINGLELINE = 0x04000000, // One line for all text }; namespace o3tl { - template<> struct typed_flags<EEControlBits> : is_typed_flags<EEControlBits, 0x037afff9> {}; + template<> struct typed_flags<EEControlBits> : is_typed_flags<EEControlBits, 0x07ffffff> {}; } enum class EVControlBits |