From 7c5b6a07b4b7d85c011730c74749fd767c19c957 Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Tue, 31 Jan 2023 16:01:08 -0400 Subject: 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 Change-Id: I0a01e6d4db51d43707f7cdd0ab9d9cf3288e2221 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147999 Tested-by: Jenkins CollaboraOffice Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153391 Tested-by: Jenkins --- include/editeng/editstat.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/editeng') 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 : is_typed_flags {}; + template<> struct typed_flags : is_typed_flags {}; } enum class EVControlBits -- cgit