Issue 114298

Summary: failure to import dashed line in chart
Product: Calc Reporter: aguelzow <aguelzow>
Component: open-importAssignee: kla <thomas.klarhoefer>
Status: CLOSED FIXED QA Contact: issues@sc <issues>
Severity: Trivial    
Priority: P3 CC: IngridvdM, issues
Version: OOO320m12   
Target Milestone: 3.4.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
sample spreadsheet file
none
example doc to check the additional problem separately none

Description aguelzow 2010-09-03 21:07:12 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.
Comment 1 frank 2010-09-05 00:42:08 UTC
Hi Andreas,

attachment missing in action

Frank
Comment 2 aguelzow 2010-09-05 00:54:51 UTC
Created attachment 71563 [details]
sample spreadsheet file
Comment 3 IngridvdM 2010-10-01 15:56:33 UTC
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!
Comment 4 IngridvdM 2010-10-01 15:57:03 UTC
Fixed in CWS chart49.
Comment 5 IngridvdM 2010-11-11 10:25:30 UTC
Thomas, please verify in CWS chart49.
Comment 6 IngridvdM 2010-12-07 12:41:47 UTC
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.
Comment 7 IngridvdM 2010-12-07 12:44:04 UTC
Created attachment 75258 [details]
example doc to check the additional problem separately
Comment 8 kla 2010-12-08 09:39:15 UTC
verified into cws chart 49, follow up issue 115988 written
Comment 9 kla 2010-12-30 10:38:44 UTC
Seen ok in master -> Closed