Bug 147696 - FILESAVE DOCX Index entries of alphabetic index are wrongly exported to docx
Summary: FILESAVE DOCX Index entries of alphabetic index are wrongly exported to docx
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: DOCX-TableofContents
  Show dependency treegraph
Reported: 2022-02-28 15:03 UTC by Regina Henschel
Modified: 2022-03-04 10:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:

Testdocument with alphabetic index (38.03 KB, application/vnd.oasis.opendocument.text)
2022-02-28 15:03 UTC, Regina Henschel

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2022-02-28 15:03:07 UTC
Created attachment 178580 [details]
Testdocument with alphabetic index

Open attached document and export it to docx. Open the docx file in Word.

The part, which is an index entry in odt, is not shown in Word. The index entry itself is not visible in Word, but Word needs the original text _and_ the {XE ... } item.

Update the index. The items in the index are grouped, but are not grouped in odt.

Word uses the : as grouping sign. So if an index entry in odt contains a :, it has to be escaped in the {XE ...} item.
Example: Instead of
   { XE "draw:style-name" }
it has to be
   { XE "draw\:style-name" }
Comment 1 m.a.riosv 2022-02-28 18:36:37 UTC
Right-click on the index with word, offers to update field, which works but not like in LibreOffice, and there it's not 'table of contents to update'
Version: (x64) / LibreOffice Community
Build ID: ce99d6a58f9368279ff1495b5b367eb64343b26c
CPU threads: 4; OS: Windows 10.0 Build 21390; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL