We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

How do I make a Running Header with two different Chapter Fields [closed]

asked 2017-03-01 14:58:14 +0200

Eve gravatar image

updated 2020-09-26 11:48:48 +0200

Alex Kemp gravatar image

Hey there,

I'm using LO version on Windows 10. I am currently writing a manual, and I would like to have the header display the Chapter name, followed by the "Sub"-Chapter name (so one level lower). For example:

Introduction > How to make a running header

  1. Introduction

1.1 How to make a running header

Now, I know how to use styles for text, and how to use fields. But as far as I found out, the field in the header will always use the first chapter level on the page, no matter what (so the header would be Introduction > Introduction, which is quite useless).

I also read that a workaround for this is to use a frame that you place into the header, where your second chapter field would be, and fill it with this field (sorry, the page is German: [http://www.ooowiki.de/KopfZeile(2f)Le...] ). For this, apparently you have to anchor the frame to the paragraph with the respective chapter title. Now when I do so, I cannot move the frame into the header, because then the anchor will move into the header as well and the field will display the first chapter title again. When I tell the frame to be positioned beforehand, I cannot access the frame anymore. Sometimes, somehow, I will get access to the content, but I can never change the position once the frame is in the header (no matter if positioned there initially or dragged there). I read that it can be due to how the text flows around the frame, but it did not change no matter which option I chose.

Does anyone have an idea how to solve that problem? I searched this page, several wikis, the help, and google, and I could not find a solution. It particularly confuses me that even the workaround does not work. So thanks in advance for your help!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-09-26 11:49:07.187340

2 Answers

Sort by » oldest newest most voted

answered 2017-03-01 17:28:31 +0200

RGB-es gravatar image

I think your problem is an old one: the header takes information from the previous pages or, at maximum, from the very first line of the current page, not from its "body". In fact, if you have a heading (any level) below that first line the header will not "see" it until the next page. On the other hand the footer will see that heading in the middle of the page without a problem so here there is the only workaround I know for this issue: anchor a frame to the footer, move the frame up to simulate a header and insert on that frame the corresponding fields.

Advice: do not position the frame by hand, use the frame properties. If you don't mind the Spanish screenshot:

image description

Also, give the frame a name so you can easily pick it from the Navigator: trying to select a frame anchored to a header or footer can be frustrating sometimes...

edit flag offensive delete link more

answered 2017-03-01 17:25:17 +0200

floris v gravatar image

Insert the frame, then drag it to its destination position. When you want to change the properties of the frame once it's over the header area, press F5 to open the Navigator, right click the frame, then select Text frame - Edit.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-03-01 14:58:14 +0200

Seen: 171 times

Last updated: Mar 01 '17