Upon import from MS Word 2010 (other versions apply, too):
1. What's wrong:
Contents styles(TOC 1...9, "Оглавление 1...9" in Russian, English name may be Contents etc.) are formatted incorrectly if inherited from other styles (e.g. TOC 3 is derived from TOC 2).
It looks like Writer always treats them as derived from 'Normal' style.
2. Steps to reproduce
- open MS Word style editor (Ctrl-Shift-Alt-S)
- Edit 'TOC 2' style
- Change inheritance to 'TOC 1'
- Create TOC, apply some formatting, e.g. tabulation and indents
- Open your document in Writer
- Your formatting is lost for the style
3. Examples (in Russian, but they're easy to understand)
http://take.ms/0XZJO - right rendering (Word 2010)
http://take.ms/mzuLf - style TOC 3 is based on TOC 2 for indents and tabs
http://take.ms/iJ4ux - the same style in Writer (spacing and tab are lost)
http://take.ms/pALoi - TOC 3 is based on TOC 2 in Writer, so inheritance isn't lost but is imported incorrectly
If there is no inheritance, TOC is displayed OK.
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it.
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Please respond and attach the docx file.
Dear Bug Submitter,
Please read this message in its entirety before proceeding.
Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):
a) Provide details of your system including your operating
system and the latest version of LibreOffice that you have
confirmed the bug to be present
b) Provide easy to reproduce steps – the simpler the better
c) Provide any test case(s) which will help us confirm the problem
d) Provide screenshots of the problem if you think it might help
e) Read all comments and provide any requested information
Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:
a) respond via email
b) update the version field in the bug or any of the other details
on the top section of our bug tracker