How do I set the paper color in LibreOffice Writer?

In LibreOffice Writer, if I choose

Format -> Page... -> Background -> Background color

I can set a background color, but it is only used within the margins. How do I set the paper color? One way is to set the margins to zero, but that is not optimal as I need the margins for the text.

Background color


What do you want to achieve exactly? If you just want to modify the appearance of LibreOffice, without modifying the output, you could set a custom color for the document background: Menu "Tools" -> "Options" -> "Appearance" -> "Document Background".

If you want to modify the output, too, you will need to use a workaround, since you can only modify the area inside the page margins (as laurent described). just modify the page style (as described below under "Edit").

To modify the page appearance in a printable way, there's a nice workaround: Don't touch the page margins, but insert the content (full-page watermark, stationery, or just a full-page frame with a certain background) into the header / footer. This way, it will modify each new page, too. To modify the "background color" of the complete page, you could proceed as follows:

1. Insert a header or footer, and put the cursor there; 2. Select Menu "`Insert`" -> "`Frame`"; 3. Modify the frame properties: - on "`Type`" tab: frame size to paper size, bound to paragraph, Frame Position: "`Entire page`", - on "`Wrap`" tab: "`Through`"; Wrap Options: "`In Background`" - no borders, - background color as desired,

That's it - now you have a frame as "background object" on every page, thus effectively setting the page background.

See also the accepted answer in this ask.libreoffice.org thread.

EDIT

In current versions of LibreOffice (tested with 6.4), it's possible to set the page background color in the Page Style Options:

  1. Open Menu Format;
  2. Select Menu Entry Page Style...;
  3. Select the Area tab;
  4. Default for Area is None; select Color instead;
  5. Select the desired Color;
  6. Click Apply.

That's it, the Default Page Style now has a colored background. To test it, simply export an empty writer document with background color as PDF; the PDF will show the selected background color.


A colored background will be printed and writer won't print anything inside the margins so it won't display anything inside the margins if you use the Edit -> Printer layout option.

If you disable Edit -> Printer Layout and set the background color, you will SEE the whole window colored on your screen but it won't print this way.

To print the full page colored without margins, I think your unique option is to set margins to 0. You can simulate the margins for text with the Format -> Paragraph -> Identation options after and before text.

Maybe a macro could do that but I think identation will be easier.


On a mac the option can be set in Libreoffice -> Application colors -> Document background: