Bug 31379 - wrong headline number in table of contents
Summary: wrong headline number in table of contents
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 04:56 UTC by Samuel V.
Modified: 2014-10-23 17:32 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Example for the Bug (22.83 KB, application/vnd.oasis.opendocument.text)
2010-11-09 05:49 UTC, Samuel V.
Details
TOC Example (22.62 KB, application/vnd.oasis.opendocument.text)
2012-06-03 03:59 UTC, rojanu
Details

Description Samuel V. 2010-11-04 04:56:35 UTC
If I create a table of contents before the first headline when the contents of the table are not taken from the capital-numbering, but from other templates, the table of contents starts with #2, not one.
Maybe it's better, to show you the file and hope, you can reproduce this bug.
Find the file attached and have a look at the second line in the table of contents. (number should be ยง2)
Sry for my bad english, I can't describe this bug better :(
Comment 1 Samuel V. 2010-11-04 04:59:27 UTC
edit: the number of the second line in the table of contents on my pc is 2, but should be 1.... Describes this situation better.
But maybe, you get a correct number in the second line in the table of contents
Greetings
Sam
Comment 2 Samuel V. 2010-11-09 05:49:13 UTC
Created attachment 40146 [details]
Example for the Bug

You can see the problem in the table of contents. The first headline "Allgemeines" has number "B". But in the document it's number "A"
This headline doesn't belong to the outline of the document. It's only some kind of parting the document in smaller pieces for better looking.
But I said, the table of contents shall contain it by "create table of contents from outline -> yes" and "create table of contents from other templates -> yes".
Maybe this is a little more helpful.
Comment 3 Petr Mladek 2010-11-12 11:52:13 UTC
I see the problem as well. The document is a bit strange:

1. "View/Navigator" does not list (A), (B), ... entries as headings.
2. "Tools/Outline Numbering..." has the paragraph style "Heading 2" for
   the level "1"

I am not Writer expert but I think that the above settings affect the table of content generation. I do not understand how it was supposed to work.

Anyway, I was not able to fix it by modifying "Tools/Outline Numbering..."

Cedric, it might be for you.
Comment 4 Samuel V. 2011-01-22 18:56:43 UTC
Are there some news about this bug? If it's helpful to explain the (wished/requested) outline of the document, I would welcome the chance, to explain it, if there are some questions. Didn't tested the document with actual RC, so maybe the bug is also fixed.
But I was just clearing up my pc, and stumbled over the example file for the bug.. So let me know, if I can help, or test something...

Best regards,
Samuel
Comment 5 Roman Eisele 2012-05-03 04:37:07 UTC
This is a Writer bug, right? Therefore changed 'Component'.
Comment 6 rojanu 2012-06-03 03:59:30 UTC
Created attachment 62443 [details]
TOC Example

I have hit the same bug on Ubuntu 12.04 LibreOffice 3.5.3.2
Comment 7 Roman Eisele 2012-06-04 02:37:38 UTC
If comment #6 is right, this is a cross-platform bug, therefore changed the Platform field accordingly.
Comment 8 Roman Eisele 2012-07-21 15:14:09 UTC
Still REPRODUCIBLE with both sample documents and LibreOffice 3.5.5.3 (Build-ID: 7122e39-92ed229-498d286-15e43b4-d70da21), German langpack installed, on MacOS X 10.6.8 (Intel).
Comment 9 Samuel V. 2013-03-10 23:44:29 UTC
Still REPRODUCIBLE with LibreOffice 4.0.1.2 (Build ID: 84102822e3d61eb989ddd325abf1ac077904985) on Windows 7 x64
Comment 10 bfoman 2013-07-24 12:04:51 UTC
This bug has not been touched by its Assignee for a long time. To make it clearer which bugs should be fixed by someone else please take following action:
- If you are the Assignee, and you are actively working on the bug, please give it an update. 
- If you are the Assignee, and you do not plan to work on it in the near future,
please reassign it to the default assignee.
Comment 11 QA Administrators 2014-10-23 17:32:03 UTC
Please read this message in its entirety before responding.

Your bug was confirmed at least 1 year ago and has not had any activity on it for over a year. Your bug is still set to NEW which means that it is open and confirmed. It would be nice to have the bug confirmed on a newer version than the version reported in the original report to know that the bug is still present -- sometimes a bug is inadvertently fixed over time and just never closed.

If you have time please do the following:
1) Test to see if the bug is still present on a currently supported version of LibreOffice (preferably 4.2 or newer).
2) If it is present please leave a comment telling us what version of LibreOffice and your operating system.
3) If it is NOT present please set the bug to RESOLVED-WORKSFORME and leave a short comment telling us your version and Operating System

Please DO NOT
1) Update the version field
2) Reply via email (please reply directly on the bug tracker)
3) Set the bug to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:
https://wiki.documentfoundation.org/QA/BugTriage

There are also other ways to get involved including with marketing, UX, documentation, and of course developing -  http://www.libreoffice.org/get-help/mailing-lists/. 

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.