https://bugs.documentfoundation.org/show_bug.cgi?id=155645

            Bug ID: 155645
           Summary: Chart distortion when DOCX contains more than 20
                    charts, especially when exporting to PDF in headless
                    mode
           Product: LibreOffice
           Version: 7.5.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When a DOCX document contains more than 20 charts, the PDF export is not
correct: some or all charts are distorted. 

The issue is not the same in all situation:

- It happens every time on all charts in headless mode on Linux (Ubuntu 22.04
LTS and Mac OSX, not tested on Windows) when the document is converted to a
PDF.

- It happens sometimes with LibreOffice Writer UI when exporting the DOCX to a
PDF.

- It happens sometimes in LibreOffice Writer UI without exporting. Editing the
chart fix the chart temporarily.

The issue disappears if we increase the value of OLE_Objects in Advance
settings of /org.openoffice.Office.Common/Cache/Writer. This value is 20 by
default.

See attached files.

Steps to Reproduce:
1. Create a DOCX with MS Office, add 21 pie charts with default values
2. Open this DOCX file with LibreOffice Writer
3. Export to PDF

Actual Results:
Some or all charts are distorted

Expected Results:
Charts should keep the original aspect ratio


Reproducible: Sometimes


User Profile Reset: Yes

Additional Info:
Version: 7.5.4.1 (X86_64) / LibreOffice Community
Build ID: 3a6a10a8a824826630ea908dcaea93b45a6a0af1
CPU threads: 10; OS: Mac OS X 12.6.5; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to