Files
loongoffice/xmloff/source/text
Miklos Vajna 6621da38b3 tdf#92586 xmloff: fix import of stretched background image
The bug document has:
      <style:page-layout-properties ... style:repeat="no-repeat">
        <style:background-image ... style:repeat="stretch"/>
      </style:page-layout-properties>

When a stretched background image is set on a page style using the Writer UI,
then these two style:repeat attributes always match, but not in the bugdoc.
The later used to have priority, till commit
7d9bb549d498d6beed2c4050c402d09643febdfa (Related: #i124638# Second step of
DrawingLayer FillAttributes..., 2014-06-02).

Fix the problem by extending XMLBackgroundImageContext::EndElement(): if we
know that the <style:page-layout-properties> sets the FillBitmapMode property,
then don't blindly set BackGraphicLocation, but try to overwrite the exiting
FillBitmapMode one.

Change-Id: I64ab4363b20cc95003d35acd63ea421472b1c071
2015-09-14 09:10:48 +02:00
..
2015-05-24 20:58:24 +01:00
2015-04-07 10:24:54 +02:00
2015-09-08 13:00:22 +02:00
2015-08-27 08:00:32 +02:00
2015-04-24 12:36:31 +02:00
2015-08-27 08:00:32 +02:00
2015-06-16 11:25:13 +00:00
2015-05-24 20:58:24 +01:00
2015-07-03 09:14:23 +00:00
2015-06-22 12:36:21 +00:00
2015-07-03 09:14:23 +00:00
2015-08-27 08:00:32 +02:00
2015-06-13 09:13:52 +02:00
2015-06-28 12:28:31 +00:00
2015-08-27 08:00:32 +02:00
2015-08-27 08:00:32 +02:00
2015-08-27 08:00:32 +02:00
2015-08-27 08:00:32 +02:00
2015-07-03 09:14:23 +00:00
2015-07-03 09:14:23 +00:00