Created attachment 203101 [details] Example spreadsheet with the issue Problem: For printing, cell content width calculation does not consider cell formatting, resulting in extra blank pages printed, even when "Suppress output of empty pages". Reproduce: 1. Create new blank spreadsheet. 2. Enable View > Page Break. 3. Enter content in cell A1 that forces Page 1 and Page 2 to be shown. 4. Format cell A1 with Alignment > Properties > Shrink to fit cell size Expected: Only Page 1 shown. Actual: Both Page 1 and Page 2 still shown LibreOffice version: 25.8.1 (X86_64), build: 54047653041915e595ad4e45cccea684809c77b5 Windows 11 (build 26100) User interface: UI render: Skia/Vulkan; VCL: win
*** This bug has been marked as a duplicate of bug 57257 ***