diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-02-26 09:44:00 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-02-26 10:44:31 +0100 |
commit | 159e33ec661b2ce038b2642b2f30600ce7901d1b (patch) | |
tree | b2cd2dc577d732ce2ad377a55936e79d0fb94d59 /sd/qa/unit/data | |
parent | 3caf379f1c6398548c65bb7a83e3911d9a8bc444 (diff) |
oox smartart, picture strip: fix too many columns with aspect ratio request
The bugdoc has 3 items in the picture strip and PowerPoint laid this out
as a single column with 3 rows (as a snake algorithm). We used to put
the first two items to the first row and the third item to the second
row.
Improve out layout by taking into account what aspect ratio the child
algorithms request: this way it's obvious that we should use a single
column in case we have a large enough aspect ratio and few enough items.
(PowerPoint also uses multiple columns without the aspect ratio
request.)
Change-Id: I9f1158c04c665fc6a2c85e4ac3a1ed363b1c75fb
Reviewed-on: https://gerrit.libreoffice.org/68370
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sd/qa/unit/data')
-rw-r--r-- | sd/qa/unit/data/pptx/smartart-picture-strip.pptx | bin | 47565 -> 47928 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/sd/qa/unit/data/pptx/smartart-picture-strip.pptx b/sd/qa/unit/data/pptx/smartart-picture-strip.pptx Binary files differindex 4c379dfd396c..b117e4e70cf6 100644 --- a/sd/qa/unit/data/pptx/smartart-picture-strip.pptx +++ b/sd/qa/unit/data/pptx/smartart-picture-strip.pptx |