Issue 21588 - export chart as postscript, image (PNG, BMP...) or pdf
Summary: export chart as postscript, image (PNG, BMP...) or pdf
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial with 88 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo, rfe_eval_ok, usability
: 12048 81796 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-10-22 22:21 UTC by fa
Modified: 2024-02-14 04:40 UTC (History)
10 users (show)

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


Attachments
Screen-shot of Gnumeric, with context menu on graph (39.35 KB, image/png)
2012-10-19 22:27 UTC, aoo-bugger
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description fa 2003-10-22 22:21:47 UTC
It would be great if there was a feature to export _Just_ a chart from
Calc/writer/etc to a PostScript or EPS file, to be able to include that file in
other applications like Tex.
Comment 1 frank 2003-10-23 10:14:29 UTC
Hi Bettina,

maybe this is a double to Issue 18809.

Please have a look.

Frank
Comment 2 bettina.haberer 2004-11-29 18:16:41 UTC
Reassigned to Ingrid.
Comment 3 IngridvdM 2007-09-21 14:56:22 UTC
Changed prio and target and added pdf and image export to the summary.

As a partial workaround you can paste the chart as bitmap
from the clipboard using Edit->'Paste Special'.
Another trick is to paste the chart to a draw document and use the export
functionality there.
Comment 4 IngridvdM 2007-09-21 15:01:22 UTC
*** Issue 12048 has been marked as a duplicate of this issue. ***
Comment 5 IngridvdM 2007-09-21 15:11:52 UTC
*** Issue 81796 has been marked as a duplicate of this issue. ***
Comment 6 erwin.tenhumberg 2008-03-28 11:24:32 UTC
This feature is important for many students, professors and researchers. See for
example the submission policies for the magazines Science and Nature:

http://www.sciencemag.org/about/authors/prep/prep_revfigs.dtl
http://mts-nature.nature.com/cgi-bin/main.plex?form_type=display_auth_instructions
Comment 7 phoneixs 2010-01-15 09:37:14 UTC
And I think that the use of svg format could be very good.
Comment 8 el_cameleon 2010-04-29 20:58:39 UTC
Will this issue deal with the copy/paste incompatibility between Calc chart and
other famous open sources applications? 
Actually it is not possible to copy/paste a chart into the body of a new message
(in Thunderbird) or into a new image (in Gimp).
Comment 9 ntropia 2010-10-16 02:26:23 UTC
I'm really surprised this request is still pending, despite being present in 
triple copy.
I think this feature is rather important, yes, and having it any time soon would 
be good.


(I wrote and deleted some sarcastic comments about being a 7 years old 
request...)
Comment 10 jzwolak 2010-10-23 23:42:21 UTC
Well, this issue has reached a landmark... that means it's time to implement!  70 votes!!! woohoo!!
Comment 11 frankiejol 2010-11-09 14:55:39 UTC
The best workaround I found so far is this:

http://phanvinhthinh.blogspot.com/2010/09/workaround-for-openofficeorg-draw.html

It basically advises to change the page size before exporting as pdf.
Comment 12 vkkodali 2010-11-09 16:48:54 UTC
That workaround suggests copy+paste-ing the graph into a new Drawing. Instead,
you could simply move the graph in such a way it is the only object in a page
when the spreadsheet is printed and export the spreadsheet as a PDF. Once you
have the PDF, it is just a matter of copying the image using the image copying
tool of your favorite PDF reader. Alternately, if you paste it into a new
Drawing, then you can 'Export' it as an image file directly.

Having said that, these options are simply 'workarounds'. It would be nice to
have a more direct solution.
Comment 13 da_fox 2011-04-08 09:58:05 UTC
Any chance to fix this before this bug's tenth anniversary?
Comment 14 baghdadi13 2011-08-17 08:00:24 UTC
This really very important to researchers and students!!
we all need to export images from calc.
Comment 15 Paul-Antoine Arras 2012-09-25 08:07:58 UTC
With 86 votes, this feature should be implemented as soon as possible now! Is there any technical issue that hinders the implementation?

As a reminder, this feature is badly needed for all of us who are bound to use LaTeX to typeset research papers, for instance...
Comment 16 Ariel Constenla-Haile 2012-09-26 23:11:23 UTC
Is the export functionality supposed to work 

a) when the chart is activated?
b) only when the chart is selected in Writer/Calc/Draw/Impress?

Option b) seems to be more user-friendly: there is no need to activate the chart in order to export the graphic. It could be implemented in the context menu that pops up when the chart is selected.
Comment 17 aoo-bugger 2012-10-19 22:27:06 UTC
Created attachment 79796 [details]
Screen-shot of Gnumeric, with context menu on graph

(In reply to comment #16)
> b) only when the chart is selected in Writer/Calc/Draw/Impress?
> 
> Option b) seems to be more user-friendly: there is no need to activate the
> chart in order to export the graphic. It could be implemented in the context
> menu that pops up when the chart is selected.

Yes, definitely b).
Also check out the screen-shot of Gnumeric, they handle it exactly this way.
Comment 18 Ariel Constenla-Haile 2012-10-27 15:00:46 UTC
(In reply to comment #17)
> > b) only when the chart is selected in Writer/Calc/Draw/Impress?
> > 
> > Option b) seems to be more user-friendly: there is no need to activate the
> > chart in order to export the graphic. It could be implemented in the context
> > menu that pops up when the chart is selected.
> 
> Yes, definitely b).
> Also check out the screen-shot of Gnumeric, they handle it exactly this way.

In the meantime, while this gets fixed, you can try the extension at http://people.apache.org/~arielch/extensions/contextmenuinterceptor/

It adds a mew item "Save Graphics..." right after "Edit", when you right-click on a chart.
Comment 19 sorath 2013-08-01 06:47:58 UTC
Unfortunately, this extension doesn't install for me in AOO-4.0 (I don't try for previous versions) with error: "loading component library failed: file:///C:/ Documents%20and ... /ContextMenuInterceptor-0.0.1-windows-x86.oxt/Windows/ContextMenuInterceptor.uno.dll"

Does it planing to implement this feature at least in OpenOffice 4.1?
Comment 20 sorath 2016-05-01 22:58:11 UTC
(In reply to Ariel Constenla-Haile from comment #18)
> It adds a mew item "Save Graphics..." right after "Edit", when you
> right-click on a chart.

It seems that in AOO-4.1.2 export as graphics looks broken as exported image contain "ugly" rendered curve without smoothing.

I currently don't test with AOO-4.1.1 again and don't remember that it was also wrong rendering early. Is it possible to repair this very useful extension? 

It's also will be better finally to implement this feature as this feature request is already 12 years old.
Comment 21 damjan 2024-02-14 04:40:20 UTC
In bug 112829 I did just commit a patch that allows graphics, including charts, to be copied out of Calc in SVG format. Is that enough for this issue, or are you looking for something else?