Bug 163158 - [SVM to EMF export] Writer can't save 'Chart Wall'-background (in plot area) in DOCX when pasted as GDI from Calc
Summary: [SVM to EMF export] Writer can't save 'Chart Wall'-background (in plot area) ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.1.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:emf, filter:ooxml
Depends on:
Blocks: EMF-WMF DOCX-Images
  Show dependency treegraph
 
Reported: 2024-09-25 19:39 UTC by Piotr Osada
Modified: 2024-10-07 09:18 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Chart-background-labels.xlsx (31.96 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2024-09-25 19:47 UTC, Piotr Osada
Details
GDI chart background Writer ODS vs Word DOCX PNG (152.01 KB, image/png)
2024-09-25 20:28 UTC, Piotr Osada
Details
PDF export from LO (reopened DOCX) (125.93 KB, application/pdf)
2024-09-25 20:30 UTC, Piotr Osada
Details
OOXML examples (337.44 KB, application/pdf)
2024-09-25 22:24 UTC, Piotr Osada
Details
7-Zip archives ODF vs OOXML (49.90 KB, image/png)
2024-09-26 11:31 UTC, Piotr Osada
Details
Original document ODT (1014.35 KB, application/vnd.oasis.opendocument.text)
2024-09-26 11:36 UTC, Piotr Osada
Details
Original document saved as DOCX (there is no background here) (19.86 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-09-26 11:37 UTC, Piotr Osada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Osada 2024-09-25 19:39:58 UTC
Writer does not support "Chart Wall" background of GDI pasted charts from Calc (background in plot area) when saving as OOXML.

1) In LO Calc open Chart-background-labels.xlsx
2) Copy chart #1
3) In LO Writer press Ctrl+Shift+V → paste as GDI
4) Save As → OOXML
5) Reopen either in Writer or in Word


Result:
Chart background is missing.

Expected result:
The chart background should be preserved.


Version: 24.8.1.2 (X86_64) / LibreOffice Community
Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Calc: CL threaded
Comment 1 Piotr Osada 2024-09-25 19:47:18 UTC
Created attachment 196695 [details]
Chart-background-labels.xlsx
Comment 2 Piotr Osada 2024-09-25 20:28:12 UTC
Created attachment 196696 [details]
GDI chart background Writer ODS vs Word DOCX PNG
Comment 3 Piotr Osada 2024-09-25 20:30:15 UTC
Created attachment 196697 [details]
PDF export from LO (reopened DOCX)
Comment 4 Piotr Osada 2024-09-25 22:24:30 UTC
Created attachment 196699 [details]
OOXML examples
Comment 5 Mike Kaganski 2024-09-26 04:01:05 UTC
Same as bug 160063 comment 6.
Comment 6 Piotr Osada 2024-09-26 11:31:38 UTC
Created attachment 196716 [details]
7-Zip archives ODF vs OOXML
Comment 7 Piotr Osada 2024-09-26 11:36:15 UTC
Created attachment 196719 [details]
Original document ODT
Comment 8 Piotr Osada 2024-09-26 11:37:18 UTC
Created attachment 196721 [details]
Original document saved as DOCX (there is no background here)