Re: [api-dev] How to lock a text model

2006-10-05 Thread Mathias Bauer
Julien Galand wrote: Hi to all, Does someone know a way to lock/unlock the model of a text document, that is, to make it temporarily read-only (the user cannot change its content) ? My purpose is to make sure that when my add-on is currently retrieving the text and manipulating it later,

Re: [api-dev] physical directory of an extension

2006-10-05 Thread Jürgen Schmidt
Laurent Godard wrote: Hi all there exists a codesnippet for an OOoBasic extension to know where the files are located can someone point me directly to the right service to find the directory where an extension is deployed (inside uno_packages directory) i want to do it for pyUNo, but