Extensions for OpenOffice.org Draw

May 19th, 2008 by Bruce Byfield in

Draw is probably the most under-estimated of the OpenOffice.org applications. Either users seem to expect it to be equivalent to the GIMP or Visio, or they fail to see its desktop publishing possibilities -- but in all cases they are disappointed. Probably, that explains why the OpenOffice.org Extensions page has only a handful of Draw extensions. It may also explain why some of the few that are available are limited in functionality and awkward to use, and almost all seem to still be in heavy development.

Like most OpenOffice.org extensions, those for Draw are installed via Tools -> Extension Manager. Usually, the easiest way to install them is by selecting My Extensions, and readying them for the current account only. Many of the extensions are written in Java, although a free implementation like IcedTea or GCJ is usually all that is necessary, rather than a copy of Sun's Java.

clker.com openoffice.org addon

Clkr.com is a site for royalty free clip art. It is not as large as the better-known Open Clip Art Library, nor as careful about explaining licensing, although all its content appears to be in public domain. To use the site's Java-based extension, you will need to create a free account first.

Throughout, the extension is a little fidgety, in the same way that World War 2 was mildly unpleasant. On my Fedora installation, it gives an annoying message about "Error setting look and feel" when I first open a new Draw file, and when I first open the top-level menu it adds (which is labelled Clkr Menu, as though the developers figured you couldn't figure out what a block of text on the menu bar would be).

However, if you get beyond these annoyances, the extension is simple enough to use. Selecting Clkr Gallery -- the only item in the menu -- opens a dialog in which you enter your email and the formats that you would like listed: Draw's .ODG, or else .SVG or .PNG. When a list of available offerings displays, you can select one and copy it directly to your desktop clipboard. It's a mildly handy feature, if only the interface were improved, but I would suggest you use it with a browser open, and turn it off when not using it.

CADOO.o

CADOO.o is a Python add-on designed to give Draw some basic CAD features. It adds an extensive top-level menu, as well as an additional tool bar above the drawing one at the bottom of the editing window when a menu item is chosen. Once you are familiar with its features, you may prefer the icons on its floating window to the menu.

The CADOO.o menu begins with a number of tools for drawing polygons, squares, circles, rectangles, ellipses, and arcs around one or more points, or by specifying the radiuses. diameters, lengths, or Once the objects are draw, you have the option of using the Cut, Extend, or Join tools to edit them using Draw's anchor points. This drawing system duplicates some of the tools already available in OpenOffice.org, but offers greater accuracy, especially for drawing ellipses and arcs, as well as general manipulation of objects. Also on the menu is a tool for drawing stairways, which I presume is a sign of a larger set of architectural tools yet to come.

CADOO.o is an ambitious extension, and obviously a work in progress. However, as you might expect, the logic of its tools is somewhat at odds with that of Draw itself. It is also sluggish enough that it needs to be used full-screen, and at 100% magnification unless you want to frustrate yourself with efforts at positioning objects. In addition, if you read French, you might want to look at the help pages for the extension. Even in its present form, the extension is an expert's tool, and probably it will become more so as the work progresses.

Unseen or already seen

These are not -- quite -- the only extensions for Draw. As I mentioned in an earlier article about general extensions, CropOOo adds the much-needed ability to crop the display of objects in OpenOffice.org, and I personally consider it a basic necessity for any OpenOffice.org user working with graphics. Another potentially useful extension is PubOOo, which converts Microsoft Publisher documents into Draw format, but, since it is currently available for Windows only, I was unable to test it.

Another intriguing project is DrawingTags, which generates a document detailing all the objects in an OpenOffice.org in a table in a new document for easy viewing. In a large or complex drawing, this tool could save users all the irritation of either prodding gingerly with the mouse to find information or searching the linearly arranged list in the Navigator. However, as the information page admits, DrawingTags is currently only in beta form, and not not available as an integrated extension yet. Unfortunately, as well, although the instructions suggest that you can run it as an external script on any operating system, I was unable to do so.

But, beyond these offerings, extensions for Draw are still limited. In theory, a series of extensions could give Draw more desktop publishing features (although you can use Writer if you want more fine-tuned control than Draw provides) or, alternatively, more GIMP-like or Inkscape-like features.

In practice, though, these possibilities have still to be explored. Perhaps the free software ecosystem is advanced enough that those want advanced graphics features can simply work in another piece of software and import the results into Draw as needed. More likely, the interest in OpenOffice.org extensions is still new enough that the community of developers have not exhausted the possibility of more commonly used applications.

All the same, as some of the existing examples show, one person with an interest can do a lot. A few individuals are already looking for ways to enhance Draw, but clearly it's going to take a while before much work is done.

__________________________

--
Bruce Byfield (nanday)


Special Magazine Offer -- 2 Free Trial Issues!
Receive 2 free trial issues of Linux Journal as well as instant online access to current and past issues. There's NO RISK and NO OBLIGATION to buy. 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.

Sorry, offer available in the US only. International orders, click here.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Draw's Power is Hidden

On May 21st, 2008 Anonymous (not verified) says:

One of the problems with Draw is that it's capabilities are hidden. Particularly is ability to apply styles to all objects and linkages. We have 20+ page block diagrams done in draw for extremely complex multi-million dollar machines. With just one change we can affect all the objects in a hierarchy, font too large in 1000+ blocks of a particular type on 10 pages no problem just change the style. We use Visio for the same thing but not as powerful in many respects. You have to work with it do discover this. I wish Draw would get more attention and improvements to make on par with Visio, Illistrator, and AutoCAD.

Draw

On May 19th, 2008 Nedd Ludd (not verified) says:

Draw kinda sucks and I don't see how the extentions listed above will help. As an enduser application, I don't know what it's supposed to do well.

That said... Draw's API exposed through UNO rocks. I've found that Draw is tough to beat if the program you're writing needs to generate graphics on the fly.

To each his/her own

On May 19th, 2008 metre9dmt (not verified) says:

Well, in a tight situation, Draw can be your 'Visio' or 'Inkscape'. You are just limited to what you want to do with it. With the given extensions, you can now other explore other uses of the program such as CADOO.o.

hold your tounge

On May 19th, 2008 lapubell (not verified) says:

just because you can't find a use for it does NOT mean it sucks. I use it for page layout everyday working as a graphic designer. While I don't use it to DRAW, it still does a much better job for my needs than Scribus, or any other linux compatible page layout software.

don't be so quick to judge.

"draw" ?

On June 10th, 2008 Anonymous (not verified) says:

in summary? the worst openoffice app available. i've found it relatively useless - and extremely frustrating to try to accomplish anything meaningful...

if your looking for a *nix drawing package, don't stop here. keep looking. if you are as desparate as i am, install virtualbox and run visio from there until draw becomes a small fraction of what visio is capable of (which would be many times more than it's capable of currently)

True! Draw is horrible.

On July 20th, 2008 jpaulo_198210@hotmail.com (not verified) says:

Horrible. I never got anything aligned on my flow charts. And yes, I used the options (specially the ones described on the whole OOo Draw book), but they seem to serve a different purpose.

Also, why not use century-old practices like "keep Shift pressed for circles or polygons of equal sides"? Why not Shift when moving around to make it align to common sense points of other figures (i.e.: corner, center/middle axis, sides)? why orthogonal drawings work for lines but not for straight connectors (c'mon, they are lines with arrows/circles that join figures together)?

Piece of .

Of course, everyone has his/her own uses and preferences, but to me, the only program that "works" ( = don't crash, act weird or counter-intuitively *to me*) is Writer. Calc I don't know, Impress is OK and Base would be OK if not extremely buggy (it's completely unusable as of version 2.4).

Unfortunately, I think I may return to MS Office soon.

Featured Videos

Non-linear video editing tools are great, but they're not always the best tool for the job. This is where a powerful tool like ffmpeg becomes useful. This tutorial by Elliot Isaacson covers the basics of transcoding video, as well as more advanced tricks like creating animations, screen captures, and slow motion effects.

Shawn Powers reviews the HP Mini-Note portable computer.

Thanks to our sponsor: Silicon Mechanics

Silicon Mechanics is a leading manufacturer of rackmount servers, storage, and high performance computing hardware. The best warranty offerings available are backed by experts dedicated to customer satisfaction.

From the Magazine

August 2008, #172

There's nuttin like a Cool Project to give you some relief from the summer heat, so get out your parka cuz we got a bunch of em. First up is the BUG, not a bug, The BUG. It's got a GPS, camera and more, in a hand-sized package that's user programmable. The BUG does everything. It's both a floor wax and a dessert topping. Get one now. Need a software version of a Swiss Army knife? Take a look at Billix, and don't leave home without it. Then, chew on this one, an X server on a Gumstix device driving an E-Ink display. Need more storage? How about 16 Terabytes? Can do.

And, of course, we have the usual cast of characters: Marcel, Reuven, Dave, Kyle, Doc, plus the new kid on the block Shawn Powers. But it doesn't stop there: build a MythTV box on a budget, build your own GIS system, set up the tools to monitor your enterprise and more. Finally, remember The War of the Worlds? Now you can play too.

Read this issue