diff options
author | Tibor Nagy <nagy.tibor2@nisz.hu> | 2021-11-19 12:36:42 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2021-12-03 15:52:50 +0100 |
commit | fc1e5202cbfb36b28b0e597811f39895c19ae6ba (patch) | |
tree | e822e178dee5b43888802587d27c2b5d8030d44f /include/oox | |
parent | 41f736f9bea66657bde2f41afe506e376fe8548e (diff) |
tdf#129430 PPTX export: fix workaround for "At least" line spacing
to avoid bad overlapping lines.
PPTX does not have the option "At least", so line spacing
with this setting is converted to fixed line spacing.
Improve this workaround to use single line spacing, if the
"At least" value is lower than the size of the characters,
like "At least" is handled by Impress.
Change-Id: I29b41225d48fd9a447e7f6ef3a8a7cc7ba9ef354
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125553
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/export/drawingml.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx index 516287293580..b71490752708 100644 --- a/include/oox/export/drawingml.hxx +++ b/include/oox/export/drawingml.hxx @@ -262,7 +262,7 @@ public: void WriteXGraphicStretch(css::uno::Reference<css::beans::XPropertySet> const & rXPropSet, css::uno::Reference<css::graphic::XGraphic> const & rxGraphic); - void WriteLinespacing( const css::style::LineSpacing& rLineSpacing ); + void WriteLinespacing(const css::style::LineSpacing& rLineSpacing, float fFirstCharHeight); OUString WriteXGraphicBlip(css::uno::Reference<css::beans::XPropertySet> const & rXPropSet, css::uno::Reference<css::graphic::XGraphic> const & rxGraphic, |