tdf#59323: pptx export: add initial support for lstStyles in textboxes
commitb4e3b505f4b5c3dc62df1ad9ed683512a6765acc
authorSarper Akdemir <sarper.akdemir@collabora.com>
Wed, 9 Jun 2021 04:58:44 +0000 (9 07:58 +0300)
committerMike Kaganski <mike.kaganski@collabora.com>
Wed, 23 Jun 2021 21:32:17 +0000 (23 23:32 +0200)
treecf6154fe9f4612bc34639611d321d3d7c9935368
parente22a70048ba0025107b1a6c4b14564a6e786bc5a
tdf#59323: pptx export: add initial support for lstStyles in textboxes

Adds initial support for writing lstStyles that are specific to a shape.

Current implementation only writes first paragraph and first textruns properties
in it.

Made WriteParagraphProperties return a bool that determines whether or not it
wrote a pPr tag. Needed this since lvl1pPr tag should be started even if there
was no paragraph properties since run properties also written inside it.

Change-Id: Ie0cfc9b9f221093db3a1111ca29140a6dfb5e8ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117011
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117539
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
include/oox/export/drawingml.hxx
include/oox/export/shapes.hxx
oox/source/export/drawingml.cxx
oox/source/export/shapes.cxx