Source: https://www.openoffice.org/documentation/HOW_TO/word_processing/HowTo_Create_and_Maintain_a_TOC.pdf