Version-Release number of selected component (if applicable): openoofice.org-{2.1,2.2,2.3} How reproducible: 1. create table of content 2. create some headings 3. set numbering style on these headings 4. update table of content Actual results: c that headings are missing in TOC Expected results: TOC should contain all headings
Really ?, works fine for me. Can you attach an example of a document where it is not working.
Created attachment 255301 [details] example
right clicking in the toc I see that, as normal, the toc is generated from "outline" and "index marks", checking under "tools outline->numbering" I see that Level 1 is "none", and "Heading 1" does not appear under any level, so that's why it is not considered for putting into the TOC. The default situation is that Heading 1 is in that list so it has been moved away from the defaults. Attached is the same doc with your outline numbering fixed, alternatively you could use "additional styles" in the TOC to add Heading 1 in there as well, but that's an unusual way to do it generally.
Created attachment 255321 [details] fixed document
Created attachment 255331 [details] that's what I see
(In reply to comment #3) > right clicking in the toc I see that, as normal, the toc is generated from > "outline" and "index marks", checking under "tools outline->numbering" I see > that Level 1 is "none", and "Heading 1" does not appear under any level, so > that's why it is not considered for putting into the TOC. Sure. > The default situation > is that Heading 1 is in that list so it has been moved away from the defaults. How? I didn't do it. > Attached is the same doc with your outline numbering fixed, ... c my screenshot
Please look at your tools->outline numbering->numbering dialog.
OK, I can use numbering dialog in outline numbering and than update the TOC. But can you explain why, heading with numbering style is problem for TOC? Because this sounds like a bug to me? It used to work fine in oo-1.0.4.
Section 7.7 of http://specs.openoffice.org/writer/numbering/NumberingBullet1.sxw "The following exceptions exist (but did not exist in OO.org 1.1): If a paragraph has a numbering/bullet assigned, it will not be counted in the chapter numbering" So that the default OOo numbering mechanism is exportable to msoffice.
fine, I understand to it now, thnx. :-)