Apache OpenOffice (AOO) Bugzilla – Issue 114298
failure to import dashed line in chart
Last modified: 2010-12-30 10:38:44 UTC
The attached file contains a simple line graph whose line ought to be dashed: <chart:series chart:values-cell-range-address="Sheet1.$A$1:Sheet1.$A$6" chart:style-name="GOG-0x9a503f0"/> the corresponding style is: <style:style style:name="GOG-0x9a503f0" style:family="chart"> <style:chart-properties chart:lines="true"/> <style:graphic-properties draw:fill="solid" draw:stroke="dash" draw:stroke-dash="s-dash" svg:stroke-width="1.00pt"/> <style:paragraph-properties/> <style:text-properties style:text-rotation-angle="0" fo:font-size="8.00pt" fo:font-variant="normal" fo:font-family="Sans" fo:font-style="normal" fo:font-weight="400" gnm:font-stretch-pango="4"/> </style:style> and the dashing "s-dash" is defined by: <draw:stroke-dash draw:name="s-dash" draw:display-name="Dash" draw:style="rect" draw:distance="1.50pt" draw:dots1="1" draw:dots1-length="3.00pt"/> When imported into OOo from debian sid, the line appears solid.
Hi Andreas, attachment missing in action Frank
Created attachment 71563 [details] sample spreadsheet file
Problem can be reproduced also on windows. There is a conflict with attribute 'chart:lines' which leads to the dashes be overwritten with a solid line again. I changed the OOo code accordingly to not produce this error anymore. In addition, Andreas, maybe you could consider to not export the deprecated attribute 'chart:lines' anymore with Gnumeric? Whether lines are to be drawn or not is sufficiently described with attribute 'draw:stroke'. Thanks a lot!
Fixed in CWS chart49.
Thomas, please verify in CWS chart49.
There is an additional problem: The dash is not listed in the 'Style' list on the 'Line' tab page of the 'Data Series'. That problem was not introduced by this fix, but is an additional issue that I would like to fix separately.
Created attachment 75258 [details] example doc to check the additional problem separately
verified into cws chart 49, follow up issue 115988 written
Seen ok in master -> Closed