Ask Your Question
0

Writer smart automatic formatting [closed]

asked 2013-04-09 11:43:32 +0200

Chris Vella gravatar image

updated 2013-04-10 11:51:05 +0200

Is there a smart way (extension, macro, etc) to apply automatically header paragraph styles to a Writer document where header where manually formatted using bold, indents and numbering for example?

The reason for this is to be able to create a table of contents.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-10-29 16:06:33.311324

2 Answers

Sort by » oldest newest most voted
0

answered 2013-04-10 12:20:38 +0200

ROSt52 gravatar image

To create a table of contents you only need to place the cursor where you want the Table-Of-Contents and go to

insert / index and table / index and table

There you find all concerning the format and layout of the TOC.

Just try the default and later you can make adjustments.

If you need the same format more often I recommend to make a template containing all formats you need.

It is helpful to have a look at:

https://help.libreoffice.org/Writer/Defining_Index_or_Table_of_Contents_Entries

https://help.libreoffice.org/Writer/Templates_and_Styles

https://help.libreoffice.org/Writer/Styles_in_Writer

edit flag offensive delete link more

Comments

The problem is that Libreoffice uses paragraph styles to set TOC entries. If someone didn't use paragraph styles to format the document then it seems LO cannot try to "guess", from manual formatting (bold, italic, font size, indent), what entries to add.

Chris Vella gravatar imageChris Vella ( 2013-04-11 10:57:47 +0200 )edit
0

answered 2013-04-09 15:21:42 +0200

ROSt52 gravatar image

updated 2013-04-09 15:24:17 +0200

Select the text and do crtl+m or right click and select "clear direct formating"

You will get then the format, which is stored in the related style of the style window. (F11 or the related icon).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-09 11:43:32 +0200

Seen: 330 times

Last updated: Apr 10 '13