svx UNO API for shapes: allow setting a max factor for autofit text scale
commit3e8cce134c92690da1955953da118d45f1c5ddde
authorMiklos Vajna <vmiklos@collabora.com>
Wed, 9 Sep 2020 13:49:16 +0000 (9 15:49 +0200)
committerMiklos Vajna <vmiklos@collabora.com>
Tue, 15 Sep 2020 11:52:57 +0000 (15 13:52 +0200)
tree19ba99508ea5244de9e340a2d4086012f762defc
parent564550b8049e478ce4012a099d445f64d803336a
svx UNO API for shapes: allow setting a max factor for autofit text scale

This allows getting the scale factor from multiple shapes (that have
text), seeing what factors they use and then setting the factor to the
minimum of the values.

Towards allowing both "autofit" and "same font size for these shapes" at
the same time for SmartArt purposes.

(cherry picked from commit 81345de4858d6e72ecb8fc6621396570f4a4ee93)

Conflicts:
include/svx/sdtfsitm.hxx
include/svx/unoshprp.hxx

Change-Id: I31a5e097c62e6e65b32956a4a32137bc3339c64c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102725
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
include/svx/sdtfsitm.hxx
include/svx/svdotext.hxx
include/svx/unoshprp.hxx
svx/source/svdraw/svdattr.cxx
svx/source/svdraw/svdotext.cxx
svx/source/unodraw/unoshape.cxx