ICDL Module 3

Word Processing using OpenOffice.org Writer

David Varley

ICDL Foundation
IMPORTANT NOTICE
DISCLAIMER
License

2004


Table of Contents

1. Using the Application
First Steps with Word Processing
Open (and close) a word processing application
Open one, several documents
Open multiple documents
Create a new document (based on default, other available template)
Save a document to a location on a drive
Save a document under another name
Save a document in another file type such as: text file, Rich Text Format, HTML, template, software specific file extension, version number
Switch between open documents
Use available Help functions
Close a document
Adjust Settings
Change between page view modes
Use magnification/zoom tools
Display, hide built-in toolbars
Display, hide non-printing characters
Modify basic options/preferences in the application: user name, default directory / folder to open, save documents
2. Main Operations
Insert Data
Insert text
Paragraphs
Deleting text
Using the keyboard to navigate around a document
Insert special characters, symbols
Select Data
Select character, word, line, sentence, paragraph, entire body text
Edit Data
Edit content by inserting new characters, words within existing text, over-typing to replace existing text
Use the undo, redo command
Duplicate, Move, Delete
Duplicate text within a document, between open documents
Move text within a document, between open documents
Delete text
Search and Replace
Use the search command for a specific word, phrase
Use a simple replace command for a specific word, phrase
3. Formatting
Text Formatting
Change text appearance: font sizes, font types
Apply text formatting such as: bold, italic, underline
Apply subscript, superscript to text
Apply case changes to text
Apply different colours to text
Copy formatting from a piece of text to another piece of text
Apply an existing style to a word, a line, a paragraph
Paragraph styles
Use automatic hyphenation
Apply hyphenation using styles: Modify the style
Apply the style
Apply styles using the object bar
Paragraph Formatting
Insert, remove paragraph marks
Insert a paragraph mark
Remove paragraph marks
Insert, remove soft carriage return (line break) marks
Align text left, centre, right, justified
Set paragraph alignment
Set alignment in styles
Indent paragraphs: left, right, first line, hanging
Apply single, double line spacing within paragraphs
Apply spacing above, below paragraphs
Set, remove and use tabs: left, centre, right, decimal
Apply bullets, numbers to a single level list. Remove bullets, numbers from a single level list
Bullet an existing list: Quick method
Bullet an existing list using Format
Bullet a list using the Stylist
Create a new bullet list
Turn bullets off
Create a numbered list: Quick method
Number a list: Format method
Number a list using the Stylist
Create a numbered list
Change between the style of bullets, numbers in a single level list from built-in standard options
Add a top and bottom border, box border and shading to a paragraph
Document Formatting
Change paper size
Change orientation and paper size of current page layout
Change the page orientation and paper size in a style
Change margins of entire document, top, bottom, left, right
Insert, delete a page break in a document
Add, modify text in Headers, Footers
Add fields in Headers, Footers: date, page number information, file location
Apply automatic page numbering to a document
4. Objects
Tables
Create a table ready for text insertion
Insert, edit data in a table
Select rows, columns, cells, entire table
Insert, delete, rows and columns
Modify column width, row height
Modify cell border width, style, colour
Set the border of individual cells or blocks of cells
Add shading to cells
Put a shadow on the table
Some other important table functions
Pictures, Images, Charts
Insert a picture, an image, a chart into a document
Select a picture, image, chart in a document
Duplicate a picture, image, chart within a document, between open documents
Move a picture, image, chart within a document, to another document
Resize a picture, image, chart
Delete a picture, image, chart
5. Mail Merge
Concept and Practice
Template document
Data source
Merging
Open, prepare a main document for a mail merge by inserting data fields
Open, prepare a mailing list, other data file, for use in a mail merge
Merge a mailing list with a letter, label document
Output to printer
Output to file
6. Prepare Outputs
Preparation
Understand the importance of proofing your document such as: checking the layout, presentation (margins, appropriate font sizes and formats) and spelling
Spell-check a document and make changes such as correcting spelling errors, deleting repeated words
Check spelling as you type
Check spelling of document
Spellcheck selected text or a single word
Thesaurus
Add words to a built-in custom dictionary
Preview a document
Printing
Choose print output options such as: entire document, specific pages, number of copies
Print a document from an installed printer using defined options, default settings

Chapter 1. Using the Application

First Steps with Word Processing

Open (and close) a word processing application

For the most part, using Writer in either Windows or Linux is the same. The major difference occurs in open and closing the application. The other variation is in opening and saving files as the file system is quite different in Windows and Linux.

Open Writer in Linux

  • Click on Start Applications->Office->Word processors->OpenOffice.org Writer

As there are many variations in the way Linux may be installed on computers, it is possible that there will be some variation. The above method is the default when OpenOffice.org 1.1.0 is installed as part of the Mandrake 9.2 distribution and KDE 3.1 is used as the desktop. Mandrake 9.2 is in turn based largely on the Red Hat distribution.

Open Writer in Windows

  • Click on Start->Programs->OpenOffice.org->Text document

The Writer screen will now display. The components of the screen are shown below.

[Note]

Because we will be making extensive use of the Menu bar, we will make use of the following convention in using the functions of the menu bar.

  • File->Save

Will mean exactly the same as

  1. Click File on the Menu bar.

  2. Click the Save option in the menu.

Close Writer

  • File->Exit.

This will close all open documents and exit Writer. If you have made any modifications to open documents, Writer will ask you whether you wish to save or discard the changes you have made. It will also give you the option of canceling the Exit operation.

Open one, several documents

One of the advantages that word processors such as Writer provides for us is the facility to save our work and recall it at a later time. We can then print our work or make further changes (edit). In addition, we are able to create many versions of the same document, each of which can be saved on our hard drive under an appropriate name.

To open a document

  • File->Open.

At this stage there is a difference between what will happen in Linux and Windows.

Linux

The Open dialogue will appear. In general, this will point to your home directory.

In this case, the Open dialogue is pointing to the directory /home/david.

  1. If necessary, navigate to the desired directory.

  2. Highlight the file you wish to open.

  3. Click Open.

If you wish to open a file contained on your floppy, navigate to the directory /mnt/floppy.

[Note]

On the top right of the Open dialogue, there are three important icons:

Up one level. Pressing this icon will move you to the parent of the current directory.

Create new directory. This option allows you to create a new directory in the current directory. In order to be able to do so, you will need the appropriate user rights.

Default directory. Pressing this icon will move you to the default directory. This is useful if you have moved through several directories and wish to return to your starting point in the directory tree. This will be different for each user.

Windows 2000

If you are running Writer under Windows, the Windows Open dialogue will be displayed.

If you click in the Look in window, a drop down box will display your current directory and available drives. You can switch to another drive by double clicking on it in this window. You can also use the navigation icons to move around your directory structure.

  1. If necessary, navigate to the desired directory.

  2. Highlight the file you wish to open.

  3. Click Open.

If you wish to open a file on your floppy disk, first double click on Floppy A: in the Look in window.

The first two icons in the Open dialogue are the same as under Linux.

The third icon allows you to display the contents of the Open dialogue in a number of ways as shown on the following screen.

The Details option displays important information such as file type, size, created or last edited and attributes.

[Note]Terminology

We will use the terms document and file interchangeably. Document is the more commonly used term when working with Windows while file tends to be used more commonly when working with Linux.

Open multiple documents

You may open several documents at the same time. Simply repeat the process described above.

Although the files will all be open, only one will be displayed on your screen for editing. We will refer to this as the active document. In the section called “Switch between open documents”, you will learn how to switch between open documents.

Create a new document (based on default, other available template)

To create a new document from scratch

  • File->New->Text document

This will display a blank screen in which you can create a document. This document will be based on default settings. Default settings are ones which Writer sets up for you automatically.

Templates

Templates are predefined layouts for creating documents. Writer has a number of templates. It also allows you to create your own templates.

When you select File->New, a number of Writer templates are displayed.

For example, to create business cards:

  • File->New->Business cards

    This will then display a dialogue which will make the process of creating business cards much simpler than it would have been without the use of a template.

To create a document based on a template you have created you would use:

Save a document to a location on a drive

When you work with a document on your computer, the working form resides in the computer's RAM. This is temporary memory used for your current activities. Since RAM is volatile, when the computer is switched off, everything that is in RAM is automatically lost. In order to keep your work you will need to transfer the contents of RAM to your hard disk. This process is called saving.

When you save a document, you give it a name and you specify where it is to be stored.

Save an existing document

If you have opened a document and made some changes, the process of saving it is very simple:

  • File->Save

This will change the contents of the stored version so that it is identical to the version that is displayed on your screen. In this case, the previous version on disk is overwritten.

If you use File->Save in a newly created document, Writer will automatically assume that you wish to use File->Save as .

Save a new document

When you create a document from scratch, there is no version stored on disk. To save the file to disk:

  • File->Save as.

    Now depending on whether you are using Linux or Windows, slightly different dialogue windows will be displayed.

Linux

The Save as dialogue will appear. In general, this will point to your home directory. It is very similar in appearance and functionality to the Open dialogue.

  1. If necessary, navigate to the directory in which you wish to save the file.

  2. Enter a name into the File name window.

  3. Click Save.

    For the moment we will not be concerned with all the options in the Save as dialogue.

Windows

The Save as dialogue window has a very similar structure to the Open window.

If you click the Save in window, your position within your drive and directory structure will be displayed.

  1. If necessary, navigate to the directory in which you wish to save the file.

  2. Enter a name into the File name window.

  3. Click Save.

