You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/11/11 01:52:42 UTC
[Bug 121334] New: [SVG] API Export of 3D chart produces white filled
path in Calc/Writer but not in Draw/Impress
https://issues.apache.org/ooo/show_bug.cgi?id=121334
Priority: P3
Bug ID: 121334
Assignee: ooo-issues@incubator.apache.org
Summary: [SVG] API Export of 3D chart produces white filled
path in Calc/Writer but not in Draw/Impress
Severity: normal
Issue Type: DEFECT
Classification: Application
OS: All
Reporter: arielch@apache.org
Hardware: All
Status: CONFIRMED
Version: AOO350-dev
Component: save-export
Product: drawing
Exporting a 3D chart graphic to SVG will export the Chart as an hex encoded
image svg element (the other elements, like the Legend, Title, Axis Labels,
etc. are exported as svg primitives).
In Calc and Writer, the svg export adds a white filled svg path that covers and
hides the hex encoded image. On Impress/Draw this path is not present.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 121334] [SVG] API Export of 3D chart produces white filled path
in Calc/Writer but not in Draw/Impress
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121334
--- Comment #4 from Ariel Constenla-Haile <ar...@apache.org> ---
Export is done using AOO API, you can test with this extension that adds to the
context menu of a selected chart a menu item to export the chart graphic:
http://people.apache.org/~arielch/extensions/contextmenuinterceptor/
The extra path is
attachment 79898
<path fill="rgb(255,255,255)" stroke="none" d="M 8004,9022 L 0,9022 0,0 16007,0
16007,9022 8004,9022 Z"/>
attachment 79897
<path fill="rgb(255,255,255)" stroke="none" d="M 7594,8996 L 0,8996 0,0 15187,0
15187,8996 7594,8996 Z"/>
Commenting this line, the hex encoded image becomes visible.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 121334] [SVG] API Export of 3D chart places the chart
background hiding other elements
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121334
Armin Le Grand <Ar...@me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Armin.Le.Grand@me.com
Assignee|ooo-issues@incubator.apache |Armin.Le.Grand@me.com
|.org |
--- Comment #7 from Armin Le Grand <Ar...@me.com> ---
ALG: I have to take a look at this. It is correct that 3D is a encoded picture,
SVG has no 3D part, no other way to do it. Need to check where the white
polygon comes from...
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 121334] [SVG] API Export of 3D chart produces white filled path
in Calc/Writer but not in Draw/Impress
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121334
--- Comment #2 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 79897
--> https://issues.apache.org/ooo/attachment.cgi?id=79897&action=edit
3D chart graphic exported to SVG from AOO Calc
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 121334] [SVG] API Export of 3D chart produces white filled path
in Calc/Writer but not in Draw/Impress
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121334
--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 79896
--> https://issues.apache.org/ooo/attachment.cgi?id=79896&action=edit
3D chart graphic exported to SVG from AOO Draw
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 121334] [SVG] API Export of 3D chart produces white filled path
in Calc/Writer but not in Draw/Impress
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121334
--- Comment #5 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 79899
--> https://issues.apache.org/ooo/attachment.cgi?id=79899&action=edit
Snippet of the code exporting the chart graphic
Note that the code is exactly the same in Calc and Draw/Impress, so the
difference might be that Calc/Writer add a white background to the chart
graphic, and the svg export places this background above the hex encoded image
element.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 121334] [SVG] API Export of 3D chart places the chart
background hiding other elements
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121334
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[SVG] API Export of 3D |[SVG] API Export of 3D
|chart produces white filled |chart places the chart
|path in Calc/Writer but not |background hiding other
|in Draw/Impress |elements
--- Comment #6 from Ariel Constenla-Haile <ar...@apache.org> ---
Adapting the Summary to reflect the actual bug: not only the hex encoded image
is hidden by the white filled path representing the chart background.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 121334] [SVG] API Export of 3D chart produces white filled path
in Calc/Writer but not in Draw/Impress
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121334
--- Comment #3 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 79898
--> https://issues.apache.org/ooo/attachment.cgi?id=79898&action=edit
3D chart graphic exported to SVG from AOO Writer
--
You are receiving this mail because:
You are the assignee for the bug.