Ask Your Question
0

How to add header without breaking document layout? [closed]

asked 2016-09-14 20:01:39 +0100

regs gravatar image

updated 2016-09-14 20:01:58 +0100

Every time i add something into header in Writer it moves text down. How to edit headers without breaking page margins?

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-12 10:01:33.224276

3 Answers

Sort by » oldest newest most voted
0

answered 2016-09-15 08:31:19 +0100

pierre-yves samyn gravatar image

Hi

Maybe I do not understand the question correctly, but you can set a fixed size for the headers (and footers): FormatPageHeader tab▸untick AutoFit height▸set Height.

If the typed text is too big for the area, a small red triangle at the right-end of the header indicates that the text continues.

Regards

edit flag offensive delete link more
1

answered 2016-09-15 08:58:29 +0100

ajlittoz gravatar image

To use fixed size header/footers, got to the Header or Footer tab of the page style (either right-click on the style name in the styles panel or Format->Page... for direct formatting).

Uncheck AutoFit height and set the required height in the box labelled Height.

Header/footer text will be clipped to this fixed area.

With Use dynamic spacing unchecked, set Spacing to the amount of space between the bottom of the header area and the top of the text area (or the symmetric spacing for the footer).

You may have to experiment with setting the top and bottom margins to position exactly your header/footer where they are expected to be.

Left/right margins are less difficult to set: the page style margins define the overall presentation. Paragraph-global indent spacing is set with paragraph-local margins (aka. Before text and After text).

If this solves your question, please check the tick mark at left and close the question. If you are satisfied with the answer, be kind enough to upvote it.

edit flag offensive delete link more

Comments

That's a bit complicated. And still, even then, wouldn't you need to print a document many times to adjust it with ruler?

I found a bug https://bugs.documentfoundation.org/s...

regs gravatar imageregs ( 2016-09-18 11:58:11 +0100 )edit
0

answered 2016-09-14 20:45:37 +0100

floris v gravatar image

You can't. Or rather, you don't break the page margins. Page margins are the space surrounding the text on a page, including headers and footers. IIRC headers and footers are put in the margins in MS Word, but in Writer they belong to the text, and therefore they don't sit in the margins. So, when you intend to have headers and/or footers in your document, and you are finicky about the exact formatting, make sure to enable them as soon as possible. That way you won't be unpleasantly surprised when your text starts moving across pages because there's less room for it.

edit flag offensive delete link more

Comments

Moreover, don't rely on manually inserted void paragraphs to achieve layout, just like at typewriter era. If a user changes paper format (say from A4 to Legal), this will surely break your layout. Prefer the outline styles (Heading x), paragraph style indents & spacing, text flow attributes (keep with next paragraph, don't split paragraph), ... so that the relationship between paragraphs is kept as you intended even if geometric printer factors are changed.

ajlittoz gravatar imageajlittoz ( 2016-09-14 23:33:48 +0100 )edit

The law specifies how much document body should have a margin from the edge of the page. In exact millimeters. Not less, not more. Headers and footers have own rules. With this system it's simply impossible to make a document that comply with the law. 1 mm out of standard and document is legally invalid.

Should i then file a bug?

regs gravatar imageregs ( 2016-09-15 08:20:54 +0100 )edit

If it is a matter of overall dimensions (mainly margins and header/footer sizes), I think designing a template with page, paragraph, character styles is enough. Since the document is produced in legal context for a definite audience (restricted to a single country), it is then highly unlikely that somebody will fancy to change any parameter. As I better understand your concern, see my answer.

ajlittoz gravatar imageajlittoz ( 2016-09-15 08:43:06 +0100 )edit

Question Tools

1 follower

Stats

Asked: 2016-09-14 20:01:39 +0100

Seen: 1,740 times

Last updated: Sep 15 '16