You can incorporate lines into your text with custom angles, width, color, and other attributes.
To define the line attributes and direction, use the \<emph\>Line\</emph\> drawing object as follows:
On the Standard bar, click the \<emph\>Show Draw Functions \</emph\>icon to open the \<emph\>Drawing \</emph\>toolbar, and click the \<emph\>Line\</emph\> icon. The mouse pointer changes to a cross-hair symbol with a line beside it.
In your document, click where the line should begin. Hold down the mouse button and drag to the point where you want the line to end. If you also hold down the Shift key, you can draw only horizontal, vertical, and diagonal lines.
Release the mouse button once the line has the desired direction and length. You can then draw more lines. End this function by pressing the Esc key or by clicking the \<emph\>Select\</emph\> icon from the \<emph\>Drawing \</emph\>bar.
After clicking the \<emph\>Select\</emph\> icon, you can select all of the lines at the same time by clicking each line while holding down the Shift key. This multiple selection enables you to assign all of them a common color, width or other attribute.
Create a horizontal line by applying the preset Paragraph Style Horizontal Line. Click into an empty paragraph, and double-click the Horizontal Line Style in the Styles window. If the entry for horizontal lines is not visible in the list of Paragraph Styles, select "All Styles" in the lower listbox.
You can draw a line above, beside or below a paragraph in a Writer text document by choosing Format - Paragraph - Borders.
Automatic lines in Writer
If you start a new line in a Writer text document by typing three or more hyphen characters and press the \<item type=\"keycode\"\>Enter\</item\> key, the characters are removed and the previous paragraph gets a line as a bottom border.
To create a single line, type three or more hyphens (-), or underscores ( _ ), and then press Enter. To create a double line, type three or more equal signs (=), asterisks (*), tildes (~), or hash marks (#), and then press Enter.
To remove an automatically drawn border, choose \<emph\>Format - Paragraph - Borders\</emph\> and select no border.
To undo an automatic border replacement once, choose \<emph\>Edit - Undo\</emph\>.
To disable the automatic borders, choose \<emph\>Tools - AutoCorrect - Options\</emph\> and clear \<emph\>Apply border\</emph\>.
The lines and other drawing objects that you insert in text are not defined in HTML, and are therefore not exported directly into HTML format. Instead, they are exported as graphics.
When you enter a line width, you can append a measurement unit. A zero line width results in a hairline with a width of one pixel of the output medium.