Справка LibreOffice 24.8
Before you can insert chapter information into a header or footer, you must first set the chapter numbering options for the paragraph style that you want to use for chapter titles.
Choose tab.
In the box, select 1.
In the box, select the paragraph style that you want to use for chapter titles, for example, Heading 1.
Select the numbering scheme for the chapter titles in the box, for example, 1,2,3....
Type Chapter followed by a space in the box.
Enter a space in the box.
Нажмите кнопку ОК.
Примените стиль абзаца, определённый для заголовков глав, к заголовкам глав в нужном документе.
Choose or , and then select the page style for the current page from the submenu.
Щёлкните верхний или нижний колонтитул.
Выберите команду и перейдите на вкладку .
Click Heading in the list, Heading number and contents in the list, and 1 in .
Нажмите кнопку Вставить, затем кнопку Закрыть.
Теперь в верхнем колонтитуле каждой страницы, где используется текущий стиль страницы, будут автоматически отображаться название и номер главы.