Files
loongoffice/include/xmloff
Miklos Vajna 1b471124df tdf#107392 ODF import: fix z-order sorting of SVG images
The problem was that in case the document has shapes where the order
does not match the z-index order, so sorting is needed, then sorting
failed to take the multi-image feature into account. E.g. SVG images
have a PNG fallback, but at the end of the shape import the PNG
fallback is removed, which means the "actual" (not the "wished") z-index
of the shapes after the SVG image has to be adjusted.

Without this happening SvxDrawPage::getByIndex() (or in case of Writer,
SwTextBoxHelper::getByIndex()) will throw when the importer calls
getByIndex(3) but we only have 3 shapes. This results in not honoring
the z-index request of the remaining shapes.

Regression from commit 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70 (re-base
on ALv2 code. Includes (at least) relevant parts of:, 2012-10-09), from
the

        Svg: Reintegrated Svg replacement from /branches/alg/svgreplavement
        http://svn.apache.org/viewvc?view=revision&revision=1220836

part.

Change-Id: Ibe880e5c6c74b728b4a760498720ee31f052b726
Reviewed-on: https://gerrit.libreoffice.org/36998
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-04-26 18:35:56 +02:00
..
2017-04-04 06:38:38 +00:00
2017-03-03 06:56:42 +00:00
2017-03-03 20:55:50 +00:00
2017-03-31 06:59:51 +00:00
2017-01-07 10:08:48 +00:00
2017-03-29 11:43:40 +00:00
2017-04-26 08:50:54 +02:00
2017-01-23 10:22:21 +00:00
2017-02-03 08:59:39 +00:00
2017-03-31 06:59:51 +00:00