Hi Juergen, as you can see from my earlier emails I'm back trying to develop my plug-in; sorry for the delay :)
In any case, I've followed your instructions and when I go to deploy from Netbeans I get the following error message: Deploying UNO extension package ... /opt/openoffice.org2.2/program/unopkg add -f /home/mark/src/OOPMTriStats/dist/OOPMTriStats.oxt + /opt/openoffice.org2.2/program/soffice.bin -nologo -nodefault '-accept=pipe,name=70b0c59fa7ebd4f25d1e71675ae43ecde2cb6339a7a8e61fe671c460121672e0;urp;' ERROR: An error occurred while enabling: types.rdb I also added (although it wasn't in your instructions) some XML to the .xcu file (just copied the existing nodes and changed the name of the function). Cheers, Gil On 4/13/07, Mark Greenbank <[EMAIL PROTECTED]> wrote:
On 4/13/07, Juergen Schmidt <[EMAIL PROTECTED]> wrote: > > Hi Mark, > > Mark Greenbank wrote: > > Hi, > > > > First of all, wonderful plugin! Without knowning much about OOo > development > > I was able to create a simple calc function in about 5 minutes. > > > > I have a question, though. Is it possible to get back to step 3 of the > > project wizard (adding functions) somehow? Or do I have to manually > add > > additional functions at the file level? > no that is not possible at the moment. The main idea is to speed up the > initial work and lower this way the entry barrier. > > But of course it should be quite easy to extend the add-in with a > further function. Insert simply a further method in the generated > interface Xnnnn.idl file. Please take care of the limited types for > add-ins! When you recompile the project you should get an error that an > abstract method isn't implemented. You can now use the NetBeans feature > Source -> Override Methods ... Ctrl-I and let NetBeans generate a method > > body for you. > > Stay tuned for the next version with really cool and easy debug support > for extensions (next week or the week after). > > Maybe we will provide some kind of reverse engineering in the future ;-) > > > Juergen Thanks Juergen, As I said, it's a great plugin and timesaver already! I'll add more functions manually and probably have more questions too! Mark