For the moment we will not be concerned with all the options in the Save as dialogue.

Save a document under another name

When you use the File->Save function, the contents on disk are overwritten by the contents on your screen. It often happens that we don not want to do so. In other words, we might wish to keep copies of different versions of the file under different names.

Another possibility is that we wish to keep copies of the same document, but in different places.

In both cases use the File->Save as function.

Suppose, for example, you are writing a difficult letter to someone. Suppose you initially call the letter LetterToJo. After having made some changes you could use Save as, but this time call the document LetterToJo1. The following version could be LetterToJo2, and so on.

Save a document in another file type such as: text file, Rich Text Format, HTML, template, software specific file extension, version number

File formats

There are many different word processors and applications that can read text documents. One of the very important aspects of working with information technology is the ability to exchange documents between different systems.

Each application has its own way of storing information in electronic form. This is known as the format of the application. For example, Microsoft Word stores documents is a different electronic format to OpenOffice.org Writer.

Another issue we need to contend with is that as software develops in sophistication, the format of the documents will change to cater for the increased sophistication. We also need to be able to store a document in a format that could be read by an earlier version of an application package.

There are also a number of generic formats that can be used. These are formats that are not specific to a particular application but which have been designed by the information technology industry to form a common basis for all documents.

Each format has its own file extension. Sometimes we refer to the format by its extension. For example, Writer creates sxw files while Microsoft Word creates doc files. Rich text format, a generic format, uses the rtf extension.

Web browsers can only read documents created in Hypertext Markup Language or html.

Apart from its own format, Writer allows you store documents in a wide range of formats.

To save a file in a particular format (the method is the same in both Linux and Windows):

  1. File->Save as.

  2. Click on the Save as type drop down window.

  3. Select the type.

  4. Click Save.

Notice that the Save as type window lists both formats and versions of formats.

The following table provides a reference to some common file types.

Format

Extension

Details

Writer

sxw

This is the natural format in which Writer saves its documents

MS Word

doc

Writer enables you to save documents in the formats of the different versions of MS Word

HTML

htm

html

Documents that are meant to be read by web browsers such as Internet Explorer and Netscape must be saved in HTML format. This is an abbreviation for HyperText Markup Language.

Template

stw

A template is an outline of a document that can be used for future documents. Templates will be covered in more detail in a subsequent chapter.

Rich text format

rtf

This is a format designed for the exchange of formatted text files. The main disadvantage is that the format creates fairly large files.

Text

txt

Text files containing unformatted text

Versions

 

As applications develop they include new features. Many of these relate to format.

Portable document format

pdf

This is a particularly important format. If you create a file in pdf format, you can send this to other users who can view it with the free Adobe Acrobat Reader. They are, however, unable to edit it.

Save a file in doc format suitable for Microsoft Word

Since MS Word is very widely used, you may regularly need to save documents in doc format. This will allow MS Word users to read your documents.

Create a file in pdf format
  1. File->Export as PDF.

  2. Select the directory in which you wish to save the file.

  3. Enter a file name.

  4. Click Save.

Templates

Once you have worked with Writer for a while you will want to create your own templates on which to base your documents. Often these templates only contain formatting features such as margin settings, page orientation, fonts similar features. They can, however, also contain text.

You may for example have to create invoices on a regular basis. Invoices have certain formatting features, but they also contain a lot of text which is the same on each.

Create a template
  1. Create the document you wish to use as a template. This may consist only of formatting or formatting and text.

  2. File->Save as.

  3. Enter the name of the template into the File name window.

  4. Click on the Save as type window and select Text Document Template as shown in the following window.

  5. Select the directory in which you wish to store the template.

  6. Click Save.

    This will save the contents of your workspace in template format with an stw extension.

Although the method of creating templates is the same, you need to take care of where you save them so that you can access the templates when you need them. The following are some suggestions.

Saving templates in Linux

In Linux, save your templates in the subdirectory called Documents in your home directory.

Saving templates in Windows

A good place to store templates initially is in My documents.

If you save templates in these directories, you can access them when you create a new document as follows:

  1. File->New->Templates and documents.

  2. Click My documents.

  3. Select the template and click Open.

Switch between open documents

You may open several documents using the File->Open function. You will, however, only be able to edit the active document, the one that is displayed on your screen. To make another document active, you need to switch to that document.

  1. Click Window on the menu bar.

    A list of open documents is displayed in the lower half of the window. The active document is marked with a dot.

  2. Click on the document you wish to switch to.

Use available Help functions

The help system of OpenOffice.org provides a complete reference to the system.

