0101GS33 IntroducingOOo
0101GS33 IntroducingOOo
Chapter 1
Introducing
OpenOffice.org
Copyright
This document is Copyright © 2005–2010 by its contributors as listed below. You may
distribute it and/or modify it under the terms of either the GNU General Public
License (http://www.gnu.org/licenses/gpl.html), version 3 or later, or the Creative
Commons Attribution License (http://creativecommons.org/licenses/by/3.0/), version
3.0 or later.
All trademarks within this guide belong to their legitimate owners.
Contributors
Thomas Astleitner Richard Barnes
Agnes Belzunce Daniel Carrera
Laurent Duperval Richard Holt
Ian Laurenson Alan Madden
Carol Roberts Iain Roberts
Gary Schnabl Janet M. Swisher
Jean Hollis Weber Linda Worthington
Michele Zarri
Feedback
Please direct any comments or suggestions about this document to:
[email protected]
Introducing OpenOffice.org 3
Closing OpenOffice.org................................................................................................ 24
Using OpenOffice.org on a Mac...................................................................................25
4 Introducing OpenOffice.org
What is OpenOffice.org?
OpenOffice.org (OOo) is both a software product and a community of volunteers who
produce and support the software.
Calc (spreadsheet)
Calc has all of the advanced analysis, charting, and decision-making features
expected from a high-end spreadsheet. It includes over 300 functions for financial,
statistical, and mathematical operations, among others. The Scenario Manager
provides “what if” analysis. Calc generates 2-D and 3-D charts, which can be
integrated into other OOo documents. You can also open and work with Microsoft
Excel workbooks and save them in Excel format. Calc can export spreadsheets to
Adobe’s PDF and to HTML.
Impress (presentations)
Impress provides all the common multimedia presentation tools, such as special
effects, animation, and drawing tools. It is integrated with the advanced graphics
capabilities of OOo’s Draw and Math components. Slide shows can be further
enhanced with Fontwork’s special effects text, as well as sound and video clips.
Impress is compatible with Microsoft’s PowerPoint file format and can also save your
work in numerous graphics formats, including Macromedia Flash (SWF).
What is OpenOffice.org? 5
own connection points. You can use Draw to create drawings for use in any of OOo’s
other components, and you can create your own clip art and add it to the Gallery.
Draw can import graphics from many common formats and save them in over 20
formats, including PNG, HTML, PDF, and Flash.
Base (database)
Base provides tools for day-to-day database work within a simple interface. It can
create and edit forms, reports, queries, tables, views, and relations, so that managing
a connected database is much the same as in other popular database applications.
Base provides many new features, such as the ability to analyze and edit relationships
from a diagram view. Base incorporates HSQLDB as its default relational database
engine. It can also use dBASE, Microsoft Access, MySQL, or Oracle, or any ODBC-
compliant or JDBC-compliant database. Base also provides support for a subset of
ANSI-92 SQL.
6 Introducing OpenOffice.org
– You do not need to know which application was used to create a particular
file. For example, you can open a Draw file from Writer.
• Granularity. Usually, if you change an option, it affects all components .
However, OOo options can be set at a component level or even document level.
• File compatibility. In addition to its native OpenDocument formats, OOo
includes PDF and Flash export capabilities, as well as support for opening and
saving files in many common formats including Microsoft Office, HTML, XML,
WordPerfect, and Lotus 1-2-3 formats. New in OOo3 (using an extension): the
ability to import and edit some PDF files.
• No vendor lock-in. OOo3 uses OpenDocument, an XML (eXtensible Markup
Language) file format developed as an industry standard by OASIS
(Organization for the Advancement of Structured Information Standards).
These files can easily be unzipped and read by any text editor, and their
framework is open and published.
• You have a voice. Enhancements, software fixes, and release dates are
community-driven. You can join the community and affect the course of the
product you use.
You can read more about OpenOffice.org, its mission, history, licensing, and other
organizational information on the OpenOffice.org website,
http://www.openoffice.org/.
Minimum requirements
OpenOffice.org 3.x requires one of the following operating systems:
• Microsoft Windows 2000 (Service Pack 2 or higher), XP, Vista, or 7
• GNU/Linux Kernel version 2.4 and glibc 2.3.2 or higher (starting with OOo 3.3
glibc2 version 2.5 or higher is required)
• Mac OS X 10.4 (Tiger) or higher
• Solaris 10 OS or higher
Some OpenOffice.org features (wizards and the HSQLDB database engine) require
that the Java Runtime Environment (JRE) 1.5.x or higher be installed on your
computer. Although OOo will work without Java support, some features will not be
available. You can download OOo for some operating systems with or without JRE
included. If you have a slow machine and do not often need the features requiring
JRE, you can try to disable it to speed up the loading of the program.
For a more detailed (and up-to-date) listing of requirements, see the OpenOffice.org
website, http://www.openoffice.org/dev_docs/source/sys_reqs_30.html.
Help system
OOo comes with an extensive Help system. This is your first line of support for using
OOo.
To display the full Help system, press F1 or select OpenOffice.org Help from the
Help menu. In addition, you can choose whether to activate Tips, Extended tips, and
the Help Agent (using Tools > Options > OpenOffice.org > General).
If Tips are enabled, place the mouse pointer over any of the icons to see a small box
(“tooltip”) with a brief explanation of the icon’s function. For a more detailed
explanation, select Help > What's This? and hold the pointer over the icon.
8 Introducing OpenOffice.org
Free OpenOffice.org support
Templates, user guides, how-tos, and other documentation.
Documentation http://documentation.openoffice.org/
Project See also the Documentation wiki,
http://wiki.services.openoffice.org/wiki/Documentation
Native Language Information, resources, and mail lists in your language.
Project http://projects.openoffice.org/native-lang.html
Support for installing and using OOo on Mac OS X.
Mac Support
http://porting.openoffice.org/mac/index.html
Extensive discussion forum for OpenOffice.org issues from
OpenOffice.org
setup to advanced programming features.
Community Forum
http://user.services.openoffice.org/en/forum/
Andrew Pitonyak, the author of OpenOffice.org Macros
OpenOffice.org Explained, maintains this site, which provides extensive
Macro Information documentation on OOo’s macro capability. Many good referral
links are also provided: http://www.pitonyak.org/oo.php
Starting OpenOffice.org
The most common way to launch any component of OOo is by using the system menu,
the standard menu from which most applications are started. On Windows, it is called
the Start menu. On GNOME, it is called the Applications menu. On KDE it is
identified by the KDE logo. On Mac OS X, it is the Applications menu.
When OOo was installed on your computer, in most cases a menu entry for each
component was added to your system menu. (If you are using a Mac, see note below.)
The exact name and location of these menu entries depend on the operating system
and graphical user interface.
Starting OpenOffice.org 9
Note for Windows users
If you have associated Microsoft Office file types with OOo, then when you double-
click on a *.doc (Word) file, it opens in Writer; *.xls (Excel) files open in Calc, and
*.ppt (PowerPoint) files open in Impress.
If you did not associate the file types, then when you double-click on a Microsoft
Word document, it opens in Microsoft Word (if Word is installed on your computer),
Excel files open in Excel, and PowerPoint files open in PowerPoint.
You can use another method to open Microsoft Office files in OOo and save in those
formats from OOo. See “Opening an existing document” on page 18 for more
information.
10 Introducing OpenOffice.org
Disabling the Quickstarter
To close the Quickstarter, right-click on the icon in the system tray, and then click
Exit Quickstarter on the pop-up menu. The next time the computer is restarted, the
Quickstarter will be loaded again.
To prevent OpenOffice.org from loading during system startup, deselect the Load
OpenOffice.org during system start-up item on the pop-up menu. You might want
to do this if your computer has insufficient memory, for example.
There is more than one way to start OOo from the command line, depending on
whether you have installed a customized version or the standard download from the
OOo website.
If you installed using the download on the OOo website, you can start Writer by
typing at the command line:
soffice -writer / ooffice -writer
or
owriter
Writer will start and create a new document. Likewise, you can start other OOo
components from the command line; in Windows:
Starting OpenOffice.org 11
Type of document Component Command-line option
Text Writer -writer
Spreadsheet Calc -calc
Drawing Draw -draw
Presentation Impress -impress
Formula Math -math
Database Base -base
Web page Writer -web
To see a list of options you can use when starting Writer at the command line in
Windows, type:
soffice -?
Below is a list of some of the more popular options.
Option Description
-help Get a complete list of options.
-nologo Do not show the startup screen.
-show <odp-file> Start presentation immediately.
-view <documents ...> Open documents in viewer (read-only) mode.
-minimized Start OOo minimized.
-norestore Suppress restart/restore after fatal errors.
-invisible No startup screen, no default document, and no UI.
This is useful for third-party applications that use
functionality provided by OOo.
If you have a customized version of OOo (such as the one provided by Linux
Mandrake, Gentoo, Debian and Ubuntu), you can start Writer by typing at the
command line: oowriter
Although the command syntax differs, the effect is identical: it starts OOo with an
empty Writer document.
Menu bar
The Menu bar is located across the top of the OOo window, just below the Title bar.
When you choose one of the menus listed below, a submenu drops down to show
commands.
12 Introducing OpenOffice.org
• File contains commands that apply to the entire document such as Open, Save,
and Export as PDF.
• Edit contains commands for editing the document such as Undo: xxx (where
xxx is the command to undo) and Find & Replace. It also contains commands
to cut, copy, and paste selected parts of your document.
• View contains commands for controlling the display of the document such as
Zoom and Web Layout.
• Insert contains commands for inserting elements into your document such as
Header, Footer, and Picture.
• Format contains commands, such as Styles and Formatting and AutoCorrect,
for formatting the layout of your document.
• Table shows all commands to insert and edit a table in a text document.
• Tools contains functions such as Spelling and Grammar, Customize, and
Options.
• Window contains commands for the display window.
• Help contains links to the OpenOffice.org Help file, What’s This?, and
information about the program. See “How to get help“ on page 8.
Toolbars
OOo has several types of toolbars: docked, floating, and tear-off. Docked toolbars can
be moved to different locations or made to float, and floating toolbars can be docked.
The top docked toolbar (default position) is called the Standard toolbar. The Standard
toolbar is consistent across the OpenOffice.org applications.
The second toolbar across the top (default location) is the Formatting toolbar. It is a
context-sensitive bar that shows the relevant tools in response to the cursor’s current
position or selection. For example, when the cursor is on a graphic, the Formatting
bar provides tools for formatting graphics; when the cursor is in text, the tools are for
formatting text.
Moving toolbars
To move a docked toolbar, place the mouse pointer over the toolbar handle (the small
vertical bar to the left of the toolbar), hold down the left mouse button, drag the
toolbar to the new location, and then release the mouse button (Figure 3). To move a
floating toolbar, click on its title bar and drag it to a new location (Figure 4).
Floating toolbars
OOo includes several additional context-sensitive toolbars, whose defaults appear as
floating toolbars in response to the cursor’s current position or selection. For
example, when the cursor is in a table, a floating Table toolbar appears, and when the
cursor is in a numbered or bullet list, the Bullets and Numbering toolbar appears.
You can dock these toolbars to the top, bottom, or side of the window, if you wish (see
“Moving toolbars” above).
14 Introducing OpenOffice.org
Docking/floating windows and toolbars
Toolbars and some windows, such as the Navigator and the Styles and Formatting
window, are dockable. You can move, resize, or dock them to an edge.
To dock a window or toolbar, hold down the Control key and double-click on the
frame of the floating window (or in a vacant area near the icons at the top of the
floating window) to dock it in its last position.
To undock a window, hold down the Control key and double-click on the frame (or a
vacant area near the icons at the top) of the docked window.
Customizing toolbars
You can customize toolbars in several ways, including choosing which icons are
visible and locking the position of a docked toolbar. You can also add icons and create
new toolbars, as described in Chapter 14.
To access a toolbar’s customization options, use the down-arrow at the end of the
toolbar or on its title bar.
To show or hide icons defined for the selected toolbar, choose Visible Buttons from
the drop-down menu. Visible icons are indicated by an outline around the icon. Click
on icons to hide or show them on the toolbar.
Unsaved changes
An asterisk (*) appears here if changes to the document have not been saved.
Digital signature
If the document has been digitally signed, an icon shows here. You can
double-click the icon to view the certificate.
Object information
Displays information relevant to the cursor’s position or the selected element of
the document. Double-clicking in this area usually opens a relevant dialog.
16 Introducing OpenOffice.org
What are all these things called?
The terms used in OpenOffice.org for most parts of the user interface (the parts of
the program you see and use, in contrast to the behind-the-scenes code that actually
makes it work) are the same as for most other programs.
A dialog is a special type of window. Its purpose is to inform you of something, or
request input from you, or both. It provides controls for you to use to specify how to
carry out an action. The technical names for common controls are shown in Figure 9;
not shown is the list box (from which you select an item). In most cases we do not use
the technical terms in this book, but it is useful to know them because the Help and
other sources of information often use them.
In most cases, you can interact only with the dialog (not the document itself) as long
as the dialog remains open. When you close the dialog after use (usually, clicking OK
or another button saves your changes and closes the dialog), then you can again work
with your document.
Some dialogs can be left open as you work, so you can switch back and forth between
the dialog and your document. An example of this type is the Find & Replace dialog.
You can also start a new document in one of the following ways.
• Use File > New and choose the type of document.
• Use the arrow next to the New button on the main toolbar. From the drop-
down menu, select the type of document to be created.
• Press Control+N on the keyboard.
• Use File > Wizards for some special types of documents.
If a document is already open in OOo, the new document opens in a new window.
18 Introducing OpenOffice.org
You can also open an existing document in one of the following ways.
• Choose File > Open...
• Click the Open button on the main toolbar.
• Press Control+O on the keyboard.
In each case, the Open dialog appears. Select the file you want, and then click Open.
If a document is already open in OOo, the second document opens in a new window.
In the Open dialog, you can reduce the list of files by selecting the type of file you are
looking for. For example, if you choose Text documents as the file type, you will only
see documents Writer can open (including .odt, .doc, .txt); if you choose
Spreadsheets, you will see .ods, .xsl, and other files that Calc opens.
You can also open an existing document that is in an OpenDocument format by
double-clicking on the file’s icon on the desktop or in a file manager such as Windows
Explorer.
If you have associated Microsoft Office file formats with OOo, you can also open
these files by double-clicking on them.
Under Microsoft Windows you can use either the OOo Open and Save As
Note dialogs or the ones provided by Microsoft Windows. See “Using the
Open and Save As dialogs” on page 20.
Saving a document
To save a new document, do one of the following:
• Press Control+S.
• Choose File > Save from the menu bar.
• Click the Save button on the main toolbar.
When the Save As dialog appears, enter the file name, verify the file type (if
applicable), and click Save.
To save an open document with the current file name, choose File > Save. This will
overwrite the last saved state of the file.
Password protection
To protect an entire document from being viewable without a password, use the
option on the Save As dialog to enter a password.
1) On the Save As dialog, select the Save with password option, and then click
Save. You will receive a prompt (Figure 11).
2) Type the same password in both fields, and then click OK. If the passwords
match, the document is saved password protected. If the passwords do not
Saving a document 19
match, you receive an error message. Close the message box to return to the
Set Password dialog box and enter the password again.
Caution OOo uses a very strong encryption mechanism that makes it almost
impossible to recover the contents of a document if you lose the
password.
Writer and Calc provide a second level of protection, which allows a file to be viewed
but not changed without a password; that is, the file opens in read-only mode.
20 Introducing OpenOffice.org
This section discusses the OpenOffice.org Open and Save As dialogs. Figure 12 shows
the Save As dialog; the Open dialog is similar.
The three buttons in the top right of the OOo Open and Save As dialogs are, from left
to right:
• Go Up One Level in the folder (directory) hierarchy. Click and hold this button
for a second to drop down a list of higher level folders; to go to one of the
folders on the list, move the mouse pointer over its name and release the
mouse button.
• Create New Folder.
• Default Directory.
For OOo documents that have been saved with more than one version, use the
Version drop-down to select which version you wish to open in read-only mode. For
Microsoft Office documents, only the current version can be opened.
Use the File type field to specify the type of file to be opened or the format of the file
to be saved.
The Read-only option on the Open dialog opens the file for reading and printing only.
Consequently, most of the toolbars disappear, and most menu options are disabled.
An Edit File button is displayed on the Standard toolbar to open the file for editing.
You can open files from the Web by typing a URL in the File name field on the Open
dialog.
To open the Navigator, click its icon on the Standard toolbar, or press F5, or
choose View > Navigator on the menu bar.
You can dock the Navigator to either side of the main OOo window or leave it floating
(see “Docking/floating windows and toolbars“ on page 15).
Click the marker (+ or arrow) by any of the categories to display the list of objects in
that category.
To hide the list of categories and show only the toolbars at the top, click the List Box
On/Off icon . Click this icon again to show the list box.
The Navigator provides several convenient ways to move around a document and find
items in it:
• When a category is showing the list of objects in it, double-click on an object to
jump directly to that object’s location in the document.
Objects are much easier to find if you have given them names when creating
them, instead of keeping OOo’s default graphics1, graphics2, Table1, Table2,
and so on—which may not correspond to the position of the object in the
document.
If you only want to see the content in a certain category, highlight the category
and click the Content View icon . Until you click the icon again, only the
objects of that category will be displayed.
22 Introducing OpenOffice.org
• Click the Navigation icon (second icon from the left at the top of the
Navigator) to display the Navigation toolbar. Here you can pick one of the
categories and use the Previous and Next icons to move from one item to the
next. This is particularly helpful for finding items like bookmarks and indexes,
which can be difficult to see.
The names of the icons (shown in the tooltips) change to match the selected
category; for example, Next Graphic or Next Bookmark.
To undo the most recent change, press Control+Z, or click the Undo icon on the
Standard toolbar, or choose Edit > Undo from the menu bar.
The Edit menu shows the latest change that can be undone (see below for an example
from Writer).
Click the small triangle to the right of the Undo icon to get a list of all the changes
that can be undone. You can select multiple changes and undo them at the same time.
After changes have been undone, Redo becomes active. To redo a change, select
Edit > Redo, or press Control+Y or click on the Redo icon . As with Undo, click
on the triangle to the right of the arrow to get a list of the changes that can be
reapplied.
To modify the number of changes OpenOffice.org remembers, choose Tools >
Options > OpenOffice.org > Memory and in the Undo section change Number of
steps. Be aware that asking OOo to remember more changes consumes more
computer memory.
Closing a document
To close a document, choose File > Close.
You can also close a document by clicking on the Close icon on the document
window. This button looks like the X shown in Figure 17. It may be in a different
location on your operating system.
24 Introducing OpenOffice.org
Caution
Not saving your document could result in the loss of recently made
changes, or worse still, your entire file.
Closing OpenOffice.org
To close OOo completely, choose File > Exit, or close the last open document as
described in “Closing a document” above.
If all the documents have been saved, OOo closes immediately. If any documents have
been modified but not saved, a warning message appears. Follow the procedure in
“Closing a document” to save or discard your changes.