To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=92191 Issue #|92191 Summary|generating table of contents from outline fails if mul |tiple styles per outline-level Component|Word processor Version|OOo 2.4.1 Platform|PC URL|http://www.madore.org/~david/.misc/OdfTOCTest.odt OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|editing Assigned to|mru Reported by|gro_tsen
------- Additional comments from [EMAIL PROTECTED] Sun Jul 27 17:46:04 +0000 2008 ------- In brief, the way OOo handles the text:outline-level attribute in the OpenDocument format contradicts the spec. * If an OpenDocument text file contains several headers with the same text:outline-level but belonging to different named styles, (re)generating a table of contents from the outline fails as follows: OOo seems to pick the first named style it encounters for each outline-level and uses only that style for that outline level, ignoring all other headers with the same outline-level but different named styles. This contradicts §4.1.1 and §7.3.1 of the OASIS OpenDocument spec v1.1 as I read it. * Worse, if the document is saved, the specified outline-level attributes are lost except for those which actually made it into the TOC. NOTE: I have described this bug as a defect in handling the OpenDocument format. But it can also be seen as a defect in the OOo UI itself: it is clear from the table of contents dialog's "create from outline" that several styles cannot simultaneously make it to the same outline level. However, as such, this bug can be worked around: use "additional styles" instead. But this workaround does not help when reading a conforming OpenDocument file, and it causes its own problems (such as issue 3356 - which is probably related to this one, but different). STEPS TO REPRODUCE: Open <URL: http://www.madore.org/~david/.misc/OdfTOCTest.odt > (which was generated directly in XML) in OOo writer. Right click on table of contents and choose "Update Index/Table". Only the "Table of Contents" header itself appears, whereas the "Foobar" and "Bazqux" headers should also appear. Bug seems to be present in OOo 3.0 snapshots. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]