Created attachment 170244 [details] Docx conversion to pdf examples Conversion from docx -> pdf with pictures in document yields strange results. It is reproducable by running the attached docx files with command line soffice --headless --convert-to pdf docname It is tested with the same result on version 5.3.6.1 and 7.1.1 on Linux and on Windows. Attached is 3 examples: Dok2sweeped.docx: One of the four pictures are missing. Dok4sweeped.docx: Original document has 4 pages but the pdf only has 3 pages. DokLoopsweeped.docx: Conversion hangs, no result is produced I also provide you with the resulting pdf for Dok2sweeped.docx and Dok4sweeped.docx. Best Regards, Jon Sandelin
If you have the problem of headless docx to pdf conversion, it doesn't need to be a bug and is not. Bug is fileopen of docx. In Dok2 one of 4 same PNG images is not shown In Dok4 one of 4 same images overlaps other, makimg 3 instead of 4 pages. It's easier for you but wrong to attach zip. This should be checked in existing bugs for already reported issues.
Created attachment 170252 [details] One of 4 same PNG images is not shown in resulting PDF Attaching separate files instead of zip
Created attachment 170253 [details] One of 4 same images overlaps other, making 3 instead of 4 pages
Created attachment 170254 [details] No conversion possible in headless, soffice hangs
Created attachment 170255 [details] Resulting pdf - one image not shown
Created attachment 170256 [details] Resulting pdf - 3 instead of 4 pages
Second image disappears in older versions as well, way back to 3.5.
All images are anchored as character.
Dear jon.sandelin, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
dok2sweeped.docx missing visible image on page 2 fix in 7.6 by commit 5884a122dc2a2c73865efdbdd861c281475a681e Author: Justin Luth on Thu Feb 16 09:16:39 2023 -0500 tdf#153613 writerfilter: split para for inline too if not FirstRun dok4sweeped.docx invisible text and overlapping image: repro 7.6+ The last image is anchored "to character", but the text it is anchored to is positioned off-screen with a red-arrow indicator instead of wrapping to the next page.
(In reply to jon.sandelin from comment #0) > Dok4sweeped.docx: Original document has 4 pages but the pdf only has 3 pages. Still confirmed, 3 pages seen upon opening. Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 647bbcd7f3adc2146dbb003d80d9811c355f1311 CPU threads: 8; OS: Linux 6.9; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded > DokLoopsweeped.docx: Conversion hangs, no result is produced Created bug 162103 for this. There should be only one bug per report.