diff options
author | Sarper Akdemir <sarper.akdemir@collabora.com> | 2023-04-07 13:32:49 +0300 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-04-12 14:47:18 +0200 |
commit | a925476352b3cb32f6384e7b0fb07e323bb6e64f (patch) | |
tree | d10d998e83560c52ae10c3067545e5c5b913c757 /xmloff/inc | |
parent | 9bee4cec215e2694f6e6e1aa4a463b47b69cc1ff (diff) |
xmloff: ODF import/export for style:overflow-behavior "clip"
Adds initial support for style:overflow-behavior
According to OpenDocument-v1.3-part3 style:overflow-behavior can take
values of:
- "clip"
- "auto-create-new-frame"
This patch doesn't properly implement support "auto-create-new-frame",
only "clip".
If "clip" is set, TextClipVerticalOverflow is set to true, causing the
vertical overflowing text to be clipped.
"auto-create-new-frame" is treated the same as omitting the
style:overflow-behavior attribute, setting TextClipVerticalOverflow to
false.
Change-Id: Iea298f41fbf0cf18dc07f41788ba0b665515db8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150122
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'xmloff/inc')
-rw-r--r-- | xmloff/inc/xmlprop.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmloff/inc/xmlprop.hxx b/xmloff/inc/xmlprop.hxx index 3b2cd86816bc..b93bf926e569 100644 --- a/xmloff/inc/xmlprop.hxx +++ b/xmloff/inc/xmlprop.hxx @@ -611,6 +611,7 @@ inline constexpr OUStringLiteral PROP_TextAutoGrowWidth = u"TextAutoGrowWidth"; inline constexpr OUStringLiteral PROP_TextBreak = u"TextBreak"; inline constexpr OUStringLiteral PROP_TextCanOverlap = u"TextCanOverlap"; inline constexpr OUStringLiteral PROP_TextChainNextName = u"TextChainNextName"; +inline constexpr OUStringLiteral PROP_TextClipVerticalOverflow = u"TextClipVerticalOverflow"; inline constexpr OUStringLiteral PROP_TextColor = u"TextColor"; inline constexpr OUStringLiteral PROP_TextColumns = u"TextColumns"; inline constexpr OUStringLiteral PROP_TextContourFrame = u"TextContourFrame"; |