Contents

  1. Help->Contents.

    This accesses the help system of OpenOffice.org, not just Writer.

  2. Click on the Contents tab.

    Each book represents a major section.

  3. Double click on any book icon, for example Text documents. This will display the contents which may be further subsections or actual entries.

  4. Double click on a subsection, for example Creating text documents.

  5. Double click on a entry, for example Selecting and navigating with the keyboard. The right hand pane will contain a detailed description of the topic.

Index

The Contents tab is the same as the table of contents at the front of the book. This organises entries by function.

The Index tab functions in the same way as the index at the back of the book. This provides an alphabetic listing of topics.

  1. Click on the Index tab.

  2. Begin typing a term that you are interested in into the Search term window. Type for example the word template.

    OpenOffice.org will attempt to anticipate what you are searching for. As you type in the Search term window, the alphabetic listing of topics will change. The entries are divided into headings and actual topics. The headings are flush against the left hand side of the pane while the actual topics are slightly indented.

  3. Double click on an entry.

The right hand pane contains the details of the topic you have selected.

Within the details of the entry you will also see a number of hyperlinks. These are underlined in blue. These are references to related topics. To jump to one of these entries, double click the hyperlink.

Find

OpenOffice.org provides yet another method of searching for information. Whereas both Contents and Index are based on an alphabetic listing of topics, Find allows you to search within the text of the entries for topics using a keyword.

Suppose you did not find the previous description of the term hyperlink adequate and you wish to find all topics in OpenOffice.org that make reference to this term.

  1. Click on the Find tab.

  2. Type the work hyperlink into the Search term window.

  3. Click Find.

    A list of entries that contain the word hyperlink are displayed.

  4. Double click on the entry that you wish to read.

The occurrences of the search word are highlighted in the details window.

Print entries in Help

  • Click the print icon, .

Create bookmarks

When you read a book you may sometimes turn the corner of a page to mark important pages for easy later reference. A bookmark is the electronic equivalent.

  1. Click the create bookmark icon, , to mark an entry.

  2. Enter a name for your entry in the Add to bookmarks dialogue.

  3. Click OK.

Use bookmarks

  • Click on the Bookmarks tab.

A list of bookmarks you have created will be displayed.

  • Double click on an entry to read the details.

Close a document

Although you can have several documents open at a time, it is not a good idea to have unnecessary documents open as these use up system resources and can slow your machine down. Just as important is the fact that it is just simply very confusing to have to many documents open at once. This is similar to working with a cluttered desk and not putting things away when you have finished with them

To close a document:

  • File->Close.

If the version in the work area corresponds to what is saved on disk, Writer will close the document immediately. If you have edited the document since it was last saved, Writer will check whether or not you wish to save or discard the changes before closing.

Adjust Settings

Change between page view modes

Full screen

If you wish to work with a document without having the object bar, toolbar, menu bar or scrollbars displayed, use Full screen mode. In this mode, the document will be displayed as it will be printed.

  • Switch off the ruler using View->Ruler. If you wish to see the ruler in full screen mode, leave this step out.

  • View->Full screen or press Shift-Ctrl-J (Hold down both the Shift and Ctrl keys and press J.)

To return to normal viewing:

  1. Press the Full screen on/off icon or press Shift-Ctrl-J .

  2. Switch on the ruler using View->Ruler if necessary.

Page preview

An alternative method of viewing the document as it will appear in printed form is to use Page preview.

  • File->Page preview.

    The default display is two pages side by side as on the following screen.

In Page preview mode, a context sensitive toolbar is displayed.

If you let the cursor hover over the icons, a bubble will be displayed indicating the function of each.

  1. Press the button on the toolbar to return to normal mode.

  2. To navigate through the document in Page preview mode, click one of the navigation icons.

    The navigation icons are . These represent previous page, next page, start of document and end of document.

  3. Select the number of pages you wish to view using .

    The first icon selects two pages side by side while the second allows the display of multiple pages.

  4. To enter full screen mode, press .

[Note]

You cannot edit a document in Page preview mode, but you can print it by clicking on the print icon, .

Use magnification/zoom tools

In Page preview mode, you can change the magnification of the display, by clicking on the zoom icons or changing the zoom factor on the toolbar, .

To change the zoom in Normal mode:

  1. View->Zoom.

  2. Set the zoom factor or select Variable and enter a % value.

  3. Click OK.

Display, hide built-in toolbars

To view or hide toolbars:

  1. View->Toolbars

    This will display a list of toolbars. The toolbars that are ticked are those that are currently displayed. Each of the options in the submenu functions as a toggle.

  2. To display a hidden toolbar or hide a displayed toolbar, click the appropriate item.

[Note]

A toggle is a menu item or icon that reverses the current status. For example, if the Function bar is displayed, View->Toolbars->Function Bar will hide it. One the other hand, if it is hidden then the same sequence will cause it to be displayed.

Display, hide non-printing characters

When you Press Enter to mark the end of a paragraph or Tab to jump to a new tab position, Writer marks these with a special character. These characters are usually hidden and do not print when you print the document. They can be thought of as control characters.

It is often useful to display non-printing characters, particularly when it is not clear why the document is displaying in a particular format. To do so:

  • View->Nonprinting characters or press Ctrl+F10.

    This function acts as a toggle, so it is also used to hide the display of non-printing characters.

    The following screen shows how the above paragraphs appear on screen when this function is active.

Modify basic options/preferences in the application: user name, default directory / folder to open, save documents

When you start Writer, it makes certain assumptions as to who is creating the documents, where you wish to save documents, the language you wish to use. These are the default conditions.

The basic options are set using:

  • Tools->Options

This will display the Options dialogue. Since OpenOffice.org is a highly integrated application, many of the options will apply to all the programs in the suite while others are more specific. Which type of option is found in which section is clear from their names.

User data

When Writer creates a document, it stores the name of the creator of the document. It also stores other information along with this. To set the default user name:

  1. Tools->Options

  2. Click the + symbol next to OpenOffice.org to expand the options.

  3. Click User data.

  4. Fill in which ever options you wish.

  5. Click OK.

File locations

When you open or save a file, Writer will use the location you set in Options as a starting point. This will be the path that will be displayed in the Open and Save as dialogues.

To set the default file locations:

  1. Tools->Options

  2. Click the + symbol next to OpenOffice.org to expand the options.

  3. Click Paths.

    This will display the default paths Writer will use for a wide range of options. The following screen shows the display when you are using Linux.

    The following screen shows the display under Windows.

  4. Double click My documents.

  5. Navigate to the desired directory / folder in the usual way.

  6. Click Select when done.

[Note]Terminology

The terms directory and folder can be used interchangeably. Linux prefers the term directory whereas Windows prefers the term folder.

Customising OpenOffice.org for local conditions

  1. Tools->Options

  2. Expand language settings and click on Languages.

    The dialogue allows you to define the Default currency and Default language.

  3. Adjust the settings as required and click OK.

Chapter 2. Main Operations

Insert Data

Insert text

It is assumed that the reader has some basic keyboard skills. The following section summarises some of the important points above enter and editing text via the keyboard. As there is some variation in the position of keys on different keyboards, the position of the keys is not shown.

Paragraphs

To end a paragraph and begin a new line, press the Enter key. Pressing the Enter key a second time inserts a blank line following the end of the paragraph.

If you press Shift+Enter, you will create a new line but not a new paragraph. Sometimes this is referred to as a soft break. The effect appears to be the same as that of pressing Enter, but there is a subtle difference. If you were to use the Format->Paragraph command, Writer would treat all text on either side of the soft break as part of the same paragraph.

The technical meaning of a paragraph in Writer's terminology is therefore slightly different to that of ordinary usage.

Deleting text

There are two keys on the keyboard that allow you to delete text. The Del key deletes text under the cursor while the Backspace key deletes text to the left of the cursor.

Using the keyboard to navigate around a document

Key

Function

+Ctrl key

Right/left arrow keys

Moves the cursor one character to the left or to the right.

Moves the cursor one word to the left or to the right.

Up/down arrow keys

Moves the cursor up or down one line.

(Ctrl+Alt) Moves the current paragraph up or down.

Home

Moves the cursor to the beginning of the current line.

Moves the cursor to the beginning of the document.

Home in a Table

Moves the cursor to the beginning of the contents in the current cell.

Moves the cursor to the beginning of the contents of the current cell. Press again to move the cursor to the first cell in the table. Press again to move the cursor to the beginning of the document.

End

Moves the cursor to the end of the current line.

Moves the cursor to the end of the document

End in a Table

Moves to the end of the contents in the current cell.

Moves the cursor to the end of the contents of the current cell. Press again to move the cursor to the last cell in the table. Press again to move the cursor to the end of the document.

PgUp

Scrolls up one page.

Moves the cursor to the header.

PgDn

Scroll down one page.

Moves the cursor to the footer.

Insert special characters, symbols

The keyboard allows you to enter most of the text you require. Further, there are numerous keyboards available for different languages that allow you to enter the characters that are commonly used in those languages. When the operating system is installed, whether Linux or Windows, one of the things that has to be defined is the language of the keyboard.

Whatever keyboard you are using, Writer allows you to enter hundreds of other characters and special symbols not available on the keyboard.

Enter a special character or symbol

  1. Position the cursor at the point where you wish to insert the special character or symbol.

  2. Insert->Special character.

  3. Select the Subset to locate the character you wish to insert.

  4. Highlight the character and press OK.

Select Data

Select character, word, line, sentence, paragraph, entire body text

We are able to perform operations such as copying, deleting and formatting on entire blocks of text. However, before we can do so we need to select the text we wish to operate on. Usually we refer to this as highlighting the text.

Shift + direction keys or dragging using the mouse

One way of highlighting text, is to position the cursor at the start or end of the text you wish to highlight and, while holding down the Shift key, use the navigation keys to move to the other end of the text you wish to highlight.

Another related method is to position the cursor at the start or end of the text you wish to highlight and, while holding down the left mouse button, use the mouse to position the cursor at the other end of the block of text.

Selecting text with keyboard combinations and mouse actions

Writer uses certain keyboard combinations and mouse actions to select clearly defined blocks of text such as words and paragraphs. These are shown in the following table.

To select

Action

A word

Double click on the word

To the end of the current line

Shift + End

To the start of the current line

Shift + Home

Current line

Triple click on any word in the line

Paragraph

Click at the start of the paragraph, hold down the Shift key and click at the end of the paragraph.

Any block of text

Click at the start of the block, hold down the Shift key and click at the end of the block.

Sentence

Click at the start of the sentence, hold down the Shift key and click at the end of the sentence.

To the end of the document

Shift + Ctrl + End

To the start of the document

Shift + Ctrl + Home

Entire document

Ctrl+A

Edit Data

Edit content by inserting new characters, words within existing text, over-typing to replace existing text

Insert and overwrite mode

When working with Writer there are two different modes of text entry, insert and overwrite mode. When you are in insert mode and you begin typing, text is inserted at the current position. All text ahead of the cursor is simply pushed further to the right to make way for the new text. In overwrite mode text you type replaces existing text.

The Insert key on the keyboard acts as a toggle switching Writer between the two modes. The current mode is indicated on the status bar at the bottom of the screen.

The status bar below indicates that Writer is in Insert mode.

If we press the Insert or INS key, the status bar will change to indicate that you are now in overwrite mode.

Use the undo, redo command

When we execute a command on some text, for example delete the text, we are able to reverse what we have done. This is known as the undo function. It is also possible after having undone the change, get it back. This is called the redo function.

Writer actually keeps a history of recent changes you have made.

Undo

Pressing Ctrl+Z undoes the last change you made. Pressing it a second time, undoes the one before that, and so on.

An alternative method is to use Edit->Undo. When you use this method, the menu will indicate what type of operation you will be undoing.

For example, the following screen segment shows that the last operation was the creation of a new paragraph. The undo will remove this new paragraph.

Yet another way of carrying out undo is to press the undo icon on the function bar, .

Redo

As mentioned above, redo undoes the action of the last undo.

To use this function use Edit->Redo. As in the case of undo, the menu will indicate the action that you will be redoing.

You can also execute the redo function by pressing the redo icon on the function bar, .

Duplicate, Move, Delete

Duplicate text within a document, between open documents

To duplicate text either within the same document or between two different documents is a two stage process, copy then paste. This is accomplished as follows:

Duplicate text within a document

  1. Highlight the text you wish to duplicate.

  2. Edit->Copy.

  3. Position the cursor at the point you wish to duplicate the text.

  4. Edit->Paste.

If you wish to make another copy of the text, you only need to perform the last two steps since Writer remembers the text that you copied.

Duplicate text between documents

The process is basically the same when copying between documents.

  1. Highlight the text you wish to duplicate in the first document.

  2. Edit->Copy.

  3. Open the second document if it is not yet open or switch to it using the Window menu item.

  4. Position the cursor at the point you wish to duplicate the text in the second.

  5. Edit->Paste.

Move text within a document, between open documents

To move text either within the same document or between two different documents is a two stage process, cut then paste. This is accomplished as follows:

Move text within a document

  1. Highlight the text you wish to duplicate.

  2. Edit->Cut.

  3. Position the cursor at the point you wish to insert the text.

  4. Edit->Paste.

Move text between documents

The process is basically the same when moving between documents.

  1. Highlight the text you wish to duplicate in the first document.

  2. Edit->Cut.

  3. Open the second document if it is not yet open or switch to it using the Window menu item.

  4. Position the cursor at the point you wish to insert the text in the second.

  5. Edit->Paste.

Delete text

One method of deleting a block of text is to use the first two steps of the move operation described above. This will retain a copy of the text that was deleted.

The other method is to highlight the text and press the Del key.

Search and Replace

Use the search command for a specific word, phrase

Complex documents can become very large. Often we need to find text within a document but do not know where it is located. Hence the ordinary navigation features are not suitable. Writer provides a very important feature for the purpose, namely the search or find feature.

  1. Edit->Find->Replace or Ctrl+F.

    This will display the following dialogue window:

  2. Enter the text you wish to search for in the Search for window. This can be a part of a word, a whole word or a phrase.

  3. If you are looking for this word specifically and not as part of other words, tick the Whole words only check box. Otherwise leave it blank.

  4. If you wish to find only occurrences that are not only the same letters but the same letters and case, tick the Match case check box. Otherwise leave it blank.

  5. You may search backwards from your current cursor position by ticking the Backwards check box.

You now have two options:

Find all

  1. Click Find all to highlight all occurrences of the search text.

  2. Click Close. All the occurrences will be highlighted.

  3. Scroll through the document.

  4. Press Esc when you are done.

Find

  1. Click Find to locate the next occurrence.

  2. Writer will jump to the next occurrence of the search text.

  3. Click Find again to jump to the next occurrence.

  4. You may change any Options you as work.

  5. Click Close when you are done.

  6. The last occurrence will remain highlighted.

  7. Press Esc when done to remove the highlighting.

Use a simple replace command for a specific word, phrase

The same dialogue allows us to change either all or specific occurrences of a word, phrase or text to something else.

Suppose we have some text in which the word “show” occurs a number of times. We wish to replace this with the word “exhibit”.

  1. Edit->Find->Find and Replaceor Ctrl+F.

  2. Enter the word you wish to replace in the Search for window.

  3. Tick Backwards if you wish to replace text from the current position backwards. Leave it blank to replace in a forward direction.

Global replacement

  • Click Replace all. This will replace all occurrences without any further interaction. A window will be displayed indicating how many changes were made.

Undo the global replacement

  • Edit->Undo. If you execute this command immediately after the replacement, Writer will indicate that the last operation was a replacement in the menu. The action of the command will be to restore the workspace to its state prior to the replacement.

Selective replacement

  1. Click Find. This will locate the first occurrence.

  2. If you wish to change this occurrence, click Replace. Writer will then jump to the next occurrence. Otherwise, Click Find to skip without making any change.

Chapter 3. Formatting

Text Formatting

Change text appearance: font sizes, font types

Fonts

The term font refers to the style of the type face. Here are some examples:

The size of fonts is measured in points. A point is 1/72”. The size is determined by the distance from the bottom of the descender to the top of the ascender.

The central part of the letter is called the body. Fonts vary in the relative sizes of their ascenders, descenders and body as well as their thickness.

Another difference between fonts are those which have small tails or feet attached to the vertical strokes. These are called serif fonts. Examples are Times New Roman and Bookman Old Style. The fonts without these are called sans serif fonts. Examples are Arial, Tahoma and Verdana.

Default fonts

The default font is the font that Writer chooses for you unless you specify otherwise. To set the default font:

  1. Tools->Options

  2. Expand Text document

  3. Double click on Basic fonts.

  4. Click on Default.

  5. Select the font from the drop down window.

  6. Click OK.

    This is shown in the following screen. If you click Default in this dialogue, the fonts will be set to the original Writer defaults.

Use fonts when typing new text

The current font style and size are shown on the object bar as in the following example where the font is Arial 11 point.

Any text you type will automatically assume this font.

Change fonts of existing text

You may change the font type and size of existing text as follows:

  1. Highlight the text you wish to change.

  2. Click on the font drop down window to display the available fonts and select a font.

  3. Click on the size drop down window to select a font size. As you complete these operations the text in your document will assume the new font immediately.

Undo the changes

  • Edit->Undo or Ctrl-Z will undo the changes you have just made.

Available fonts

The fonts that are displayed could vary from installation to installation. Certain fonts are installed when you install the operating system, whether Linux or Windows. Further fonts can be added at a later stage, but this must be done through the operating system interface.

Apply text formatting such as: bold, italic, underline

Attributes

Changes we make to fonts are called attribute changes. Examples include bold, underlining and italics. Further, we can add combinations of these as shown in the following table.

Attributes can be set before new text is typed or they can be added to existing text. The object bar contains icons for setting bold, italic and underlined.

When an attribute is set, the corresponding icon on the object bar will have a border around it. In the above illustration, bold is on but italic and underline are off.

Set attributes for new text

Each of the attribute icons on the object bar acts as a toggle. If the attribute is on, clicking the icon will switch it off. If the attribute is off, clicking the icon will switch it on.

  • Before typing new text, set each of the attribute settings using the object bar icons as described above. These settings will hold for further text until you change them.

[Note]

If you now move to another part of your document where the settings were set previously, the icons on the object bar will change to reflect the settings of this text.

Change attributes of existing text
  1. Highlight the text whose attributes you wish to change.

  2. Click on the appropriate icons on the object bar to change the attributes.

[Note]

Where you highlight text that contains a mixture of the same attribute, for example, some bold and some unbold text, the situation becomes slightly more complicated. You will need to click the icon two or three times to achieve the desired state.

Apply subscript, superscript to text

Superscript and subscript refers to text, usually in a small font, slightly above or below the body of existing text. The following table illustrates superscript and subscript.

a2 – 2ab + b2 = (a – b)2

Area of house is 129 m2

H2SO4 + Cu => CuSO4 + H2

The term position is used to describe the three options of subscript, superscript and normal.

Create new text in superscript or subscript

The quick way of creating superscripts or subscripts is to use the keyboard shortcuts:

  1. Type your normal text.

  2. When you wish to start text in superscript, press Shift+Ctrl+P and type the superscript.

  3. Press Shift+Ctrl+P a second time to revert to normal text.

  4. Type your normal text, then press Shift+Ctrl+B and type the subscript.

  5. Press Shift+Ctrl+B a second time to revert to normal text.

Convert existing text to superscript or subscript

  1. Highlight the text you wish to convert to superscript or subscript.

  2. Press Shift+Ctrl+P to covert the highlighted text to superscript or Shift+Ctrl+B to convert the text to subscript.

Use the Format menu

  1. Highlight the text you wish to convert to superscript or subscript.

  2. Format->Character

  3. Click the Position tab.

  4. Under Position, select either Normal, Superscript or Subscript.

Use icons

If you use superscript and subscript frequently, you might like to add appropriate icons to the object bar.

The object bar can be customised as follows:

  1. Tools->Configure

  2. Click the Toolbars tab.

  3. Click Customize.

  4. Click on the Toolbars drop down window and select Text ObjectBar.

  5. In the Buttons in use window, tick the Superscript and subscript check boxes as shown on the following screen.

  6. Press OK.

    The superscript and subscript icons will be added to the object bar as shown below. Instead of using the keyboard combinations, you can now use these icons in the same way that you use bold, italic and underline icons.

Apply case changes to text

Once you have typed a block of text you are able to change its case. You may, for example, wish to convert a block of text to upper case (capital letters).

  1. Highlight the text you wish to convert.

  2. Format->Case / Characters

  3. Select either Uppercase or Lowercase as needed.

Apply different colours to text

The colour of text can be changed just like the other attributes.

  1. Format->Character

  2. Click the Font effects tab.

  3. Click on the Font color drop down window to display the available colours.

  4. Select the colour you wish to apply to the text.

  5. Click OK.

As in the case of the other text attributes, you can set the colour of new text before you type it or change the colour of existing text. In the latter case, first highlight the text and then use this procedure.

You may also change the font colour by using a long click on the Font colour icon on the object bar (Hold the left mouse button down until the colour palette is displayed).

Copy formatting from a piece of text to another piece of text

Suppose you have written quite a long document. During a final editing you decide to change the formatting of certain key paragraphs. This could involve, font type, size, colour and other attributes. The long method would be to repeat the formatting procedure manually on each paragraph.

Styles

The more elegant and efficient method would be to format one paragraph very carefully and then copy the formatting to other paragraphs. In order to achieve this, Writer makes use of styles. A style is a set of attributes that can be applied to characters, paragraphs and pages. Each style is given a name.

Writer has styles for characters, paragraphs or pages. The next section will look at styles in more detail. This section will consider the basic use of the character style to copy formatting from one block of text to another.

A character style is a set of attributes that can be applied to individual letters, numeric digits and symbols. The attributes could include font style, size and colour, and bold, italic or underlining.

Copy formatting using character styles

  1. Format the block of text that will serve as the model.

  2. Highlight this text.

  3. Format->Stylist or press F11.

  4. Click the character styles icon, (the second icon) .

  5. Click Default in the list of styles.

  6. Click the New style from selection icon (the second from the end), .

  7. Give the new style a name and click OK.

  8. Click the Update style icon (the last icon), .

  9. Click on the Fill format mode icon (the paint can).

  10. Drag this over the text whose format you wish to change.

  11. Click on the Fill format mode icon or press Esc to stop copying the formatting.

Apply an existing style to a word, a line, a paragraph

Writer offers the user a number of different styles. The following table provides a brief description of the different styles and functions associated with the stylist. This summary is derived from the Writer help system.

Icon

Paragraph styles: Displays formatting styles for paragraphs. Use paragraph styles to apply the same formatting, such as font, numbering, and layout to the paragraphs in your document.

Icon

Character styles: Displays formatting styles for characters. Use character styles to apply font styles to selected text in a paragraph.

Icon

Frame styles: Displays formatting styles for frames. Use frame styles to format frame layouts and position.

Icon

Page styles: Displays formatting styles for pages. Use page styles to determine page layouts, including the presence of headers and footers.

Icon

Numbering styles: Displays formatting styles for numbered and bulleted lists. Use numbering styles to format number and bullet characters and to specify indents.

Icon

Fill format mode: Applies the selected style to the object or text that you select in the document. Click this icon, and then drag a selection in the document to apply the style. To exit this mode, click the icon again, or press Esc.

Icon

New style from selection: Creates a new style based on the formatting of t