Josh Larrabee wrote:
I'm exploring using OpenOffice, specifically Draw, as a user interface for some 
clients to visualize data from an online database application.  I'm wondering 
if anyone could answer a couple questions for me regarding the Draw 
application...specifically:  1) Does the Draw application support access via 
the OpenOffice API?  Specifically, I have a developer the programs in VB, and I 
want to know if they will be able to program in VB against the API and 
manipulate the objects in Draw.  2) Assuming #1 is possible, does it seem 
plausible that we could use Draw as a server application to create images 
dynamically and return those images to a web application for display in a web 
page?  Maybe using the Flash functionality?

Any thoughts/help with this would be much appreciated.  Thanks.

Josh

You can certainly use the API to create and manipulate Draw documents.
See some of the macros at www.ooomacros.org , especially "Danny's Draw Power Tools" and "Danny's Stupid OOo Tricks" (far from stupid!) or my "Graph Plotter".

Not sure of the best way to then get the result into another application. You could use the OOo API to copy it to the clipboard, or to save it in Flash format (or some other suitable format). See "Document Converter" at the above site for the code to do that.

Hope that helps as a starting point.

Andy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to