+++ This bug was initially created as a clone of Bug #163158 +++ Writer loses chart ploting area ('Chart Wall') dimensions when save document with graph pasted as GDI metafile from Excel This is an interoperability issue. When copying from Excel any chart and pasting it as vector graphic using GDI-pasted vector image, this image will be transformed in size after save as DOCX. When copying similarly from Calc the saved DOCX retains proper graphs. Steps: 1) In MS Excel copy any chart 2) In LO Writer: Ctrl+Shift+V 3) Paste special → Graphics Device Interface metafile (GDI) 4) Save as DOCX 5) Reopen DOCX in Writer or Word Result: The ‘Chart Wall’ (plot region) shows a small part (aproximately 20% x 20%) of the original chart, stretched across the entire wall starting from the top-left corner. Expected: A chart inserted in document as a vector graphic (using GDI interface) should retain the same proportions as it appears in spreadsheet applications. Version: 25.8.1.1 (X86_64) Build ID: 54047653041915e595ad4e45cccea684809c77b5 CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win Locale: pl-PL (pl_PL); UI: en-US Calc: CL threaded Microsoft® Word for Microsoft 365 MSO (Version 2507 Build 16.0.19029.20136) 64-bit
Created attachment 202647 [details] Bug summary image
Created attachment 202648 [details] Bug behavior and EMF Parser logs EMFParser can be downloaded from here: https://download.cnet.com/download/emf-parser/3000-2383_4-10558240.html
Created attachment 202649 [details] Example spreadsheet
Thanks Piotr. Please paste the spreadsheet after pasting the GDI-pasted vector image. Example file is opening correctly.
Hi Bartosz, the issue is action between MS Excel and LO Writer. (Not inside spreadsheet, e.g. Calc to Calc copy-paste.)
Created attachment 202759 [details] ODT works fine
Created attachment 202760 [details] ODT works fine (exported PDF)
Created attachment 202761 [details] DOCX has a problem
Created attachment 202762 [details] DOCX has a problem (exported PDF)