https://bugs.documentfoundation.org/show_bug.cgi?id=153082

            Bug ID: 153082
           Summary: FILEOPEN DOCX List separator not considered with TOC
                    using custom styles
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: kelem...@ubuntu.com
            Blocks: 104524

Created attachment 184730
  --> https://bugs.documentfoundation.org/attachment.cgi?id=184730&action=edit
TOC with custom styles, using comma as list separator

Attached example documents were made in Word with different list separator
settings set in Windows control panel - Locale - More settings.
The TOC in these files use custom styles: Intense Quote, Custom1 and _MyStyle0. 
Writer uses the list separator to separate these and their level settings.

When the first file using comma as list separator is opened in Writer, the TOC
is imported and saved correctly: Update Index does not change the index
significantly.
When the second file using semicolon as list separator is opened in Writer,
that is not considered and the 3 styles are listed as one in the TOC
Additionaly styles settings. Consequently the Update Index command empties the
index.

1, Open first example file
2, Right click the TOC, Edit Index
3, Press Assign styles button, observe that the _MyStyle0 has the heading level
1, Custom1 has the heading level 2, Intensives Zitat (file was made in a German
UI Word - should be Intense Quote, this is a separate issue) has the heading
level 3.
4, Open the second example file
5, Right click the TOC, Edit Index
6, Observe there is an entry in the Styles list "Intensives
Zitat;3;Custom1;3;_MyStyle0;3"

The latter to work, Writer should look into the word/settings.xml and extract
the <w:listSeparator w:val=";"/> and use this as list separator to interpret
the TOC.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f1830bff71847a9c17715cff52383956719847fe
CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104524
[Bug 104524] [META] DOCX (OOXML) Table of Contents (ToC) and Index related
issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to