https://bugs.documentfoundation.org/show_bug.cgi?id=134743
--- Comment #19 from Frank Zimmerman <[email protected]> --- I just tested this with the latest LibreOffice. There still is a problem. First I will give you my install info: Version: 26.2.1.2 (X86_64) Build ID: 620(Build:2) CPU threads: 12; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded I will attach my four testing docs (3 ODT, 1 DOCX). They are very simple, made just for this test: 01 08-2026 Contents-Indenting-original-test.odt This has two headings and two subheadings. There is a simple Table of Contents inserted which has a right indent ("After text") of 0.20" applied to "Contents 2" style, and "Tab position relative to paragraph style indent" is checked in the Table of Contents dialog. So the subheadings in the Contents are indented on the left and right. 02 08-2026 Contents-Indenting-broken-after-Docx-import.odt This is the same document, after inserting a sample Docx file on a new page, using the "Insert->Contents from Document..." command. The right indenting on the Contents is now broken. 03 08-2026 Contents-Indenting-broken-now-fixed.odt This is the broken document after a "fix" has been applied, and right indenting in the TOC is restored. Details on the "fix" below. 04 08-2026 Plain Word docx.docx This is a very simple Word doc, created for this test, with only two lines of text in it. I can confirm that the two properties in the Settings.xml, "TabOverMargin," and "TabsRelativeToIndent" are no longer a problem. The Word Doc import does not break these, at least not with my sample DOCX file. But the property "TabOverSpacing" is still a problem. After the Word Doc import, this property is changed from "false" to "true" and that breaks the right indent in the TOC. Unzipping the ODT, editing Settings.xml, and changing this property back to "false" fixes the TOC indenting. -- You are receiving this mail because: You are the assignee for the bug.
