Desktop publishing is easy, and it also can be fun. With OpenOffice.org you have a rich selection of tools to create high-quality documents for personal or business use.
Desktop publishing (DP for short) differs from word processing. In word processing, you type pages of characters and numbers to create documents for others to read. They might include graphics, such as tables and charts, to illustrate points made in the text, but the goal is to create a written document to convey information. In DP, you use graphics, along with text, to create a document with more visual appeal. Look at any printed advertising--the graphics in the document often are more important than the written word.
A while ago, I needed to create a simple one-page document--a Christmas gift card--to give with a set of open-source CDs (OpenOffice.org 1.1.0 for Microsoft Windows and Knoppix 3.3) that I made for colleagues and friends. I also wanted to test the abilities and performance of OO.o 1.1.0. I had used previous versions of OO.o for simple tasks with less than enthusiastic results. I was anxious to see how OO.o 1.1.0 would perform on a real DP test.
I am not a desktop publishing professional or a graphic artist. My DP experience has been limited to writing documents for my employer or for personal use, such as Letters to the Editor, resumes and cover letters. I've used other desktop publishing programs, such as Microsoft Publisher and CorelDraw for Windows, to create simple documents and to make signs and flyers.
The computer I did this work on is a home-built box with a 1.2 GHz AMD Athlon Thunderbird processor running on an ASUS mainboard. It has 512MB of RAM and has two IDE hard disks. I am running SuSE Linux 8.1 Professional with a SuSE-compiled 2.4.21-athlon kernel. The desktop is KDE 3.1.2.
Before you begin planning a project, you need to understand a few basics of DP. Text is letters and numbers and special characters typed on a page. Text is put into a DP document exactly where you want it by placing text boxes on the page. You then type your text in the box (see Figure 1_. Text boxes can be moved, rotated and resized. Clicking on the text box allows you either to type characters or to paste them in from another document. You can format text fonts and sizes and other attributes such as making it boldface, italicized or underlined.

Figure 1. A simple text box in editing mode, indicated by the hatched border. The green squares are the "handles" used to resize the text box.
You must make sure your text fits into the box and does not overrun. You can reformat and resize the text (or edit it) to make it fit. You also can resize the text box, as we will see below.
Graphics and images are considered to be objects. These also are inserted into the document and moved to their desired location. With OpenOffice.org, you have a tremendous amount of control. You can precisely place your image and resize it by shrinking or stretching it or by resizing it and keeping the proportions in tact. You can rotate it and choose the axis of rotation, as well.
Graphics can include charts, tables, graphs, raster or vector graphics and images of any format including JPEGs, GIFs, TIFFs and PNGs. For more information on these file formats and on the differences between raster and vector graphics, see Resources.
So, how do you manipulate text boxes and images? Clicking on a text box or image object activates it by making it the active layer. You can see small green boxes at the corners of the object (including text boxes). These boxes are "handles" you can "grab" with your mouse pointer by clicking on them, holding down the left mouse button, and move by dragging the mouse. Figure 1 shows the mouse pointer changed to a double-arrowed line indicating the handle--and the side of the text box--can be moved to the left or right. Releasing the left mouse button sticks the handle in place. When you place your mouse pointer over the active object, you should see arrows indicating that you can move the object. A set of arrows in a cross formation indicates you can move the object in any direction. A diagonal, vertical or horizontal arrow set indicates you can move only that corner or handle to resize the entire object.
Figure 2 illustrates an object--our beloved Tux--being moved to a new location on the page. The shadowed Tux is at the original location and the full-color image with the handles is being moved to its new location.

Figure 2. Graphics and text boxes can be moved on the workspace. Here we are moving Tux from his original location indicated by the shadowed Tux to his new location. The active layer is indicated by the visible object handles.
When you want to rotate an object, you have some interesting choices. You can choose a pre-determined rotation, such as 90 or 180-degrees, or you can custom rotate the object. When you choose to custom rotate, you can choose the axis of rotation and exact rotation of the object. When you drag the corner of the object to rotate it, and you see as in Figure 3 a semi-circle with arrows on it indicating rotation.

Figure 3. Objects can be custom rotated. Here Tux is being rotated clockwise as though he had too much holiday cheer. The object handles have turned to red, and the pointer turns into a visible semi-circle. The object rotation tear-off is visible.
For this project we create text boxes, move and rotate them. We need to edit and format the text we put into the boxes to make sure it fits. We'll also be hunting around the Web for an appropriate graphic and insert it into our document, move it around, resize it and rotate it.
Before you sit down at your keyboard and open OO.o, you need to have a plan. The best way to do this is with old-fashioned pencil and paper. Get out a pad of paper and draw what you want to do. Where do you want the graphics to go? What about text? What orientation? What about logos and other artwork?
You should have a good idea about the text you plan to use. What font and size, and how long will the text be? It needs to fit into the text boxes you make, and it needs to formated so it makes the point you wish to convey in your document.
Figure 4 shows what I did. First, I drew lines to divide the page into quarters. I then folded the page into quarters and oriented it like a greeting card. I roughly drew where I wanted the text to go and where graphics should be placed. Opening up the rough layout gave me a guide on where I needed to place text and objects.

Figure 4. The basic layout, made with paper and pencil. This helps guide you in placing objects, text and artwork.
Don't be afraid to make mistakes here or at any other point in the process. You probably will make changes as your project takes shape. If it is a complex project, you may need several revisions, even at this stage, before you start working on the computer. If you need to back out of a change you just made, press the Ctrl-z keys, as in any other DP program.
Before I had a finished product I made several changes. I used three different graphics before I found one that I liked. I inserted them, resized and rotated them, even printed out the drafts. I decided "I don't like that" and removed them from the document before I found one I liked.
The same goes for text. I had to make several changes to the text, including formatting, before I had something I liked. I moved text around, reformatted it and re-wrote it several times before I liked it.
Once we have a rough layout and a good idea of how the document should look, it's time to start OO.o and get to work. Clicking on the OO.o icon on your desktop opens OO.o in writer mode, which is default.
OO.o 1.1.0 is very fast compared to 1.0.3. Programming optimizations have made a huge increase in performance. I can open OO.o with folding@home running and use OO.o normally without much of a performance hit. It would run smoother if I had shut down the background apps, but doing so wasn't necessary for creating either this project or article. While working on this article, I had not only folding@home running, but I was running multiple OO.o workspaces, Mozilla, The GIMP for working on the screenshots--and I was listening to albums in mp3 format in xmms without problems.
Once open, you need to go to the drawing application, called Draw. Click on the File -> New -> Drawing. This opens a fresh OO.o workspace. Some distributions install a separate menu item on your programs menu for OO.o from which you can directly select the Draw application.
You can customize your view in OO.o. The default Draw view in Figure 5 shows the Main Toolbar on the left side of the workspace. This is where the drawing tools are located. The tools in the Main Toolbar change depending upon the OO.o application. At the top of the workspace we have the Function Bar with tools common across OO.o applications. The Object Bar has text formatting tools, such as underline, italics, font type, size and color. Tools here change depending on the OO.o application. These toolbars can be turned on and off by clicking on the View Pull-down menu or by right-clicking on the toolbars. They also can be customized, but that is beyond the scope of this article. Vertical and horizontal rulers also appear; we use them below.

Figure 5. The Draw workspace, indicating location of the Main Toolbar, the Object Bar and the Function bar. The workspace is shown in Grid View mode.
OO.o is designed to be used around the world. So, you need to make sure the document size is appropriate. Clicking Format -> Page allows you to set the page size. This document is US Letter size, 8.5 x 11.0 inches in Portrait layout.
Because we need to keep track of how we lay out items on the page, enable the grid view on the document workspace. Clicking View -> Grid -> visible grid makes the grid visible. Next, I needed to create lines defining the folds of my document. The lines can be removed later. Click and hold down the left-mouse button on the Line Tool on the Main Toolbar. A new box pops up, with several options for lines (see Figure 6). This box is called a Tear-off, as you can keep it open and available and move it around your workspace.
Because I wanted a simple line without arrows on the ends, I clicked the Line (without arrows), and my pointer changed to a + (insertion point) with a \ indicating what type of line was activated. I then moved the mouse pointer to the point I wanted to start the line at, guided by the ruler. I then clicked the left mouse button, held it down and dragged the pointer across the workspace until I was at the point where I wanted to stop. Releasing the mouse button resulted in two small green boxes at each end of the line. These are the handles I mentioned earlier. Move the line around to get a feel of how this works.

Figure 6. The Line Tool tear-off. Other tool tear-offs are similar and can be placed anywhere on the workspace.
I made a second vertical line in the same way as the first. Now, I had the page divided into quarters, along with the grid view, to guide me.
Click the Text tool on the Main Toolbar and hold the mouse button down for a moment to allow the text tear-off to appear. Move the tear-off to a convenient place, as we are going to use it later.
If you are creating a complex document with different text formatting, using Styles greatly increases your productivity. Using Styles is beyond this article, but information is available in the OO.o help and on-line (see Resource).
Click the large T in the tear-off and the pointer turns to a cross. Place the cross--the insertion point--at a point on the document were one corner of the text box should be. Then, hold down the left-mouse button and drag to the diagonal opposite point of the text box. Releasing the mouse button results in a blinking cursor on the box, object handles and a hatched-border of the box. The text box is shown back in Figure 1.
The Object Toolbar changes when you release the mouse button. Text formatting options are now displayed. You can change font, size, color and other attributes.
I've typed some example text in Figure 1, not what I actually used in my document. When done, the border disappears but the handles remain. The pointer has turned to a cross with arrows on the ends, indicating that we can move the text box around. Hold down the left mouse button and try it.
So, how do we change the font, size and color? In this mode we can't. You need to click on the T in the text tear-off again to return to text editing mode. The hatched border re-appears with the blinking cursor. Now you can highlight the text and change formatting. In Figure 7, I've changed the word quick to a blue color and italicized it and the word brown to a brown color and boldfaced it.
With complex or important projects it is important to save changes to your work or be able to return to a defined edit point. Opening the Tools -> Options -> Load/Save dialog box lets you set various options for how often to save. Expanding the OpenOffice.org choice and selecting View allows you to set the level of undo steps and the amount of memory allocated to saved objects. But you really need to save changes at critical points yourself. Remember, you are smarter than the computer.
Now, let's find and insert a graphic. I wanted a holiday Tux for my gift card. The first place I looked was the penguin gallery on the Linux Weekly News Web site. I looked through several pages and tried a few, but nothing really looked right. The one I finally liked (Figure 8) was from The World Famous Tux Gallery.
Once you've found the graphic you want to use, you need to insert it into your document. Either click Insert -> Graphics -> From File or open the Insert Tear-Off on the Main Toolbar and select Insert Graphic. Then navigate to the file and click Open. You should see the graphic placed in the center of your document.
Now, you need to place the graphic where you want it and resize it. Click on the graphic make it the active layer. Handles and a cross should appear, indicating you can resize and move the graphic. Hold down the left-mouse button and move the graphic into the planned position as we saw in Figure 2. Don't worry if it isn't precise, we can make fine adjustments later. Now, grab onto a handle and resize the graphic. Remember, if it is a bitmap image, such as a .jpg, you might lose some image quality if you make it too large. Vector graphics, including .gifs and .pngs, don't suffer from this problem.
Now comes the fun part. We need to rotate the graphic into its proper orientation. This graphic will be rotated 180-degrees from its original position. OO.o gives you many ways to do this. First, click on the graphic to make sure it is active (the handles are visible). Then right-click on the graphic, select Flip -> Vertically. Then, flip it back.
Let's have some real fun. Open the Effects Tear-Off on the Main Toolbar. You should see a semi-circle icon with an arrow. A pop-up appears with the Rotate label. Click the Rotate icon, and if the resize (green) handles still are active, you should see them change to red dots (see Figure 3). Place the pointer on a corner dot, and it changes to a semi-circle with an arrow. Placing the pointer on a middle dot changes it to a "you can't do that" symbol. You also should see a small circle in the center of the image indicating a center point. Here's a hint: place the pointer over this center point icon. It changes to a hand pointer, as shown in Figure 9. You can change the Pivot Point by holding the left-mouse button and dragging this icon to the spot you want to set as the pivot point. Now, rotate the graphic and see what happens. Pretty cool, huh? You can return to the previous position by pressing CTL-Z, as before.

Figure 9. Tux shown with the pivot point. This is visible in custom rotation mode. When the pointer is placed over the pivot point, it turns to a "hand" pointer, indicating you can move the pivot point.
The defaults for the base point and the pivot point can be set by having the graphic set active (the green reposition handles appear) and choosing Format -> Position and Size. The dialog box has three tabs that allow you to set several attributes.
Let's put a text box above the graphic and then insert the text. We need to rotate the text box. With the text box active, showing the green position and size handles, select Rotate from the Effects Tear-Off (or, select Modify -> Rotate from the pull-down menu). The green handles change to red, and the Pivot Point icon appears. Grab one of the corner handles with your mouse and rotate the text box into position.
My only real gripe is why there isn't a Flip option for text boxes. That would be helpful here. Maybe there will be one in a future release.
Now, make fine adjustments. Save your work and print it out. Review for changes, and make them. Show your work off and have it reviewed if necessary. Congratulations! You are now a desktop publishing expert.
OO.o offers other tools to help with DP or Word Processing. One of the cooler ones is the PDF export feature. When you are done with your document, simply click the PDF export button and you will have a nice PDF you can share with anyone on any platform that has Adobe Acrobat Reader. I recently created a presentation in OO.o with many graphics and text styles that was 41 slides long. The native OO.o Impress document is a healthy 3.5MB and the .pdf is a slim 1MB. This make is nice to distribute via the intranet at work.
OO.o's Help is also extremely useful. I used it often in the creation of the project and in writing this article. It is easy to use and to find information. Details are a bit thin at this point, but it serves as a good foundation as more features are added.
Tux Images: www.lwn.net/Gallery and www.tuxgallery.org/tuximages/tux092.png
Screen shots were captured using knsapshot and prepared for publication using The GIMP 1.2.
Information on image formats and graphics: Designing Web Graphics.3. Lynda Weinman. New Riders, 1999. ISBN: 1-56205-949-1
The OpenOffice 1.0 Resource Kit. Solveig Haugland and Floyd Jones, Prentice Hall PTR, February 2003. ISBN: 0131407457.
OOoSwitch: 501 Things You Want to Know About Switching to OpenOffice.org from Microsoft Office. Tamar E. Granor, Scott Carr, Sam Hiser. Hentzenwerke Corporation, September 2003. ISBN: 1930919360.
OpenOffice.org for Dummies Gurdy Leete, Ellen Finkelstein, Mary Leete. Hungry Minds, Inc; November 2003. ISBN: 0764542222.
Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer
Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.
Subscribe now!
The Latest
Newsletter
Tech Tip Videos
- Nov-04-09
- Oct-29-09
- Oct-26-09
Recently Popular
From the Magazine
December 2009, #188
If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.



Delicious
Digg
StumbleUpon
Reddit
Facebook








typo? knsapshot or ksnapshot
On March 3rd, 2006 Anonymous (not verified) says:
In the list of resources used to make the article you list "knsapshot." Did you instead mean "ksnapshot"?
Do you know something about D
On February 24th, 2005 Anonymous (not verified) says:
Do you know something about DTP?
Important note for OO.o DTP and printers
On May 26th, 2004 Anonymous says:
While it's all well and good to use apps like OO.o for DTP, they're not really made for it. You will quickly find this out when you try to send (say) an advertisement to a newspaper, or a job to a printing house. It's all well and good if you're printing your own work, but if you need to go through a print agency or if you're producing something to be part of a larger publication, you're likely to run into problems.
Expect comments like "Your colours are all RGB, the fonts aren't embedded, and you've produced a PDF 1.4 document - we require PDF 1.3. Please correct that and get back to us." "Your PDF failed preflight" is also not uncommon.
What I'm saying is that you need to confirm with the intended recipient what their requirements are, before going ahead and doing your document in OO.o. It could save you a lot of trouble.
Thankfully, OO.o has built-in PDF export, making it much less of a nightmare for users and publishers than Microsoft Word. Daily I have to tell people that their ad, done in Word, may not look the same on our screen (or print the same) as what they see, we don't have their WeirdFont.TTF and unless they send it to us we can't use it, etc. Word is a publisher's nightmare. Many users have it set to US Letter, even though their printer is A4, so when you open a document they create on a correctly configured machine, the layout is wrong. Font substitutions aren't highlighted and are hard to detect. The list goes on.
If you must do your document in OO.o, at least make sure to provide a PDF as the end product. Most printers will appreciate it if you also supply them with the original document (and all fonts + images used in it), but the PDF will probably get used anyway.
If you need more serious desktop publishing, look in to Scribus. It's getting to be quite a nice, easy to use and very powerful app, though definitely still being polished up. It supports PDF/X-3, so you can produce colour-managed high-quality PDFs that any PDF/X-3 compliant RIP (ask your printer if theirs is - it should be) will print without fuss.
Alternately, you might be able to beg access to a machine with QuarkXPress or Adobe InDesign. Quark, in particular, isn't too hard to get the hang of for basic work. Getting access to these wallet-busting beamoths, on the other hand, isn't easy unless you have a friend in a print house, advertising agency, publisher, newspaper, or (maybe) the marketing dep't at work.
A final option is to use GhostScript or Adobe Acrobat Distiller to convert output "printed" from any app into a PDF. This approach may also be problematic if you need to send your job to a print house, as most programs don't give you control over the choice of CMYK or RGB colour spaces. On the other hand, it's probably better than sending a Word, or (worse) Microsoft Publisher document. There are tools that let you use GhostScript as a "PDF Printer" on Windows, and the function is built into many Linux distros already.
In the end, you just need to make sure that if you're sending the document for use elsewhere, that it confirms to the requirements the recipient sets. Checking this will save you time and frustration.
Also, as others have noted, the usual acronym for desktop publishing is DTP. Expect confused looks if you say "DP" instead.
--
Craig Ringer
IT Manager
POST Newspapers
OOo needs handy layer management
On May 20th, 2004 Anonymous says:
I'd like to see a handy layer management in OOo (something like in Photoshop maybe: separate floating layer menu with opacity [slider], layer locking and visibility indicator).
For a start that would be really nice.
Re: OOo needs handy layer management
On May 25th, 2004 Bruce_Byfield (not verified) says:
OOo handles layers by giving each one a separate tab at the bottom of the screen. I don't think that there's an opacity control, but you can set locking and visibility. If either one is set, the name of the tab appears in blue.
Good article. (give the author a break!)
On May 19th, 2004 Anonymous says:
Hi there,
The article is a good one. Failry well written and informative. Why must people tear the author apart for nit picky things?
If you all could do better, write a whole damn article yourself in your repy, instead of a short negative criticism.
Re: Good article. (give the author a break!)
On May 20th, 2004 Anonymous says:
Bravo !
Re: Good article. (give the author a break!)
On May 19th, 2004 Anonymous says:
I agree with you. I think it was a good article for us newbee's using OOo. Some people just think they are better and smarter if they tear the author apart for nit picky things.
I use OOo on my linux box and am very pleased with the results. The learning curve is relatively easy and intuative.
Re: Good article. (give the author a break!)
On May 19th, 2004 Karl (not verified) says:
Thanks, appreciate ALL of the comments and feedback.
--Karl Agee
The value of PDF not to be understated ..
On May 19th, 2004 Anonymous says:
A few years ago, I had a project preparing a show flyer (maybe 12 pages) for an organization and got into an incredible catch-22 with MS Publisher.
I went out and purchased a new copy of Publisher2002, created this big file on a CD and went to the local CopyMax figuring this was surely the lowest common denominator.
They only had Publisher2001, totally incompatible with P2002. No other copy shop in 75 miles had anything but Pub2001. However, you could not BUY 2001 anywhere, only 2002. The Pub2002 exporter to the old format seemed to work, but produced only garbage when read by Pub2001.
I finally got it (Pub2002) on to a machine at my office with Acrobat Distiller and produced a PDF burned to the CD and taken to the copy shop that they read with no problem - and printed up the 500 program copies.
Working with PDF as the target format from the beginning would have saved me a LOT of work.
Install a PS Printer and Print to File
On January 7th, 2005 MadStork (not verified) says:
Here's another work-around that is a more "general" solution to the problem of MS producing incompatible, proprietary formats.....
In a pinch anyone can install a PostScript printer, then "print to file" . Most copy shops can handle a PS file natively, though if you are talking to a lacky at the front desk they might not realize they can.
There are also a lot of Postscript to PDF applications and web services that can do the conversion easily.
Google (as always is your friend)
http://www.google.com/search?hl=en&q=PS+to+PDF&btnG=Google+Search
Re: The value of PDF not to be understated ..
On May 26th, 2004 Anonymous says:
Absolutely. MS Publisher is a particularly nasty case, because few printing houses really want to deal with it. They'll often have a copy, but rarely mention it if you ask what formats they prefer. In my experience it's actually been harder to support printing Publisher documents than MS Word documents (!!), despite Publisher allegedly being a DTP package.
Re: Good article. (give the author a break!)
On May 19th, 2004 Anonymous says:
I just think that there are so many people picky about these issues because they appear right from the start of the article: OpenOffice is NOT a DTP application. To stay as compatible as possible with Microsoft Word, Star/OpenOffice chose to go for wordflowbased textprocessing instead of truely framebased textprocessing. While the result might appear tiny on the first glimpse sooner or later you'll run into troubles if you want to do "more" or even real DTP.
If you want to do real DTP you might want to consider scribus:
http://web2.altmuehlnet.de/fschmid/
Re: Desktop Publishing with OpenOffice.org
On May 17th, 2004 Anonymous says:
Industry Standard abbreviation of Desktop Publishing is DTP.
If author of this article does not know this, my guess is he knows only a little about DTP. And he admits it.
This is not DTP, it's just advanced printing with some simple graphics, IMHO.
Re: Desktop Publishing with OpenOffice.org
On May 19th, 2004 Anonymous says:
It may well be the "industry standard" (which I doubt) but it is good writting practice to spell things out when you are writting for a novice public - and that is exactly what this article is about. And I find little humility in your opinion!
Re: Desktop Publishing with OpenOffice.org
On May 18th, 2004 Anonymous says:
This is one area where StarDivsion/Sun/OOo screwed up in that *Writer is too much like M$-Weird. StarOffice/OOo does have a lot going for it as far as being cross platform and having a well documented file format (good for very long term document retention).
I've used various versions of Word for DOS and Windblows as well as StarOffice/OOo, but none of them are as good for even rudimentary DTP work as Island Write Draw & Paint. With Island Write, laying out the page was a matter of placing containers where I wanted them - and the containers could be irregularly shaped to boot. Text boxes could be placed anywhere and the text could be edited at any time (the text boxes on StarOffice/OOo are just plain irritating by comparison). Unfortunately, the last upgrade for IWD&P was in 1996. :-(
From what I hear of KOffice, it would be a better choice for simple DTP - things could be really interesting if the KOffice crew can achieve file format compatibiity with OOo.
Re: Desktop Publishing with OpenOffice.org
On June 3rd, 2004 Anonymous says:
The people at KOffice is really into adopting th OASIS standard. Actually the head developers of KOffice are on the OASIS (http://www.oasis-open.org/committees/office/) board. Koffice (http://www.koffice.org/developer/fileformat/validate.php)
Re: Desktop Publishing with OpenOffice.org
On May 17th, 2004 Anonymous says:
"DP" is actually the abbreviation for "Data Processing", although that is now somewhat archaic. Anyone who doesn't know that DTP is the standard abbreviation probably has never read anything on Desktop Publishing before - which just goes to show that it's wise to have at least a cursory look at the existing literature in a field before opening your own mouth and putting your foot in it.
Re: Desktop Publishing with OpenOffice.org
On May 17th, 2004 Anonymous says:
A comparison with Scribus would have been really really useful
Re: Desktop Publishing with OpenOffice.org
On May 17th, 2004 Karl (not verified) says:
For an article on Scribus, please see the November 2003 of the print edition of Linux Journal, on page 88.
--Karl Agee
Post new comment