# How do I make "sideways" headers and footers?

I want to make a Portrait layout Writer document with the occasional Landscape page, but when the document is printed and bound I want all the pages in Portrait, such that the Landscape pages are sideways in the binding. I want the headers and footers of all pages to be at the top and bottom of the bound document, so on the Landscape pages I want the header on the right and the footer on the left. I hope I'm being clear about this. I found a way to do it in MS Word but it wasn't easy. I don't see any way to do this in Writer. I'm thinking I may have to somehow keep the pages Portrait and rotate their content 90 degrees, but that would make editing difficult.

Has anyone done this? Should I submit this as a feature request?

Edit: The OS is Windows 10 and I'm using LO 6.4. The content of the landscape pages is tables that are too wide to comfortably fit in portrait.

edit retag close merge delete

You can only do that by putting your header/footer content into floating frames attached to header/footer paragraphs. Using tables in the frames, you may use rotated text to have it vertical.

( 2020-02-13 08:42:42 +0200 )edit

What is the content of the lanscape pages? Images (or tables) or formatted text flowing from standard portrait pages and continuing into portait pages?

Give additional information editing your question (not using your answer). Don't format OS and LO version though this is not really relevant in this case.

( 2020-02-13 08:47:55 +0200 )edit

Mike Kaganski - Thank you for the suggestion. I can't seem to insert a floating frame, and LO Help says those are for HTML. I can insert a text box, and rotating the text is simple, but it won't let me insert fields. I want to include the usual header/footer fields such as page numbers, etc. If the landscape page is page 6 and later pages 1-5 expand to 1-7 I don't want to have to re-number the landscape page manually.

( 2020-02-14 08:52:55 +0200 )edit

Sort by » oldest newest most voted

You can't rotate text at will: a page contains a text flow with direction defined by the content language (left to right, right to left or top to bottom.

Fortunately, in your case the rotated text is not part of the main text flow but is some form of "decoration".

The landscape page style needs to be adjusted in a special way:

• no header nor footer (because they won't be located where you want them
• margins set so that they delimit the content area of the portrait pages, implying that left and right margins are wider than portrait top and bottom to leave room for inserting objects.

The fake header and footer are frames you will anchor to the caption paragraph of the table.

This means there is no automatic insertion in every page. You must repeat the procedure for every landscape page. I hope the are not too numerous.

When you create the frame, go to its Options tab and set Properties - Text direction to Right-to-left (vertical). Positioning, sizing, wrapping, etc. are tuned as usual.

Header/footer text is a bit queer because words are reversed. You must typed the text "backwards" (from the end to the beginning so that our Western text reads "normal"). Insert the fields for page number. Don't use fields for document title or chapter names because they would read reversed.

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!

more