Download it now!
Bug 90039 - Calc diagrams should be exportable as PDF from the “Export as Graphic” context menu command
Summary: Calc diagrams should be exportable as PDF from the “Export as Graphic” contex...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf, needsDevEval
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2015-03-16 14:46 UTC by Robert Pollak
Modified: 2019-11-04 10:07 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
exisitng grpahics formats available to export charts using "Save as Image" dialog (31.68 KB, image/png)
2015-03-22 18:02 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Pollak 2015-03-16 14:46:51 UTC
I am using LO 4.3.62 on Windows 7.

In Calc, when I want to save a diagram as image, I get a lot of formats offered, but PDF is not among them.

My workaround in order to process the image with pdfLaTeX: exporting as eps, then converting to pdf on the fly, via `\usepackage{epstopdf}`.
Comment 1 raal 2015-03-16 15:03:20 UTC
Hello,
you can do it now:
Select the chart -> Export as PDF -> Selection
Comment 2 Robert Pollak 2015-03-17 07:59:36 UTC
Thank you. Maybe the diagram context menu should also have "Export as PDF" next to "Export as Graphic"?
Comment 3 Adolfo Jayme 2015-03-17 11:20:27 UTC
(In reply to Robert Pollak from comment #2)
> Thank you. Maybe the diagram context menu should also have "Export as PDF"
> next to "Export as Graphic"?

I would rather just add the missing “PDF” option to the list of formats in the Export dialog that appears when clicking “Export as Graphic”.
Comment 4 Robert Pollak 2015-03-17 12:08:03 UTC
(In reply to Adolfo Jayme from comment #3)
In that case the PDF settings should be set to lossless compression and no bookmarks.
Comment 5 V Stuart Foote 2015-03-22 18:02:35 UTC
Created attachment 114248 [details]
exisitng grpahics formats available to export charts using "Save as Image" dialog

(In reply to Adolfo Jayme from comment #3)
> I would rather just add the missing “PDF” option to the list of formats in
> the Export dialog that appears when clicking “Export as Graphic”.

Unfortunately, PDF is not handled as a graphic filter. Adding PDF as an option to the export filter list would be a kludge.

Would probably be cleaner to go ahead and reuse the existing Export as PDF dialog in its own export chart menu item.

=-refs-=

http://opengrok.libreoffice.org/xref/core/svx/source/core/graphichelper.cxx#205
http://opengrok.libreoffice.org/xref/core/vcl/source/filter/graphicfilter.cxx
Comment 6 Adolfo Jayme 2015-03-22 21:30:46 UTC
(In reply to V Stuart Foote from comment #5)
> Unfortunately, PDF is not handled as a graphic filter. Adding PDF as an
> option to the export filter list would be a kludge.

Sigh, I suspected it. Well, then I guess we should follow a menu structure similar to this:

Export This Chart > As Raster/Vector Image…
                    As PDF…
Comment 7 Robinson Tryon (qubit) 2015-12-13 11:21:13 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2017-10-30 08:32:18 UTC Comment hidden (obsolete)
Comment 9 Robert Pollak 2017-10-30 09:15:26 UTC
I now see PDF listed among the possible types in the "Save as Image" dialog, but it creates an empty file.

Version: 5.4.2.2 (x64)
Build-ID: 22b09f6418e8c2d508a9eaf86b2399209b0990f4
CPU-Threads: 8; Betriebssystem:Windows 6.1; UI-Render: Standard; 
Gebietsschema: en-US (de_AT); Calc: group
Comment 10 QA Administrators 2018-10-31 03:53:16 UTC Comment hidden (obsolete)
Comment 11 Robert Pollak 2018-11-02 00:14:16 UTC
I still see that PDF is listed among the possible types in the "Save as Image" dialog, but it creates an empty file.

Version: 6.0.6.2
Build-ID: 1:6.0.6-0ubuntu0.18.04.1
CPU-Threads: 2; BS: Linux 4.15; UI-Render: Standard; VCL: gtk3; 
Gebietsschema: de-AT (de_AT.UTF-8); Calc: group
Comment 12 QA Administrators 2019-11-03 03:31:10 UTC Comment hidden (obsolete)
Comment 13 Robert Pollak 2019-11-04 10:07:58 UTC
I still see that PDF is listed among the possible types in the "Save as Image" dialog, but it creates an empty file.

Version: 6.3.2.2
Build ID: 1:6.3.2-0ubuntu0.18.04.1~lo1
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_DK.utf8); UI-Language: en-US
Calc: threaded