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)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-TableofContents
  Show dependency treegraph
 
Reported: 2022-02-28 15:03 UTC by Regina Henschel
Modified: 2023-06-08 18:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


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

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.

Error:
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.

Error:
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
Reproducible.
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: 7.2.6.1 (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