HELP! Having massive problems creating a table of contents in openoffice!

Asked by Ruth Edmonds

Help!!

Every time I come to create a table of contents, it creates it with the actual text body reproduced in the table of contents with page numbers instead of using the headings!

I have gone through the document, checked all the headings to make sure they are labelled as headings (e.g Heading 1, heading 2 etc...) and made sure that the text is all labeled as text body but it is still ignoring the headings and using the text body for the table of contents!!

I need the table of contents to use the headings not the text!

Help urgently required!

Thanks!!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu openoffice.org Edit question
Assignee:
No assignee Edit question
Solved by:
Tony Pursell
Solved:
Last query:
Last reply:
Revision history for this message
Best Tony Pursell (ajpursell) said :
#1

Hi Ruth

Put the cursor on the heading/text in the document. Headings should have a style of 'Heading..' and the text below it should not have a Heading style. For instance, in the one document I have with a TOC, the headings are all 'Heading 1' and the text below them are all 'Default'. I also have a paragraph mark at the end of each heading

I can email a copy of it to you if you want to see it - it's not a personal document. If you want that, send me a message via my profile page (click on my name).

I notice you are using the Text Body style. This is a Conditional Style - this is what Help says about Conditional Styles:

"Conditional styles are paragraph styles that have different properties depending on the context."

So go to Format > Styles and Formatting, right click on the Text Body style and select Modify, then go to the Condition tab. Do you have any Applied Styles? If you do, you may need to remove them.

Hope this helps

Tony

PS If this answers your question, please mark it as Solved

Revision history for this message
Ruth Edmonds (ruthedmonds) said :
#2

Thanks Tony Pursell, that solved my question.