When a Table of Contents with 2 or more columns gets saved in Writer as docx and refreshed it changes to a single column ToC.
Steps to Reproduce:
1. Open Writer.
2. Create a text with some headings so a ToC has something in it.
3. Insert→ Table of Contents and Index→ Table of Contents, Index or Bibliography...→ Columns- > Change it to 2 column ToC.
4. Save as odt and docx.
In the docx saved file the ToC has a single column while in the odt it has the specified one.
Expected results: The ToC should have the same column number even after saving as docx.
User Profile Reset: No
Created attachment 149251 [details]
The docx saved file.
Created attachment 149252 [details]
The .odt saved file
Created attachment 149253 [details]
Screenshot of the odt and docx side by side in Writer.
ID сборки: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
Потоков ЦП: 4; ОС:Windows 6.1; Отрисовка ИП: по умолчанию; VCL: win;
Локаль: ru-RU (ru_RU); UI-Language: ru-RU
Confirm behavior doesn't mean it's bug (New).
This looks like "NotOurBug" to me because I don't see that MSO supports multiple columns in ToC.
But I change to NeedInfo to confirm for DOCX format. If not confirmed, please don't set back New.
Created attachment 149265 [details]
TOC with two columns from Word 2013
It's not so trivial to set up two (and more) columns of ToC in Word, but certainly possible inside the ToC object.
There is also this neat tutorial about setting it up:
Created attachment 149266 [details]
Screenshot of the two column ToC in Word and Writer
Build ID: f22ce685260b8b7b792f1f132472c88c6b655589
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win;
Locale: hu-HU (hu_HU); UI-Language: en-US
Created attachment 149267 [details]
ToC on a page with two columns from Word
Another example: set the whole doc to two columns and insert a ToC in Word. The ToC object respects the column widths.
Created attachment 149268 [details]
Screenshot of the Toc in two columns in Word and Writer side by side
attachment #149267 [details] : in Writer the ToC object does not respect column width around it.
Maybe this is actually two bugs, I'm not sure.
However it is currently not possible to correctly open (or create) a DOCX in LO with:
- two columns inside a ToC (attachment #149265 [details])
- a ToC inside two columns (attachment #149267 [details])
OK. Then it's from LO 3.3. I'm not sure it will work both ways.
(In reply to Gabor Kelemen from comment #6)
> Created attachment 149265 [details]
> TOC with two columns from Word 2013
> It's not so trivial to set up two (and more) columns of ToC in Word, but
> certainly possible inside the ToC object.
> There is also this neat tutorial about setting it up:
But it isn't option for TOC
(In reply to Roman Kuznetsov from comment #12)
> But it isn't option for TOC
... and you know what: the 2-column layout is discarded if you refresh the ToC in Word then. Well - you can avoid that, if you select not only the ToC entries, but also the following empty paragraph inside the "smart tag" frame - making the 2-column section outside of the ToC field (and include that empty paragraph, making even-number-of-entries ToC distributed badly); that also might be "fixed" by following deletion of the extra paragraph ... but even that is not enough: the manual paragraph right tab settings are also reset, and the page number is moved outside of the visible area. Last resort is using a different separating character instead of the TAB in the ToC - like space or em dash - which is not the same.
So - multicolumn ToC is really a feature not supported by Word. FTR, there is the list of field codes in Word , which includes ToC field codes.
My take is NOTOURBUG, following comment 5.
*** Bug 143501 has been marked as a duplicate of this bug. ***