Re: [dev] ADD-ON FOLLOW-UP QUESTION

2007-01-10 Thread Steffen Grund
Hi. If you are using NetBeans as platform (or would like to do so) I'd like to point you to the NetBeans Integration project which extends NetBeans to create AddOns for OpenOffice.org with a step-by-step wizard, including menu entries. (You can get NetBeans at: http://www.netbeans.org and the

[dev] ADD-ON FOLLOW-UP QUESTION

2007-01-10 Thread mellannie rachelle reyes
*Good day sir!!! I am Mellannie again, sorry for asking over and over again, actually its my first time to add a plug-in in a particular application and i am still quite confused.* *What we were really trying to do is to add a plug-in in the openoffice.writer at the toolbar and a top-level menu,

Re: [dev] Lock a document for concurrent access?

2007-01-10 Thread Mathias Bauer
Niklas Nebel wrote: >> Unfortunately it must be. I don't want to open the file again, I >> just want to set/clear the lock, and there's no API for that in >> osl. > > Why not open it again? Treat it more like import/export instead of > load/save, with embedded objects in a temporary storage, an

Re: [dev] Lock a document for concurrent access?

2007-01-10 Thread Mathias Bauer
Jan Holesovsky wrote: >> But then the document can become modified by >> other applications or even deleted by the user while it is still edited >> in an OOo instance. This will let OOo crash in many cases. > > Please remember that no locking was the default until 2.0 > (http://www.openoffice.o

[dev] [Fwd: Re: [users] [moderated] "UnoRuntime" at starting]

2007-01-10 Thread Thierry 9
Please help Message original Sujet: Re: [users] [moderated] "UnoRuntime" at starting Date: Tue, 09 Jan 2007 23:29:08 + De: CPHennessy <[EMAIL PROTECTED]> Répondre à: users@openoffice.org Pour: users@openoffice.org, Thierry 9 <[EMAIL PROTECTED]> Références: <

Re: [dev] Lock a document for concurrent access?

2007-01-10 Thread Jan Holesovsky
Hi Niklas, On Tuesday 09 January 2007 20:52, Niklas Nebel wrote: > >> Besides that I don't think that something must be changed in osl. We > >> just have to change our way how we interpret the results from openFile. > > > > Unfortunately it must be. I don't want to open the file again, I just >

Re: [dev] Lock a document for concurrent access?

2007-01-10 Thread Jan Holesovsky
Hi Mathias, On Wednesday 10 January 2007 11:44, Mathias Bauer wrote: > > Please remember that no locking was the default until 2.0 > > (http://www.openoffice.org/issues/show_bug.cgi?id=29425) so I guess if > > this were a real problem, we would have had some crashreports already. > > (Or do we h

Re: [dev] Lock a document for concurrent access?

2007-01-10 Thread Eike Rathke
Hi Mathias, On Wednesday, 2007-01-10 11:44:34 +0100, Mathias Bauer wrote: > > And IIRC - while the file descriptor is still open, the operating system > > (or > > at least Linux) does not unlink the file for the process that owns the file > > descriptor - but I can be wrong of course. > That w

Re: [dev] ADD-ON FOLLOW-UP QUESTION

2007-01-10 Thread Mathias Bauer
Hi, mellannie rachelle reyes wrote: > *Good day sir!!! I am Mellannie again, sorry for asking over and over again, > actually its my first time to add a plug-in in a particular application and > i am still quite confused.* > > *What we were really trying to do is to add a plug-in in the > openof