OpenOffice at MIT (Draft)This document describes OpenOffice, an office productivity suite similar to Microsoft Office®. OpenOffice includes a word processor, spreadsheet, presentation software, and basic drawing capabilities. It offers the following:
StarOffice is a commercial office suite originally produced by the German company StarDivision. In 1999, Sun Microsystems acquired the company, and released StarOffice 5.2, which was made available at no charge for personal use. They also released much of the source code to the public as the OpenOffice.org project.
Starting with StarOffice 6.0, the two projects share a common code base. StarOffice continues to exist as a commercial product, and includes some proprietry components such as certain Asian fonts, a database component (Adabas D), templates, a clip art gallery, and some file format filters.
StarOffice is available only for Microsoft Windows®, Linux, and Solaris. OpenOffice is available for those platforms, as well as others not supported by StarOffice, most notably MacOS X® (requires Apple X11).
Both StarOffice and OpenOffice are available on Athena (Solaris and Linux) and fully supported by IS&T.
OpenOffice is fully supported by IS&T for stand alone Red Hat Enterprise Linux.
The Windows and Mac versions of these programs are not yet supported by IS&T.
Since StarOffice's features are a superset of OpenOffice's, we have chosen to document OpenOffice.
This document assumes that you are familiar with a graphical desktop environment, and the concept of windows. It also assumes that you are familiar with basic mouse operations such as clicking, selecting, dragging, and right-clicking, and that you are familiar with basic keyboard operations including deleteing text and using the arrow keys to move the cursor.
athena% add ooffice athena% ooffice&
On Red Hat Enterprise Linux (RHEL):
prompt% /usr/bin/ooffice
Or in the GNOME graphical envioronment:
RedHat Menu > Office
Note: On RHEL the programs oocalc, oodraw, ooimpress, oomath, and oowriter will start the Calc, Draw, Impress, Math, and Writer environments of OpenOffice respectively.
Result: A few seconds after you start OpenOffice via any of the above methods, you'll see the OpenOffice logo, and a progress bar indicating the startup procedure.
Hint: OpenOffice is a large application. If you have a slow machine or a slow network connection (on Athena) it may take a minute or more to load.
Normally, when you start up OpenOffice, a large blank window will appear on your screen with a menubar at the top. If you supply the initial ooffice command line with a filename, OpenOffice will open that document (and convert it, if necessary).
OpenOffice includes many built-in help features that you may find useful when learning the program:
If you start OpenOffice without supplying a filename on the command line, you'll see a mostly blank window with a menu bar at the top. The File menu is probably the most important menu in this window as it allows you to create and work with existing files.
Create a new document by selecting:
Then choose the type of document to create.
Result: A new file of the type you selected is open and you can being working with your new file.
The Open command allows you to open OpenOffice documents and documents in other formats. Select:
Set the File Type to the type of file you wish to open, then select your file.
Result: Your file opens in the large OpenOffice window.
Note: OpenOffice can read the following formats (in addition to OpenOffice or StarOffice formats):
Hint: In most cases, OpenOffice can also write documents in those formats, though some converters are only one-way. All OpenOffice documents can be exported in Adobe PDF or HTML for publishing on the web.
OpenOffice toolbar buttons have two modes. All of them operate as normal buttons - when you click the button, the function is performed. However, some buttons have a small turquoise arrow at the top right corner of the button, indicating that if you "long click" the button (ie: press and hold), you will get a drop-down menu or window that gives you more options for the function. For example, if you click the "New" document button, you get a new document of the same type as the current document open. If you long-click the button, you can select which type of new document you want.
OpenOffice Writer is the word processor feature of OpenOffice. To create a new OpenOffice Writer document:
File->New->Text Document
(don't be fooled by 'Text Document' - it's a full featured word processor)
You should now see a blank page, with a border around it, indicating your margin, and a blinking cursor in the top left portion of the page. You may also see a small window titled "Paragraph Styles" - that's a formatting palette that you can safely ignore for now by closing that window or moving it out of the way.

Typing text is pretty straight forward - just start typing, and the text will appear where the cursor is. However, that's pretty boring. So let's examine what you can do with OpenOffice Writer by looking at the different toolbars.
The function toolbar is found directly below the menu bar. It looks like this:
![]()
This toolbar contains functions that are available in every OpenOffice mode (Writer, Calc, etc). This toolbar is located in the same place in every OpenOffice mode.
The large text field at the left is where the name of your document is displayed. Since you haven't yet saved this document, that field is empty. If you click the drop-down arrow on the right of that field, you'll see a list of your recent documents (if there are any). Note that they are specified as URLs - OpenOffice has the ability to obtain a document over the web and open it. Try entering "http://web.mit.edu" in that field - it should open a new window that displays the MIT Web Page as an OpenOffice Document. This can be a handy feature when using OpenOffice to edit your web pages.
Let's now examine the funtion toolbar buttons:
| Create a new document of the same type as the current document. Long-click to select document type. | |
| Open an OpenOffice document, or any of the document types supported by OpenOffice (ie: MS Office) | |
| Save the current document. If this is a new document, you will be prompted for a name. | |
| Opens the document in read-only mode. | |
| "Print" the document to Adobe PDF format - PDF is format designed for exchanging printed copies of files. | |
| Print the document to the default printer | |
| "Cut" the current selected text or object and put it on the clipboard. | |
| Copy the current selected text or object and put it on the clipboard. | |
| Paste the contents of the clipboard into the current document. Long-click to enable special paste options, such as pasting unformatted text or HTML-formatted text. | |
| Undo the last action. Long-click to undo multiple actions. | |
| Redo the last "undone" action. Long-click to redo multiple actions | |
| Open the "navigator" which allows you to easily move between parts of a document. | |
| Open the "Stylist" window, which allows you to select a "style" for portions of a document. | |
| Insert a hyperlink into the current document to link to another OpenOffice document, or any URL. | |
| Opens the Gallery, which contains sounds and graphics and other objects to insert into the document |
The main toolbar is found at the left side of the OpenOffice window. The contents of the main toolbar change depending on the document type open at the time. All of the functions on the toolbar can also be accessed through the menus.
| Inserts a table into the current document. Long-click to insert other objects such as frames and grahics. | |
| Insert special fields into the document, such as author's name, page number, etc. These fields are filled in automatically by OpenOffice. | |
| Insert objects such as charts, formulas, or even Java Applets. | |
| Inserts line art and other objects using OpenOffice's "Draw" function. | |
| Inserts components used in creating an interactive fill-out form. | |
| Create shortcuts for frequently-typed text, allowing you type an abbreviation and have it replaced by the text of your choice. | |
| Toggles "Direct Cursor" mode, which allows you enter text at any point on the page, including beyond the current insertion point. | |
| Checks spelling in the current document. | |
| Toggles Automatic Spell Checking, which checks spelling as you type, and underlines misspelled words in red. | |
| Allows you to find and/or replace text within your document. | |
| Lists data sources available to OpenOffice and allows you to edit them | |
| Toggles non-printing characters such as paragraph marks. Many writers and editors prefer this mode. | |
| Toggles the display of graphics in the document. A document which has many graphics objects may take longer to load and edit. This temporarily replaces the graphics with frames. | |
| Displays the documents in "online" mode as though it were in a web browser. |
| Insert graphics into the current document. Long-click to choose between inserting graphics or special characters. | |
| Insert cells into the current sheet. | |
| Insert objects such as charts, formulas, or even Java Applets. | |
| Inserts line art and other objects using OpenOffice's "Draw" function. | |
| Inserts components used in creating an interactive fill-out form. | |
| Enables "Auto Format", which allows you to select from one of many predefined formats for a cell or create your own. | |
| Applies styles to the selected cells. | |
| Checks spelling in the current document. | |
| Toggles Automatic Spell Checking, which checks spelling as you type, and underlines misspelled words in red. | |
| Allows you to find and/or replace text within your document. | |
| Lists data sources available to OpenOffice and allows you to edit them | |
| Enables AutoFilter, when working with databases. | |
| Sorts the column or sheet in descending order. | |
| Sorts the column or sheet in ascending order. | |
| Mark cells as a group, so they can be manipulated together. | |
| Ungroup cells previously marked as a group. |
| Enables "select" mode (default), which allows you to manipulate objects | |
| Activates the zoom tool, which allows you to change the view of the current slide. Long-click for more zoom options. | |
| Insert text boxes. Long-click to choose different text box styles. | |
| Insert rectangle. Long-click to choose between different rectangle styles, filled or unfilled. | |
| Insert circle or ellipse. Long-click to choose different styles of shapes. | |
| Insert 3-dimensional objects. Long-click to choose specific objects. | |
| Insert curves or lines. Long-click to choose specific styles of lines. | |
| Insert arrows. Long-click to choose a specific style. | |
| Insert connectors between objects, which connect objects even if moved. Long-click to choose connector styles. | |
| Rotate the selected object around any of its axes | |
| Align selected objects. Long-click to specify the alignment orientation. | |
| Stack selected objects. Long-click to select the stacking type. | |
| Insert objects such as charts, formulas, or even Java Applets. | |
| Assigns an effect to an object. This effect will be visible during slide show mode. | |
| Defines behavior of an object when clicked during the presentation. | |
| Defines properties of 3-dimensional objects. | |
| Starts the slide-show for the current presentation. |
The formatting toolbar, below the main toolbar, looks like this:
![]()
The first field contains the current Paragraph style. In most of your documents, you won't need to change this.
The next field contains the current font. If you select the drop-down arrow in that field, you can see a list of fonts, and what they look like. Select a new font if you wish to change the current one.
The third field contains the current point size of the font. For most papers, you'll want to write in 10 or 12 point font.
The first 3 buttons toggle boldface, italics, or underline respectively. You can click these buttons to turn the feature on or off (the button will appear "pressed" if the feature is on), or you can go back to text you typed, select it, and then press the button for the feature you want. Features can also be combined, like this.
The next 4 buttons deal with the alignment of the current paragraph. They are left, centered, right, and justified, in that order. The first 3 are self-explanatory - the 4th option, justified, makes sure each line of the paragraph is approximately the same width, and will adjust spacing accordingly. One typically sees this in newspaper columns.
The 8th and 9th buttons create a numbered list, or a bulleted list, respectively. The numbering of a list is automatic - if you are typing a numbered list, and need to insert another item in the middle, you can simply start typing it, and the list will renumber itself. This makes it easier to create numbered lists. The "Numbering/Bullets" option, under the "Format" menu, allows you to change the bullet icon, or the numbering method. For example, you can use letters (ie: a,b,c) or Roman numerals instead of digits. You can also use squares, checkmarks, or arrows instead of bullets.
The next two buttons indent the current paragraph (such as for a block quote in a paper), and undo the indentation. In this case, the button on the left removes one level of indentation - the button on the right adds one level.
The last 3 buttons deal with color - the one on the left changes the color of the text. The next one highlights text, and the last one changes the background color of the paragraph. With all 3 buttons, you can click and hold, and you should see a color palette appear to select your color. At the top of that color palette will be either "No Fill" or "Automatic" - you can click on that to restore text to the default settings. Keep in mind you will mostly likely be printing in black and white, and thus may wish to pick a light color for highlighting that will show up as a gray in the printed output. If the document is to be produced as a PDF, of course, the original color will be retained.
There's also the Rule bar, which looks like this:
![]()
The scale on the bar is in inches, and each dot represents 1/10 of an inch. The 0 point begins at the page's left margin, which can be set in the "Page" option of the "Format" menu.
The two arrows pointing at each other at the zero point set indentation for paragraphs. The top one sets how much the first line will be indented - the bottom one sets how much the left side of the paragraph will be indented. To change their settings, click and drag them to the place you want. Note that moving the bottom one will also move the top one a relative number of spaces. You can also click at any point in the rule bar to set a tab stop, which looks like a right angle. By default, tab stops are set every inch.
Typing a text document in OpenOffice is simple - just start typing! The insertion point (a blinking horizonal bar) can be moved within the document (but not past the end of the current text, unless Direct Cursor is enabled) by clicking the left mouse button or using the arrow keys. Selecting text is a accomplished by dragging across the text with the left mouse button, or by holding down the "Shift" key while using the arrow keys.
Once text is selected, any number of operations can be performed on the text (such as double-spacing, centering, bold, italics, etc) by using the menus or function bar.
Fonts can be changed by selecting text and choosing a new font from the font menu. The font menu offers a preview of the font style.
Insert > Header and Insert > Footer lead to a Standard style header or footer the first time you use this feature; other styles may be added later. A Standard header or footer appears on every page, including the first one. Predefined tab stops allow text to be placed at the center of the page and at the right margin.
One of the most common uses of a header or footer is for the page number. Go to Insert > Fields > Page Numbers. This will place the current page number at the insertion point. Other commonly used fields that can be accessed in this way are the date, time, and page count (i.e., the total number of pages in the document).
Good style requires that there be no header on the first page; so to suppress it on page 1, you need to create a First Page style header. The process is:
These can be placed in a document by going to Insert > Footnote. The dialog box gives you the option of making the reference a footnote or an endnote; of using automatic numbering or using a special character to designate the reference. Pressing the OK button then takes you to the text area where the text of the reference can be added.
OpenOffice has an equation editor, at Insert > Object > Formula, which is capable of fairly sophisticated formatting.
Upon entering the equation editor, a Commands window opens. Here you can type the equation, and (after a small delay) the results will appear in an object box in the main text window. Alternatively, you may choose from a menu that appears by right-clicking with the mouse pointer over the command window. For example:
![]()
is produced by typing
D sub L = j + {1 over {abs{%lambda sub {j+1}}}} sum from k=1 to j %lambda sub k
Curly braces {} are used to group the various parts of the equation. The sub, over, abs, and sum formatting commands can be typed into the command window or selected from the pop-up menu. Greek characters can be typed by preceding the letter with a % sign, or by clicking on the Sigma icon on the left border of the text window. Click in the main OpenOffice window to close the formula editor.
Transferring between file formats
Equations written in MS Word are likely to be properly interpreted by OpenOffice, but testing suggests that the reverse is not necessarily the case: Do not rely on OpenOffice to produce a proper Microsoft Equation object. (Microsoft Office modules do not support translation from StarOffice file formats.)
LaTeX equations are not supported.
An equation written in one of the math packages such as Maple and saved in HTML form can be imported into OpenOffice; it is automatically converted to GIF format and placed in an images subdirectory of your home directory. (As a graphic object, the print quality is fuzzy.)
None of these imported formats can be edited in OpenOffice.
OpenOffice Calc is the spreadsheet module of OpenOffice. To create a new spreadsheet document:
File->New->Spreadsheet
You should now see an empty spreadsheet window, that looks like this:

