To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72920
                 Issue #|72920
                 Summary|Text box loaded with wrong background color
               Component|Word processor
                 Version|OOo 2.0.4
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|open-import
             Assigned to|mru
             Reported by|dfaure





------- Additional comments from [EMAIL PROTECTED] Sun Dec 24 08:23:54 -0800 
2006 -------
OOWriter "invents" a blue background for a text box with no background color 
specified. I'll attach the testcase.

The XML says:
    <style:style style:name="fr1" style:family="graphic">
      <style:graphic-properties fo:background-color="#ffffff" ..../>
    </style:style>

 <draw:frame draw:style-name="fr1" ...>  [...]

Why does OOWriter show a blue background for this frame? From the XML, it 
should be white. In fact I found that OOWriter uses draw:fill-color nowadays 
for the background color of text boxes (I guess fo:background-color is the 
background color of the text itself). That is fine I guess (*), I'll change 
kword to do that too, but still: if a frame doesn't have -any- draw:fill-color 
specified, and no style does either, it's a bug if the frame is loaded as 
blue.

(*) I can't check what the ODF spec says at the moment, since OOo-2.0.4 seems 
to hang while opening the ODF spec (both with the 1.0 version as .sxw or with 
later internal version as .odt). That's another bug though.

In any case this seems quite inconsistent too: text boxes would use 
draw:fill-color for the fill color of the whole frame and possibly 
fo:background-color for the background behind the text itself, but for table 
cells OOo uses fo:background-color for the background of the whole table cell!

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to