Add column names in Table of Contents

How do I add column names to table of contents such that there is “Content” and also “Page” column names to it?

What it look like at the moment: Imgur: The magic of the Internet

Expected output (notice the content in red circle): Imgur: The magic of the Internet

Filetype: odt
Version: 7.0.6.2
Build ID: 00(Build:2)
CPU threads: 4; OS: Linux 5.12; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
7.0.6-3
Calc: threaded

Please edit your description to give an example of the expected result. Describe also what the original text page looks like (what is the column name?).

Please do not use Add Answer but edit your original question to enhance the details of your question (answers are reserved for solutions to a problem on this Q&A site).

IMHO, this is not a TOC but some kind of “meta-TOC” because it lists “Table of contents…iii” as part of the list and the “real TOC” seems to start after the “List of abbreviations…viii” (plural is preferable) without page break.

Such short “meta-TOC” should be created with cross-references. You can put it into an ordinary Writer table (without borders) to simplify formatting. Then it is easy to put column headings n the first row. Cross-references can capture text as well as page number or chapter number. Thus there is no difficulty to get what you want.

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer which is reserved for solutions) or comment the relevant answer.

You can uncheck the checkbox Protected against manual changes in the options for Table of Contents, but I think the easiest way is not to use the Title in the Table of Contents and create own Title etc. Example is here example-rejstrik.odt