Issue 114298 - failure to import dashed line in chart
Summary: failure to import dashed line in chart
Alias: None
Product: Calc
Classification: Application
Component: open-import (show other issues)
Version: OOO320m12
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 3.4.0
Assignee: kla
QA Contact: issues@sc
Depends on:
Reported: 2010-09-03 21:07 UTC by aguelzow
Modified: 2010-12-30 10:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

sample spreadsheet file (15.39 KB, application/vnd.oasis.opendocument.spreadsheet)
2010-09-05 00:54 UTC, aguelzow
no flags Details
example doc to check the additional problem separately (15.37 KB, application/vnd.oasis.opendocument.spreadsheet)
2010-12-07 12:44 UTC, IngridvdM
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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"

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: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"/>

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

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
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