Created attachment 165246 [details] the native VSDX file that causes troubles Description: - VSDX diagram components mostly renders but with a few blank components - Occurs with soffice conversion cli - Occurs also when opening in LibreOffice GUI Tested on versions: - LibreOffice 5.4.3.2 40m0(Build:2) - Ubuntu - LibreOffice 7.0.0.3 8061b3e9204bef6b321a21033174034a5e2ea88e - Mac OS Attachments: - process_flow.vsdx (the file that causes troubles) - bad_process_flow.png (screenshot from soffice output + added redlines) - expected_process_flow.png (expected output + added green lines) How to replicate (cli): 1. Download the attached file: process_flow.vsdx 2. Run: `soffice -headless -convert-to pdf:writer_pdf_Export -outdir ./ ./process_flow.vsdx` 3. Check the output file, you'll see missing components (blank)
Created attachment 165247 [details] output from soffice
Created attachment 165248 [details] Expected output
Confirm with Version: 7.1.0.0.alpha0+ Build ID: e2f4e65a7b8024c00b049eebf0d87637efda7f24 CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-US (ro_RO.UTF-8); UI: en-US Calc: threaded
Created attachment 165290 [details] the generated pdf
Probably an issue in libvisio.
Created attachment 196771 [details] Sample file exported with MS Visio to PDF It seems that the issue is no longer exists, as all texts are rendered in black now.
The <Cell N='QuickStyleFontColor' V='100'/> is not implemented.
Created attachment 196772 [details] screenshot This is how I see it in Version: 24.8.2.1 (X86_64) / LibreOffice Community Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13 CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded The same in Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 03467e12660a61c467e4947681e827435c3beaea CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded 2 things are different: - the background for some shapes - Yes/No text
Created attachment 196773 [details] Missing white background on text On your sample I discovered missing white background on `Yes` and `No` texts. I have reproduce it on separate vsdx image.
I have created the Review for fix for missing Text Background.
https://gerrit.libreoffice.org/c/libvisio/+/174173