I recently had occasion to put horizontal lines into an OpenOffice.org Writer document.Â I discovered a couple of surprises.
What I wished to do was insert a simple horizontal line across a page under a heading.Â As is my habit, I rummaged around in the menus lookingÂ for the feature I wanted.Â There is, indeed, something called “Horizontal Ruler…” in the Insert menu.Â Sounds good.
The first surprise lay here.Â The selection of available “rulers” that this option brings up is quite stunning.Â It’s a gallery of graphical horizontal rules straight out of 1990s websites.Â I’m pretty sure I had something like it on my first webpage in 1997.Â I’m talking flashy.Â And GIF-y.Â I have to concede, in the name of balanced reporting, that none of them had animated reflections or flaming torches at either end (and I must say, in my defence, that neither did anything on my 1997 webpage).Â Keeping to the task at hand, though: at the very top is a dotted outline with the word “Plain” inside.
I went for “Plain.”Â This inserts a grey double line.Â I had envisioned a single black line, but I was trying to finish something before bed, so I decided not to worry too much.Â Relative to the other options, it was pretty dignified:
The behaviour of this double line was a bit baffling though.Â I didn’t seem to be able to select it by clicking on it.Â I couldn’t figure out how to get rid of it.Â Soon, I had had it with this “horizontal ruler” and I started searching for another way to insert a line.Â I did find one, in a sense, but more on that later.Â Luckily I eventually came across my second surprise on the OpenOffice.org users’ mailing list, which made some sense of the situation: the plain horizontal ruler is a paragraph with a bottom border.
That’s right: you can’t grab it but you can type into it if you want.Â Understanding that you’re working with a paragraph is the key to accomplishing anything with this line.Â Under Format -> Paragraph (or by right-clicking on the line and choosing Paragraph), you can change the style, make it a single line, change the colour, put a border on any or all of the remaining three edges of the paragraph, adjust the width or the spacing above or below, or whatever.Â And to get rid of it is really easy.Â Put the text cursor on the first character of the line and hit backspace.Â Another method, if you have the formatting toolbar showing: with the cursor sitting on the line, select “Clear formatting.”Â If the Formatting toolbar isn’t showing you can do F11 or select Format -> Styles and FormattingÂ and double-click on “Default.”
So stepping back one step, I was looking for another way to put in a horizontal line.Â I came across a shortcut on http://www.ooowiki.de/HelpOnRules, which I think is actually meant to be instructions for editing the wiki it’s on, but I didn’t realize it at the time and tried it out on Writer.Â Some of it works!Â Three hyphens, three equals signs, or three underscores in a row followed by a carriage return give instant lines of different styles.Â Incidentally, three plus signs give you a one-row, two-column table.
This is really neat.Â Now I can insert single or double horizontal rules into my documents without touching my mouse.
Too bad I really hardly ever need to do that.
I was disappointed at first to discover that these rules are paragraphs too.Â As time goes on, though, I relate less and less to my initial negative reaction toward this method of incorporating lines into a document.Â I guess it was to do with the fact that manipulating it was nonintuitive.Â It is really very frustrating if you’re hitting the <Enter> key to make some space above the rule and you’re getting more and more ruled lines instead.Â Â Oddly, the “Plain Horizontal Rule” doesn’t do this; only the ones I made using the shortcuts.Â I haven’t figured out why.
Stepping sideways, you could also just draw your line using the line tool in the “Drawing” toolbar.
Stepping back more than one step, what about those graphical rulers?Â They do not behave like paragraphs.Â They’re graphics.Â And because (apparently) you can add your own graphics to the gallery, the graphical method is not as ludicrous as I first found it.Â I can imagine maybe using it for something tasteful: a nice literary-looking line with a fancy swirl in the middle to end a section or a paragraph of some really classy piece of writing.Â Or to add the appearance of class to some really crappy piece of writing.