diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-09-14 16:58:38 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-09-15 14:39:15 +0200 |
commit | bb83c782bcb3e9320dcad35e8aff99cc76dc7d55 (patch) | |
tree | 9cfbc725eeede45b1bb6cf90e99a29ba5111be7b /desktop/Library_unopkgapp.mk | |
parent | c22ab1cba13d59d7982d8972ece7e8a64e9a74fa (diff) |
oox smartart: handle <dgm:prSet ... custT="1"/>
Which defines that a data node has text properties as direct formatting,
so autoscale should not happen.
We decide autofit at a shape level, smartart defines custom text props
at a data node level. So take the shape, go to its first presentation
node, get its data node and see if it has custom text props. If not,
continue to scale text down till it fits.
smartart-autofit-sync.pptx is extended to contain a 3rd shape: the first
two have their autofit scaling synchronized, while the 3rd has a fixed
font size of 10pt.
(cherry picked from commit 89b385c2336e5b3868d2a040e11134b349b7d010)
Change-Id: I6caacdaab9a36072b9ad5021bd217c955b09b790
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102712
Tested-by: Jenkins
Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
Diffstat (limited to 'desktop/Library_unopkgapp.mk')
0 files changed, 0 insertions, 0 deletions