Apache OpenOffice (AOO) Bugzilla – Issue 61977
List style from paragraph style not assigned in text anymore in OO2.0.0 document
Last modified: 2017-05-20 11:15:13 UTC
I am working on xlst filters of docbook2odf (http://docbook2odf.sourceforge.net) and I have encountered interesting situation after upgrading to OpenOffice 2.0.1. I used to make numbered heading sections like following: <text:h text:outline-level="1" text:style-name="Heading1"> <text:number>1</text:number>First section (1) </text:h> <style:style style:family="paragraph" style:class="text" style:list-style-name="listH" style:name="Heading1" style:display-name="Heading 1" style:default-outline-level="1"> <style:paragraph-properties text:number-lines="true" text:line-number="1"/> </style:style> <text:list-style style:name="listH"> <text:list-level-style-number text:level="1" text:style-name="numbering1" style:num-suffix="." style:num-format="1"/> <text:list-level-style-number text:level="2" text:style-name="numbering1" style:num-suffix="." style:num-format="1" text:display-levels="2"/> </text:list-style> In previous version of OpenOffice it worked perfectly, but after my upgrade to 2.0.1 version it is not showing numbers. I found out that when I try to number the headings then OpenOffice is making <text:list> tags around them, in case of <text:h> it is actually making more levels of <text:list> to artificially create correct numbering in actual depth. (ugly hack) Considering section 4.1.1 of "Open Document Format for Office Applications (OpenDocument) v1.0" <text:h> numbering should be working. I tried to wrote document in KOffice with numbered headings, saved it and opened it in OpenOffice 2.0.1 and numbers are missing again.
MRU->ABEN: Could you please attach a short document showing the problem to this issue? This would ease our work very much. Thanks a lot!
Created attachment 34723 [details] Example with missed section numbering (try it please first in OO 2.0.0 and after in OO 2.0.1)
MRU->OD: the list style assigned to the Heading styles is not shown anymore in the text when the document is opened in OO 2.0.2. The listv style is still assigned to the Heading styles, but not to the paragraphs in the text. Selecting "Format.Default" on such a paragraph workarounds the problem.
accepted. Defect cause: re-factoring of outline numbering in XML import doesn't consider this situation - method <XMLTextImportHelper::SetStyleAndAttrs(..)> has to be adjusted.
retarget to OOo 2.x, because deadline of OOo 2.0.3 missed.
see also Issue 27424 and the many import/export issues referenced therein
This is a serious issue when converting from DocBook to ODF and I can imagine lots of other people also spend time fixing this manually within the document (every time). Could this be taken care of, please ? I spend tens of hours both looking at the generated ODF files as well as fixing my titles manually. Now that it appears to be a known problem that was failed to be fixed in a release, it makes it just worse...
A fix for this issue is planned for target OOo 2.x, which means that at least in OOo 3.0 it will be fixed.
My post here was not one because of impatience, but rather one for confirmation that the next release in fact fixes this. Since this bug was reported and accepted there have been many possibilities to fix this: 2.0.3 June 29, 2006 2.0.4 October 13, 2006 2.1.0 December 12, 2006 2.2.0 March 28, 2007 Included a security update; Reintroduced font kerning[16] 2.2.1 June 12, 2007 2.3.0 September 17, 2007 Updated charting component and I had hoped that giving it some more attention (and maybe follow-up this bug report after every new release that goes without a fix).
I'm sorry, that this issue isn't already fixed. But, due to other more important defects, features and enhancement I didn't got the time to solve it.
according to release status meeting -> 3.x
setting keyword "numbering"
Reset assigne to the default "issues@openoffice.apache.org".