Description: This bug is a continuation of bug 72640. After fixing bug 72640, most of the example documents now display correctly compared to Microsoft Word. However, one attachment still has problems: attachment 90695 [details]. After loading this file, some of the lines are given first line indent values which do not match the values as seen in Microsoft Word. This problem seems isolated to the DOC filter. This doesn't happen for all DOC files, and it doesn't happen if the original DOC is resaved as DOCX in Microsoft Word (attachment 90696 [details]). Steps to Reproduce: 1. Open attachment 90695 [details] (NumAlign.doc) from bug 72640 in Writer 2. Open attachment 90696 [details] (NumAlign.docx) from bug 72640 in Writer 2. Compare the output between the two files; they should look the same Actual Results: The first line indent values differ between the two files. Expected Results: NumAlign.doc should look the same as NumAlign.docx. Reproducible: Always User Profile Reset: No Additional Info: Version: 26.8.0.0.alpha0+ (X86_64) Build ID: 6704b8bb59050ba9867637d93c16e3e7163983f5 CPU threads: 32; OS: Linux 6.17; UI render: default; VCL: gtk3 Locale: en-CA (en_CA.UTF-8); UI: en-US Calc: threaded
Created attachment 205404 [details] LO 26.8 nightly on the attachment 90695 [details] (DOC) vs attachment 90696 [details] (DOCX) Adding comparative screenshot pair from the latest build: Version: 26.8.0.0.alpha0+ (X86_64) Build ID: 73a558942d519bd72ef8fb8891ceae559654cd6a CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3 Locale: en-IL (en_IL); UI: en-US Calc: CL threaded
If we look at the first paragraph in both files, we see: Indent First Line spacing DOC 2.5 cm -2.5cm DOCX 2.5 cm -0.76cm And I note that 0.76cm is about 0.3".
I was able to reproduce the bug in both of the current stable and master versions. Additionally the stable and master versions had different results from one another. Version: 26.2.1.2 (X86_64) Build ID: 620(Build:2) CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded Version: 26.8.0.0.alpha0+ (X86_64) Build ID: 680(Build:0) CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
Created attachment 205927 [details] Results Screenshot I added an image comparing the different results of loading the DOC and DOCX files on the stable and master versions.