• Miklos Vajna's avatar
    tdf#92586 xmloff: fix import of stretched background image · 6621da38
    Miklos Vajna yazdı
    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
    7d9bb549 (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
    6621da38
Adı
Son kayıt (commit)
Son güncelleme
..
PageBackground.odt Loading commit data...
annotation-formatting.odt Loading commit data...
bnc800714.fodt Loading commit data...
borders_ooo33.odt Loading commit data...
empty-svg-family-name.odt Loading commit data...
fdo37606.odt Loading commit data...
fdo53210.odt Loading commit data...
fdo55814.odt Loading commit data...
fdo56272.odt Loading commit data...
fdo60842.odt Loading commit data...
fdo68839.odt Loading commit data...
fdo69862.odt Loading commit data...
fdo69979.odt Loading commit data...
fdo75872_aoo40.odt Loading commit data...
fdo75872_ooo33.odt Loading commit data...
fdo79269.odt Loading commit data...
fdo79269_header.odt Loading commit data...
fdo81223.odt Loading commit data...
fdo82165.odt Loading commit data...
fdo90130-1.odt Loading commit data...
fdo90130-2.odt Loading commit data...
hello.odt Loading commit data...
ooo32780-1.odt Loading commit data...
ooo77837-1.odt Loading commit data...
spellmenu-redline.odt Loading commit data...
tdf74524.odt Loading commit data...
tdf89802.fodt Loading commit data...
tdf92586.odt Loading commit data...