OpenOffice.org Address Books and Form Letters
OpenOffice 1.0 is a multi-platform office suite based on the StarOffice code base. It includes standard applications such as a word processor, a spreadsheet program, a presentation manager and a drawing program. This article will introduce the form letter ability of OpenOffice.org's word processor and illustrate several ways to import data into the application.
Form letters are documents that contain fields that are populated when the document is printed. The information used to populate these fields is pulled from a database called an address book.
Address books can be imported from existing sources such as Netscape's address book or an LDAP server. They can also be created from a dBase file, spreadsheets or plain-text files. OpenOffice.org's wizard, called AutoPilot (see Figure 1), can ease the task of importing address information. Examples of using AutoPilot are presented below.
After an address book has been created, the information it contains can be accessed by clicking View -> Data Sources (see Figure 2). This opens up a new window along the top edge of the document that lists all of the available data sources.
To import the address book from either Mozilla 1.0 or Netscape 6, click File -> AutoPilot -> Address Data Source. Select Mozilla / Netscape 6.x and click the Next button. Select whether to use the Personal or Collected addresses, and click the Next button. Finally, supply a name for this data source, and click the Create button.
An OpenOffice.org spreadsheet can be used as an address data source fairly easily. When you create a spreadsheet to use as an address book, the first line should contain column headings such as First Name, Last Name, Phone and Email Address. These column headings will be used when the spreadsheet is imported.
In the AutoPilot's Address Data Source wizard, select Other External Data Source and click Next. Click on the Settings button, which brings up the Create Address Data Source window (see Figure 3).
Select Spreadsheet in the database type dropdown box, and enter the spreadsheet filename in the Data Source URL field. Click OK to close the Create Address Data Source window.
Next, map the spreadsheet columns to OpenOffice.org's address fields. This is accomplished by clicking on the Field Assignment button, selecting the appropriate spreadsheet column header for each address field and then clicking OK (see Figure 4).
Plain-text files also can be imported and used as address data sources. The first line of the file should contain field headings separated by tabs.
Again, select Other External Data Source from the Auto Pilot and click on the Settings button. In the Create Address Data Source window, select Text as the database type and specify the directory containing the text file as the Data Source URL.
Click on the Text tab and put a check next to Text Contains Headers. Select the appropriate data field separator (tabs in this case) and the extension that you used for the text file. Click on the Tables tab and put a check mark next to the text file containing your address data, then click OK. Match OpenOffice.org's address fields with the headings in the first line of your text file, the same way as you would with spreadsheets, and click OK.
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- ServersCheck's Thermal Imaging Camera Sensor
- The Italian Army Switches to LibreOffice
- Linux Mint 18
- Chris Birchall's Re-Engineering Legacy Software (Manning Publications)
- Petros Koutoupis' RapidDisk
- Oracle vs. Google: Round 2
- The FBI and the Mozilla Foundation Lock Horns over Known Security Hole
- Privacy and the New Math
Until recently, IBM’s Power Platform was looked upon as being the system that hosted IBM’s flavor of UNIX and proprietary operating system called IBM i. These servers often are found in medium-size businesses running ERP, CRM and financials for on-premise customers. By enabling the Power platform to run the Linux OS, IBM now has positioned Power to be the platform of choice for those already running Linux that are facing scalability issues, especially customers looking at analytics, big data or cloud computing.
￼Running Linux on IBM’s Power hardware offers some obvious benefits, including improved processing speed and memory bandwidth, inherent security, and simpler deployment and management. But if you look beyond the impressive architecture, you’ll also find an open ecosystem that has given rise to a strong, innovative community, as well as an inventory of system and network management applications that really help leverage the benefits offered by running Linux on Power.Get the Guide