[Libreoffice-bugs] [Bug 52592] New: fo:background-color="transparent" wrongly stored also if background image set

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 27 19:59:05 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52592

             Bug #: 52592
           Summary: fo:background-color="transparent" wrongly stored also
                    if background image set
    Classification: Unclassified
           Product: LibreOffice
           Version: 3.5.4 release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: kossebau at kde.org


ODF 1.2 spec says in ยง20.175 fo:background-color:
" [...] If the value is set to transparent, it switches off any background
image that is specified by a <style:background-image>. [...]"

But if I set an image as background for a frame in the LO UI, in the stored
file I see the result as style like this:

<style:graphic-properties style:vertical-pos="from-top"
style:vertical-rel="page" style:horizontal-pos="from-left"
style:horizontal-rel="page" fo:background-color="transparent"
style:background-transparency="100%" style:shadow="none">
<style:background-image
xlink:href="Pictures/100002010000001F000000165551B8E6.png" xlink:type="simple"
xlink:actuate="onLoad" style:position="bottom right" style:repeat="no-repeat"
draw:opacity="100%"/>
</style:graphic-properties>

LO also shows the background image if loading the file again (for internal
consistency I guess :) ).

But unless I misunderstood that referenced part of the ODF spec, this behaviour
is not conforming to the spec.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list