Hi Dirk,

if you are planning a browser plugin that should cooperate with OOo,
monitoring system file locking is a dead-end street as in OOo3.0 this
will work totally different.

IMHO there are better ways to "localize" remote files, providing webdav
access (either on the server or by an application like your browser
pluging) is the most used and a very well known way.

If it was only for OOo there would be more ways but if I understand
correctly your plugin should work with all applications on a computer,
right?

Regards,
Mathias

Dirk Bonenkamp - Bean IT wrote:

> Hi Mikhail,
> 
> First off all, thank your for your reply.
> 
> I'm intending to do it through a third party application. This is a 
> browser plugin, which enables you to open files which are located 
> online, just as they where on your local pc. This works fine, except 
> that I'm facing difficulties in monitoring whether the file is open or 
> has been just closed. I now see I have to do some reading up on the OS 
> file locks...
> 
> Cheers,
> 
> Dirk
> 
> Mikhail Voitenko wrote:
>> Hi Dirk,
>>
>> OOo2.x versions use the system file locking. So it depends from the 
>> OS, how the locked file is handled.
>> The easiest way seems to be to try just to open a file for editing ( 
>> with the appropriate system locking ).
>> It is not clear in which context you are going to do it. Will it be 
>> third party application, or an Office add-on or something else?
>>
>> Best regards,
>> Mikhail.
>>
>> On 09/30/08 13:35, Dirk Bonenkamp - Bean IT wrote:
>>> Hi all,
>>>
>>> I don't know if this is the right place to ask... I already tried the 
>>> forum, but no answer over there. I also searched the web quite a lot, 
>>> but no luck.
>>>
>>> I'd like to know how the file locking of OpenOffice files works in 
>>> version 2.* (I did find a document about locking in 3.*, but that 
>>> doesn't seem to apply to 2.*).
>>>
>>> To be more specific, I'd like to know if and how I can see if a file 
>>> is currently opened by Open Office, without using Open Office.
>>>
>>> I hope my question is clear....
>>>
>>> Thank you in advance,
>>>
>>> Kind regards,
>>>
>>> Dirk Bonenkamp
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.


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

Reply via email to