Top margin space for TOC link

Hi, Everyone

This is not particularly a major problem but I was wondering if there’s a way to adjust the margin/padding on a TOC linking. I figure the following images illustrate this quickly:

I made a test page with Lorem Ipsum and as can be seen on the panel there is main, sub 2, and sub 3.

The image above is when you first open the PDF in the browser. It’s got a margin of space above the heading.

But then if you go to sub 2 and then return to main you get the heading with only a few pixels of margin at top. (I was going to put in an image of this but as a new poster I’m only allowed one.)

Of course, this isn’t just with main since on all the subs you get the heading just a few pixels from the top.

Is there anywhere on the settings that some adjustment could be made to for the headings to have some space above them?

Thanks for any suggestions in advance.

Daniel

Please state your operating system, the LibreOffice version and in which file format you are saving.
In order to be able to investigate the problem described, please upload an original file here. Anonymize and shorten the file to about 3 pages in which the problem is present. Thank you very much.

Are you sure this is a LO issue? It looks like a problem (which one exactly?) in the PDF viewer.
Answer @Hrbrgr’s request for information and attach a sample file.

When you open the PDF first, you see the first page, from the top of it (including top margin).

When you scroll down, and then click on the “MAIN HEADING” link, you return to the point in text, which is the text of the heading. Not to the top of its page - indeed, this would make no sense, since then you would have problems moving to an entry that is not the first on its page.

I don’t see what is wrong in the behavior that you see; or why would anyone have different expectations.

1 Like