Re: [api-dev] CDbl function

2005-03-09 Thread Andreas Bregas
Hi Andrew and all, hopefully this thread brings some light into this mysterious problem. I will have another look on this issue the next days. Sevastian `seva` Foglia wrote: ... Perhaps you should add this to the issue so that they can reproduce the problem... I've just done this. Regards

[api-dev] How can I get the url of the currently opened document?

2005-03-09 Thread Ines Pfauch
My java addon now has some functions which are only visible if a document is opened. Before I can do anything with this document I need the url of it (path and name on the filesystem), how can I retrieve this? Thanks in advance, Ines

Re: [api-dev] How can I get the url of the currently opened document?

2005-03-09 Thread Aidan Butler
Hello, The URL of the document is stored as a property of the document component. The following python code will print the URL #ctx is the current context desktop = ctx.ServiceManager.createInstanceWithContext( \ com.sun.star.frame.Desktop, ctx ) document =

Re: [api-dev] Menu control

2005-03-09 Thread Mathias Bauer
Christian Junker wrote: Hi Matthias, I do ask myself, why those interfaces are deprecated. Why not removing them completely? a) from source code (I searched with ximian lxr and there was no single implementation I found about XMenu) b) from documentation (IDL Reference) Deprecated means: