diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-01-04 16:28:03 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-03-15 15:54:39 +0100 |
commit | 49f62c53aa02174ccdb71c8c6a95326e2d49579f (patch) | |
tree | 3502bbfb862a269c737efd7d3939fc91cc203b86 /ucb/CppunitTest_ucb_webdav_neon_opts.mk | |
parent | b7e3fa54b384832c2b7587dbf08abdfd69b7e2f9 (diff) |
sc export chart as graphic: handle PDFmimo-7.2.6.2.M1
The context menu for Calc charts would call into
GraphicFilter::ExportGraphic(), which has explicit code for e.g. SVG,
but not for PDF. The graphic exporter to PDF is only meant to work with
images backed with PDF data, not with all shapes.
Fix the problem by explicitly handling PDF in
GraphicHelper::SaveShapeAsGraphic() in svx/, and invoking the normal PDF
export in that case. Continue to fall back to XGraphicExportFilter for
other formats.
This requires passing down the current document from sc/.
(cherry picked from commit 77d2bbaa18e0be5347d7bd7167b245264789e0a4)
Conflicts:
sc/source/ui/drawfunc/chartsh.cxx
svx/Module_svx.mk
svx/source/core/graphichelper.cxx
Change-Id: Ia5f78bffa1d26989bb0ad3ed265b922e609f076f
Diffstat (limited to 'ucb/CppunitTest_ucb_webdav_neon_opts.mk')
0 files changed, 0 insertions, 0 deletions