Hi Min, yaungmin wrote:
I am trying to create an add-on program in OpenOffice.org writer which allows user to search files from database. Can someone give me some advice on how should I do that and where can I get more resources. I am planning to use Java.
i suggest to implement an addon with an own menu or toolbar or both. The menu/toolbar can be configured (the specified context) to appear only in the context of the writer application. The mneu can trigger your own dialog with your search logic etc. Once the user have found a document you can load it directly into the writer from your dialog ...
More infos about addons can you find in the Developers Guide (that will be published in the wiki tomorrow with the wiki upgrade) or already in the wiki. I think Carsten Driesner has provided a good article about addons (can't find it anymore).
I can also suggest to use our NetBeans plugin that simplifies the creation of the bas addon skeleton a lot and you can focus on your real feature (http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration).
For more detailed API questions i would suggest also the [EMAIL PROTECTED] mailing list.
Juergen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