The function toolbar is exactly the same as it is in OpenOffice Writer. In place of the formatting toolbar, there is the Object toolbar, which looks like this:
![]()
The first two fields allow you to select the font and font size, respectively. The next three buttons allow you to toggle Bold, Italics, or Underline styles for the current font, and the fourth button allows you to select the font color.
The next 4 buttons deal with the alignment of the current paragraph. They are left, centered, right, and justified, in that order. The first 3 are self-explanatory - the 4th option, justified, makes sure each line of the paragraph is approximately the same width, and will adjust spacing accordingly. One typically sees this in newspaper columns.
The next group of 5 buttons allow you to change the formatting of a particular cell or group of cells. The first button with the icon of a stack of coins formats the cell as "Currency". The next one formats it as a percentage. The third button removes any previously applied formatting. The fourth and fifth buttons increase or decrease (respectively) the number of decimal places displayed. Note that none of these options actually changes the value, merely how it is displayed in the cell.
The next two buttons indent the current paragraph, and undo the indentation. In this case, the button on the left removes one level of indentation - the button on the right adds one level.
The next two buttons allow you to choose a border and background color for a cell or group of cells.
The last 3 buttons control the vertical alignment of a cell's contents. The buttons align the contents to the top, middle, or bottom, respectively.
![]()
The forumla toolbar can assist you with entering a forumla in a cell.
The most common type of formula used in a spreadsheet is the "SUM" formula, which totals the selected cells. OpenOffice makes it easy to sum a group of cells. Simply click the mouse in the cell in which you want the total to appear. Then click the "Sum" icon (in the shape of the Greek letter sigma). The formula field will now contain "=SUM()", and two new buttons will appear to the left of the field - a green checkmark and a red "X". You can move the mouse pointer to the first cell in a row or column, and click and hold the mouse button while moving the pointer down a column or across a row. A red rectangle will appear around the selected cells, and a range of cells will be specified in in the formula bar. (For example, if you started at cell B2 and dragged the pointer down to cell B15, you would see "=SUM(B2:B15)" in the Formula field. Then, click the green checkmark to accept the formula (or simply press 'Enter'), or the red "X" to cancel. If you chose to accept the formula, you would see the total of all the cells in the range you selected appear in the cell you initially chose to receive the total.
There are many more formulas available in OpenOffice Calc. The small button to the left of the Sigma in the toolbar is an "AutoPilot" wizard, which can guide you through setting up complex formulas.

The tab on the left shows all the functions available in OpenOffice, while the pane on the right gives details about what the function does and what arguments it takes. Select the function you want, and click "Next". You will then be prompted to enter the function inputs.

You can either type in a static value, select a cell from the spreadsheet, or click the "Fx" button, which will allow you enter another function whose result will be the input to this function. The formula field, at the bottom of the window, will display the constructed formula, and the Result field will show you what the result will be. Currently, it displays an error code, since the function contains no valid input.
Formulas can also be entered by hand, but they must begin with an equals (=) sign.
OpenOffice Calc spreadsheets are actually "workbooks" which contain several spreadsheets. In the bottom left of the OpenOffice window, you can see spreadsheet tabs:
![]()
These allow you to select different spreadsheets in the workbook. You can rename the tabs by clicking the right mouse button on the tab, and choosing "Rename sheet". This feature can be useful if you have several spreadsheets which fall into the same category. For example, you could have a file named "budget" that has separate tabs for each month's budget. Additional tabs can be created by right-clicking in the tab area and choosing "Insert Sheet" from the pop-up menu.
OpenOffice Presentation is presentation software similar to Microsoft PowerPoint®.
When you create a new Presentation, you'll be presented with an AutoPilot window:

You can choose to create an empty presentation, or use one of the templates. In this document, we will not use the templates. Click Next after making your selection.

In the next window, you can select a background color scheme, and a target output medium.

In the final window, you can select what, if any, transition you want between slides, and whether slides will be changed manually or automatically.

Once the presentation is created, you can create the first slide. Select a blank slide, or a pre-defined layout, and click ok. In this example, we'll accept the default of "Title Slide".

In an slide template, such as this one, title and body areas have been pre-defined for you, and you can click in those areas to add your text and a slide title. The small dialog box over the window can be used for quick access to functions, such as inserting a new slide, changing the layout, or duplicating the current slide. These functions can also be accessed via the menus.
\
The Object toolbar in Presentation mode allows you to control the look and feel of lines and filled areas, when selected.
Adobe Portable Document Format, or PDF, is a cross-platform format commonly used for distributing final copies of documents. To create a PDF file, click the "PDF" button in the function bar, or choose "Export to PDF" from the File menu. You will be prompted for a name and location to save the file. This file can then be e-mailed, posted on the web, or saved for printing at another location.
To preview what the printed file will look like, choose "Preview" from the "File" menu. The window content will change to show a preview, and add a new toolbar which will let you zoom in and out, or close preview mode.
Note: This section applies only to Athena workstations. On Redhat Enterprise Linux installations, printer setup is done via the "System Settings" option of the GNOME menu. OpenOffice will be able to print to any printer configured on your workstation.
Athena, like any Unix system, stores information about which printer you commonly use in an environmental variable called $PRINTER. To see your printer, type:
athena% echo $PRINTER
at the Athena prompt. If there is an association between your workstation and a printer, the printer name will appear. If no name appears, then no printer has been defined for your workstation.
By default, OpenOffice prints to whatever printer queue has been defined in $PRINTER. So if $PRINTER is empty, the file has nowhere to go, and an error message appears in the Athena xterm window.
Changing printers
The Athena installation of OpenOffice includes a list of all the printers in the public clusters. To select one, from within a document go to File > Printer Settings or File > Print. A dialog box will appearwith that list. Select the printer you wish to use.
|
|
Comments and feedback to olh-suggest@mit.edu
|