Log in

No account? Create an account


« previous entry | next entry »
Jun. 8th, 2011 | 01:26 am
mood: tiredtired
music: P.D.Q. Bach & Peter Schickele - Hamlet's Soliloquy

I've got to say that even though it's got its idiosyncracies (no doubt stemming from stupid design decisions made for office suites elsewhere long ago that OpenOffice copied and never questioned), LibreOffice isn't actually all that bad... well, the Writer component, anyway.

I needed to write a document earlier, one that'll still have to be reviewed, and in order to clearly mark it as a draft, I wanted to overlay a big, light gray "DRAFT" (rotated 45°) on each page. With a bit of fiddling, I found out how to do this, too, so in case you're ever in the same situation:

  1. Create a drawing. You'll have to do this because ordinary text can only be rotated in 90° steps.
  2. Alas, the "Insert" menu has nothing of that sort: you cannot insert drawings that way. So instead, select View→Toolbars→Drawing to show the Drawing toolbar.
  3. Click the Text ("T") icon, and DRAG it across your document to create a text drawing.
  4. Enter the desired text and style it to taste (e.g. Helvetica, 144pt).
  5. If you don't have a "Text Color" button in your Text toolbar...
    1. Click on the Drop-Down menu indicator at the right end of the Text toolbar.
    2. Under "Visible Buttons", click "Text Color".
  6. Now change the text color, e.g. to Gray 10% or Gray 20%. (Light Gray is a little darker than the latter).
  7. If you want a color that is not in the palette...
    1. Go to Tools→Options→LibreOffice→Colors.
    2. Enter a name for your color and put in the desired RGB values (e.g. 220,220,220) and click "Add".
    3. The new color will now be in the palette.
  8. Click outside the drawing to leave it.
  9. Right-click on the drawing's border and select "Text...".
  10. Make sure both "Fit width to text" and "Fit height to text" are checked.
  11. Right-click the drawing's border again and select "Position and Size...".
  12. Anchor the drawing to the page, and set the horizontal and vertical position to "Center" (to "Entire Page").
  13. Switch to the "Rotation" tab and select the desired rotation (e.g. 45°).
  14. Right-click the drawing's border yet again and select Arrange→To Background.

That should be all. Whew! The result should look something like this:

I wish it all weren't so complicated, though. :) But maybe others will benefit from this, at least.

EDIT, 2017-02-05: LibreOffice 5.3 doesn't have the "Text..." context menu item anymore; the options to fit the text box's size to its content are found in Format→Text Box and Shape→Text Attributes now.

EDIT, 2017-07-29: LibreOffice 5.4 finally has native support for document watermarks. Select Format→Watermark, enter your desired text and choose your desired font, angle, transparency text color. The defaults (Liberations Sans, 45°, 50% transparency, Light Gray) work very well.

You cannot (yet?) change the font size, so if you want to do that or otherwise get fancy with your watermark, the above method still works. Just remember to manually copy your watermark to each page; there is still (to my knowledge) no option to have a text box repeated automatically on each page.

Also see this blog entry for more information.

Link | Leave a comment |

Comments {4}


(no subject)

from: kevlarhusky
date: Jun. 8th, 2011 11:13 am (UTC)

That sounds like an absolute massive faff.

I much prefer Microsoft Office :3

Reply | Thread


(no subject)

from: schnee
date: Jun. 8th, 2011 11:26 am (UTC)


Anyhow, eww, Microsoft. ;) *shudders* I'm not gonna touch THAT with a ten-foot pole.

Reply | Parent | Thread


(no subject)

from: kevlarhusky
date: Jun. 8th, 2011 11:49 am (UTC)

Faff, a bother, a pain, something awkward :3

hehehe I LIKE Microsoft stuff :P It works well. For me it's usually open-source stuff I won't touch with a ten-foot pole :P I say usually, there is some good stuff out there.

Reply | Parent | Thread


(no subject)

from: schnee
date: Jun. 8th, 2011 05:34 pm (UTC)

*nods* I'm no Richard Stallman, but I generally prefer free (as in freedom) software. I'm not gonna say a lot about Microsoft specifically, but suffice to say that one very practical reason I'm not gonna touch MS Office is that it's simply too expensive.

I'd not think twice about using MS Office at work or so, at someone else's computer, or in a similar setting, but for myself, I'm gonna stick with free software

Of course, that's assuming I'm gonna use an office suite at all, which isn't usually the case. I tend to prefer plain text for quick notes to myself and LaTeX for complex documents, but I'll admit that sometimes, the latter's learning curve is a little too steep even for me. In the above example, for instance, I'm not sure how one would've gone about creating a "DRAFT" layer like that at all.

Reply | Parent | Thread