Bug 131930 - Export 3D chart as vector graphic
Summary: Export 3D chart as vector graphic
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
6.4.2.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-06 13:20 UTC by Mr Gou
Modified: 2020-06-19 13:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Unedited chart export to SVG (47.45 KB, image/svg+xml)
2020-04-06 18:58 UTC, Mr Gou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mr Gou 2020-04-06 13:20:11 UTC
Description:
At this moment, when exporting a chart to an image in Calc, the image is always saved as bitmap, even when selecting a vector format (SVG, PDF, EPS, WMF...). The exported file is really just a bitmap array embedded in a vector format file.

Even when copying and pasting a chart from Calc to Drawing, the pasted object is just a bitmap.

This is a pity, since making these formats available is of really little interest. Exporting to true vector, however, opens up a lot of possibilities, such as complex layout adjustments in Inkscape, animation of chart components in presentations...

Steps to Reproduce:
1. Export a Calc chart to SVG
2. Open SVG file in Inkscape


Actual Results:
The chart is just a single bitmap object

Expected Results:
The chart should be a collection of vector objects


Reproducible: Always


User Profile Reset: No



Additional Info:
N/A
Comment 1 V Stuart Foote 2020-04-06 14:59:45 UTC
Can not confirm on Windows build with current master

Version: 7.0.0.0.alpha0+ (x64)
Build ID: 962b415edb47187737a5f05c4ff3f6724a19c564
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

The Calc - Chart module provides an Export fucntion. And the Export to EMF and SVG both worked without issue. Resulting vector chart images could be opened into Draw, or Inkscape and their individual vector elements selected/moved/edited just fine.

Likewise a copy paste of a Calc Chart selection to Draw canvas responds to the menu Shape -> Break command, and may be handled in its vector elements.

NEEDINFO -- please provide os/DE and the LibreOffice version details from menu Help -> About LibreOffice
Comment 2 Mr Gou 2020-04-06 18:58:08 UTC
Created attachment 159370 [details]
Unedited chart export to SVG
Comment 3 Mr Gou 2020-04-06 18:59:08 UTC
I attach an unedited export to SVG of a 3D torus chart. Except for the legend, most of the chart consists in a bitmap image object.
Comment 4 Mr Gou 2020-04-06 19:00:22 UTC
Output is repeatable in LibreOffice 6.4.2.2 on Windows and Linux.
Comment 5 Mr Gou 2020-04-06 19:04:22 UTC
Changing enhancement request title: on further test, is appears that a bitmap image is used on export whenever 3D effect is used.
Comment 6 QA Administrators 2020-04-07 03:29:46 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2020-06-19 13:09:34 UTC
Reproduced.

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: ad0351b84926075297fb74abbe9b31a0455782af
CPU threads: 8; OS: Linux 5.7; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 17 June 2020