Issue 61977 - List style from paragraph style not assigned in text anymore in OO2.0.0 document
Summary: List style from paragraph style not assigned in text anymore in OO2.0.0 document
Status: ACCEPTED
Alias: None
Product: Writer
Classification: Application
Component: viewing (show other issues)
Version: OOo 2.0.1
Hardware: All All
: P3 Trivial with 4 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: numbering
Depends on:
Blocks:
 
Reported: 2006-02-13 08:31 UTC by aben
Modified: 2017-05-20 11:15 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Example with missed section numbering (try it please first in OO 2.0.0 and after in OO 2.0.1) (8.71 KB, application/vnd.oasis.opendocument.text)
2006-03-10 10:36 UTC, aben
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description aben 2006-02-13 08:31:26 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.
Comment 1 michael.ruess 2006-03-09 15:21:14 UTC
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!
Comment 2 aben 2006-03-10 10:36:11 UTC
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)
Comment 3 michael.ruess 2006-03-10 14:47:29 UTC
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.
Comment 4 Oliver-Rainer Wittmann 2006-03-14 11:13:21 UTC
accepted.

Defect cause:
re-factoring of outline numbering in XML import doesn't consider this situation
- method <XMLTextImportHelper::SetStyleAndAttrs(..)> has to be adjusted.
Comment 5 Oliver-Rainer Wittmann 2006-05-15 12:00:24 UTC
retarget to OOo 2.x, because deadline of OOo 2.0.3 missed.
Comment 6 ralfhauser 2007-05-20 12:29:53 UTC
see also Issue 27424 and the many import/export issues referenced therein
Comment 7 dagwieers 2007-10-09 11:59:11 UTC
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...
Comment 8 dagwieers 2007-10-09 12:00:02 UTC
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...
Comment 9 Oliver-Rainer Wittmann 2007-10-09 12:53:03 UTC
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.
Comment 10 dagwieers 2007-10-10 13:58:49 UTC
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).
Comment 11 Oliver-Rainer Wittmann 2007-10-10 14:32:47 UTC
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.
Comment 12 Mathias_Bauer 2007-12-03 14:48:32 UTC
according to release status meeting -> 3.x
Comment 13 jr 2009-10-18 20:25:02 UTC
setting keyword "numbering"
Comment 14 Marcus 2017-05-20 11:15:13 UTC
Reset assigne to the default "issues@openoffice.apache.org".