summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-02-15 19:21:06 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-03-07 16:06:28 +0000
commit31e6b78a196fbf73d61349ad3530cf49ee145186 (patch)
treec9064ab4dd7025354b50ae9ce208cad022f9a5d6 /unodevtools
parent4375eefb644d03ab4bafbc091436166a8494dc91 (diff)
tdf#106304: Fix newline and empty paragraph font size issues in .pptx export
Output <a:br> instead of &#10; for hard newlines. This fixes the problem that the line before the hard newline in the .pptx export is not centred. The fix for the sd_export_ooxml1 test is a bit hacky, but then so is the code in question. Don't unnecessarily use bogus default char size for a:endParaRPr. Instead use the size last used for an a:rPr below the same WriteText() call. I am not exactly sure about how this hangs together, but this has the desired effect on the exported .pptx. (cherry picked from commit 1154cda87d518156d1e52dfb81d5e23b32ab23d5) (cherry picked from commit 6f93eeb0ba8c4af5c96d1db36f184ffbc71c67ba) Change-Id: Ie23e0c33e6efb303b183d3b2efce6866d0dda4e8 Reviewed-on: https://gerrit.libreoffice.org/34887 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'unodevtools')
0 files changed, 0 insertions, 0 deletions