<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FORMATTING, IMPORT: TOC style is inherited incorrectly"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113568">113568</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FORMATTING, IMPORT: TOC style is inherited incorrectly
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.3.7.1 rc
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alex@chumakov.ru
</td>
</tr></table>
<p>
<div>
<pre>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)
<a href="http://take.ms/0XZJO">http://take.ms/0XZJO</a> - right rendering (Word 2010)
<a href="http://take.ms/mzuLf">http://take.ms/mzuLf</a> - style TOC 3 is based on TOC 2 for indents and tabs
<a href="http://take.ms/iJ4ux">http://take.ms/iJ4ux</a> - the same style in Writer (spacing and tab are lost)
<a href="http://take.ms/pALoi">http://take.ms/pALoi</a> - 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>