Re: [dev] Writer allows deleting opened file while saving

2005-05-18 Thread Mathias Bauer
Ales Kahanek wrote: With such applications we do another approach: we try periodically to get ShareExclusive access to this file. If the request is rejected, we know that the file is still opened and edited. And here is the problem with Writer - when you save the file in Writer, there is a

Re: [dev] Wants a start in OpenOffice development.

2005-05-18 Thread Jürgen Schmidt
Hi Azhar, i would suggest that you start with SDK examples, work with them, implement your own simple tasks and read the documentation (the Developers Guide). You will learn the basics about the API and after that you should be able to start working on other things (e.g. extensions). Juergen

[dev] Re: On UI/dialogs in C++

2005-05-18 Thread aditya
I found an interesting site http://ui.openoffice.org. It does contain articles on localized res files and methods that create dialogs and stuff. I have still not been able to find a good text/document for this. - To

[dev] Re: Writer allows deleting opened file while saving

2005-05-18 Thread Ales Kahanek
Mathias Bauer wrote: Relying on the locked state of a file IMHO is a hack (sorry). But Yes, I know that this is not the best way, but there are many applications that do their job in many different ways and if the check if the process is active scenario fails, then this is may be the last

Re: [dev] How to implement Exchange Databases function

2005-05-18 Thread Andrew Douglas Pitonyak
Search the OOo Forum. This should get you started anyway. http://www.oooforum.org/forum/viewtopic.phtml?p=76328 I think that I have an example somewhere, if I can only find it. Matthias Benkmann wrote: I'm writing an application that creates CSV-files and automatically loads a text template for

Re: [dev] How to traverse paras on a page?

2005-05-18 Thread Andrew Douglas Pitonyak
Download my free macro document (see link below), or get my book. If you have my free macro document, check out the section discussing how to traverse paragraphs (Andrew learns to ...). Also, read the section on the selected text framework, which demonstrates how to know when to end. It would