Hi Emmanouil, basically you need to create a UNO component. The most important information can be found on http://api.openoffice.org and http://udk.openoffice.org . In order to create and register a UNO component you need to download the OOo SDK (there are quite some Java examples, the Developer's Guide also contains a lot of Java code, so you should get enough information). Further questions please to [email protected] .
2005/8/26, Emmanouil Batsis <[EMAIL PROTECTED]>: > > I would like to create some kind of add-on that will allow OOo 2.0 > Writer users insert names from a database table (probably MySQL via > JDBC) in the document they edit (to avoid spelling mistakes etc) but i > am not sure how i should try to do this between macros, add-ons and a > huge unknown API. I will probably have to add a menu entry or button > somewhere that will activate a popuo/dialog, or an inline dropdown > control (maybe only available in forms?). > > I have used datasources while editing documents to copy > paste etc, but > what is required is something that feels more well integrated and, if > possible, only activates itself for a specific template (.odt). > > The next step could be that these inserted names should be some kind of > text field that has a reference to the datasource but i can worry about > that later. > > Any pointers on where i should start looking much appreciated, > especially examples i can learn from... we use Java but i guess we can > cope with other languages as well. > > Thanks, > > Manos > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Best Regards Christian Junker --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
