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

Michael Stahl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard|                            |odf
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #2 from Michael Stahl <[email protected]> ---
what fails is creating a document with a line (default color),
storing it in 4.2.0.4 and then loading it in 4.1.5.3.

the line is then black whereas 4.2 displays it as blue like when it was
created.

hmm... in neither version does the line in the document have
an explicit color set, both look identical:

  <draw:line text:anchor-type="paragraph" draw:z-index="0"
draw:style-name="gr1" draw:text-style-name="P1" svg:x1="1.766cm"
svg:y1="2.208cm" svg:x2="14.836cm" svg:y2="1.679cm">

 <style:style style:name="gr1" style:family="graphic">
   <style:graphic-properties draw:textarea-horizontal-align="center"
draw:textarea-vertical-align="middle" style:run-through="foreground"
style:wrap="run-through" style:number-wrapped-paragraphs="no-limit"
style:vertical-pos="from-top" style:vertical-rel="paragraph"
style:horizontal-pos="from-left" style:horizontal-rel="paragraph"/>
  </style:style>

... but ... the 4.1 doc has some color attributes in its graphic defaults:

  <style:default-style style:family="graphic">
   <style:graphic-properties svg:stroke-color="#3465af"
draw:fill-color="#729fcf" fo:wrap-option="no-wrap" draw:shadow-offset-x="0.3cm"
draw:shadow-offset-y="0.3cm" draw:start-line-spacing-horizontal="0.283cm"
draw:start-line-spacing-vertical="0.283cm"
draw:end-line-spacing-horizontal="0.283cm"
draw:end-line-spacing-vertical="0.283cm" style:flow-with-text="false"/>

... whereas in 4.2:

  <style:default-style style:family="graphic">
   <style:graphic-properties fo:wrap-option="no-wrap"
draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm"
draw:start-line-spacing-horizontal="0.283cm"
draw:start-line-spacing-vertical="0.283cm"
draw:end-line-spacing-horizontal="0.283cm"
draw:end-line-spacing-vertical="0.283cm" style:flow-with-text="false"/>

... no svg:stroke-color="#3465af" draw:fill-color="#729fcf" !

regression from commit c0eb5e7772c848806db8ab461f77f9549c1d8b2b

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to