Writer is, without a doubt, the most frequently used application in the OpenOffice.org suite. It offers many advanced features that can help you to create anything from a simple letter to a book with a complex layout. But, as with any powerful application, you often have to dig deep in order to get the most out of Writer. The following tips will help you to quickly master Writer’s many useful features.
To remove a word from a user-defined dictionary, follow these steps:
Sometimes you need to add a watermark to your document (for example, CONFIDENTIAL, URGENT, or COPY). Here is how to do this:
This technique also allows you also to use a picture as a watermark: in step 1, choose Insert → Picture → From File.
Writer allows you to show or hide a sections depending on a specified condition. This is a very powerful feature that can be used for a variety of purposes. Let’s say you work on a manual which is aimed at both beginners and advanced users. Obviously, the advanced users don’t need the content for beginners, and you might want to omit it when printing the manual. To do this, mark paragraphs for beginners as sections and then define a condition that hides the sections if some condition is met. For this example, the sections are hidden if the title contains the string advanced users (for example, OpenOffice.org Writer for advanced users).
First, create a variable that will be used in the condition. The variable will be part of the title, and it will take two values: beginners (as in OpenOffice.org Writer for beginners) and advanced users (as in OpenOffice.org Writer for advanced users). Enter the first part of the title, leaving the cursor at the end of it. Choose Insert → Fields → Other, and click on the Variables tab. Select Type → Set Variable and Format → Text. Enter a name in the Name field (for example, Level), give it the value beginners, and press the Insert button. This inserts the word beginners at the end of the title.
Select a paragraph you want to hide and choose Insert → Section. Tick the Hide check box and enter Level EQ “advanced users” in the With Condition field. Repeat these steps with other paragraphs. To hide the created section, double-click on the word beginners and change the value of the Level variable to advanced users in the Edit Fields → Variables. Click OK, and the specified sections disappear. Change the value of the Level variable back to beginners to show the sections.
By default, every caption fits the width of the image, which works well in most cases.
However, if the caption is longer that the image, then the result doesn’t look particularly good. In this case, you might want to keep the caption on one line.
The AutoCorrect feature in OpenOffice.org serves many purposes. A common usage is to automatically correct spelling errors. But AutoCorrect is not only a good tool for correcting mistakes, it can also save you a lot of typing. For example, instead of typing deoxyribonucleic acid every single time, you can create a replacement rule that saves you the trouble of typing such a long word.
The Ruby feature allows you to add explanatory text to complex Asian characters. But you can use it to add in-line comments to your documents, including explanations of technical terms or word definitions. The Ruby feature requires that Asian language support is enabled. Choose Tools → Options → Language Settings → Language and tick the Enabled for Asian languages check box.
To add Ruby text, select a word or a text segment and choose Format → Asian phonetic guide. Type the text you want into the Ruby field and click OK. By default, Ruby text formatted using the Rubies character style which you can modify to your liking.
If you want every new document to have user-defined settings, you must create a new template and set it as default.
The quickest way to create a new style is to use an already formatted text segment as an example.
Suppose you have a style in a file that you want to use in your current document. You can copy the style in the following way:
OpenOffice.org offers an easy way to copy styles from one document to another.
Charts are not limited to Calc spreadsheets. If you have a Writer document that contains tables with rows of data, you can visualize them using charts. Start by selecting the data in the desired table. Choose Insert → Object → Chart. This launches the Chart Wizard which guides you through the process of creating a chart.
Using a simple trick, you can add a chart to a Writer document with no tables and data in it.
Want to spice up lists in your document with custom graphics instead of default bullets?
Here is the problem: you have a document where all pages are in Portrait mode, but you need to insert a page in Landscape mode. To do this, you must create a page style with landscape page orientation:
To insert a landscape-oriented page:
To get back to the portrait mode repeat the procedure, but in step 3 select the portrait page style.
Although Writer is not a DTP application, it contains tools that allow you to create complex layouts. For example, using the Link Frames feature you can insert frames in the document and then link them together.
When the first frame is full, the text flows into the second frame. To unlink frames, select a frame and press the Unlink frame button on the Object toolbar.
The Find & Replace tool offers a few advanced options to make your search more precise. You can use the Attributes button to select the text attributes that you want to search. For example, if you tick the Font color check box, the search will find all occurrences of text where the default font color was changed. Using the Format button you can specify the text format criteria for your search. This option can be used, for example, if you want to find all occurrences of the word OpenOffice.org in a particular font, typeface, size, or any other text format characteristics. Similarity search allows you to perform fuzzy searches. For example, searching for the word office with the Similarity Search turned on returns both office and official.
Here is the problem: you have a document containing a blank or title page, and you want to start page numbering with the next page. Here is how this can be done:
Note that 0 in the Page number field doesn’t denote a page number, but simply means that the current page number won’t be changed.
If you have a lot of pictures in your document, you can configure captions to include the chapter number. To do this, you have to make sure that the chapter heading is set to be numbered. Choose Tools → Outline Numbering, select 1 in the Level list, and make sure that the Number drop-down list is set to 1,2,3, … (or whatever numbering you want). To add a caption to a picture:
You can also configure Writer to add a caption automatically when you insert a picture:
Running headers and footers can contain useful information about a document. For example, you can make the footer show the name of the current chapter. Here is how to add a running footer:
In certain situations, you might want to prevent other users from editing parts of a Writer document.
If you tick the With password check box and define a password, users can edit the text segment only if they enter the correct password.
You can use the grid feature not only in Draw, but also in Writer. This can be useful when you want to position or align several objects in a document with a complex layout. To enable the grid, go to Options → OpenOffice.org Writer → Grid and tick the Visible grid check box. To make the grid lines to act like magnets, tick the Snap to grid check box.
Writer allows you to create a table of contents (TOC) with hyperlinks to the referenced sections.
Since Writer applies the Hyperlink character style to the TOC entries, you may encounter a situation where you want your TOC to have its own character style. Right-click on the TOC and choose Edit Index/Table. Click on the Entries tab, click on the LS button, select the desired style from the Character Style drop-down list, press All, and then OK.
If you have a Writer document with a few tables, you might want them to have a consistent appearance. To do this, you can use the AutoFormat feature. Create a table and place the cursor anywhere in it. Choose AutoFormat from the Table menu and select the desired layout. Of course, you are not limited to the available layouts – you can easily add your own in the following way:
Writer doesn’t have the ability to hyphenate long hyperlinks, and if you have a fully justified text with a few long URLs, you may have a hard time making it look good. You can, of course, create HTML-styled hyperlinks, but they only work in the electronic version of the document. There is no quick fix for this problem, but with a bit of tweaking you can find a workable solution. Actually, there are several ways of dealing with long hyperlinks. One of them is to use footnotes, which allow you to move all URLs out of the main text. Adding a footnote in Writer is easy: place the cursor where you want the reference number to appear and choose Insert → Footnote. You can then define whether you want to create a footnote (the note at the bottom of the current page) or an endnote (the note at the end of the document). Now you can add the link and its description. This is a simple method that allows you to add other important information besides the link itself.
Another solution is to keep the hyperlinks in the text using the TinyURL service (www.tinyurl.com). TinyURL allows you to convert a long URL into a short link that looks like this tinyurl.com/68b33. The advantages of using this service are obvious, but there is a drawback: if the service for some reason goes down, your links become unusable. The following solution prevents this from happening and offers a more convenient way of dealing with long hyperlinks in Writer documents. Normally, you’d then open your Writer document and paste the link into it. But in this way, you don’t have any record of the original URL. A better solution is to click on the Hyperlink button, set Hyperlink type to Web, enter the original URL into the Target field, and paste the short link into the Text field. In this way, you have the short link in the text that points to the original URL.
You can take this solution a step further: using a simple Base database you can manage all your URLs and respective short links from one location. Start by creating a Calc spreadsheet. In the first row, enter columns’ names such as Notes,TinyURL, and URL. Add at least one row with data and save the spreadsheet in dBase format (.dbf). Launch Base and create a new database. In the Database Wizard, select the Connect to an existing database option and select dBASE from the drop-down list. Select the path to the folder containing the .dbf file and select the Yes, register the database for me option. From now on, you can access your database directly from within Writer by pressing the F4 key. You can also add, edit, and remove records, but, more importantly, you can insert a short link from the database by dragging it onto the currently opened document.
Using the Insert Special character feature, you can easily insert symbols and other signs. That’s fine if you need to insert a symbol every now and then, but what if you have to insert a particular character in almost every sentence? One way to solve this problem is to use the AutoCorrect feature. Let’s say you need to insert the µ character; choose Tools → AutoCorrect, click on the Replace tab, and create a new rule that converts the specified string to µ, for example, #m. Once the rule is added, you can simply type #m, and Writer converts it into µ.
Let’s say you have a list of quotations in a spreadsheet file, and you want to access it from within Writer so you can easily insert a quotation into your document. First of all, create a new Base database that uses the spreadsheet as its data source: Choose File → New → Database, select the Connect to an existing database option, select Spreadsheet from the drop-down list. Make sure the Yes, register the database for me option is selected and press Finish.
Need to fill your document with dummy text? Type dt in the document and press F3.
The dummy text in Writer is just a regular text snippet stored in AutoText, so you can edit it the same way as you would edit any AutoText entry. To modify the existing dummy text:
Next time you type dt and press F3, you’ll have your modified text.
Related articles: