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] 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] 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.