Re: [api-dev] mouseMotionListener problem in Draw

2007-03-21 Thread Mathias Bauer
gerard wrote: Andre Fischer a écrit : Hi Gerard, I have good and bad news. The bad news is that a) the DrawingDocumentDrawView has indeed changed its XWindow interface to optional in version 1.7 of the DrawingDocumentView.idl on 2002/12/03, b) the DrawController that implements

Re: [api-dev] copy Paragraph content with markup (java api)

2007-03-21 Thread Mathias Bauer
Dominique De Munck wrote: I'm working in Java and I'm not able to get those objects. Are those fields private or something ? XComponent (= return type of loadComponentFromURL) does not offer any field CurrentController. Of course. You have to use the css.frame.XModel interface of the

Re: [api-dev] copy Paragraph content with markup (java api)

2007-03-21 Thread Dominique De Munck
Hi Mathias, Peter, Thx for all the help, I got it finally working! I tried in the past the queryInterface to get to our XTransferableSupplier but then I got stuck since the resulting xTransferable was empty. You must select contents first apparently. I'm using a XTextViewCursor for this, don't

Re: [api-dev] copy Paragraph content with markup (java api)

2007-03-21 Thread Mathias Bauer
Dominique De Munck wrote: Hi Mathias, Peter, Thx for all the help, I got it finally working! I tried in the past the queryInterface to get to our XTransferableSupplier but then I got stuck since the resulting xTransferable was empty. You must select contents first apparently. Of course.

[api-dev] external application getting OOo version number

2007-03-21 Thread Jorge Marques Pelizzoni
Hi, all! I'd like to know what is the easiest way for an external application (say, an ebuild binary) to find out OOo's version number (e.g. 2.0.2). Thanks in advance. Cheers, Jorge M. Pelizzoni ICMC - Universidade de São Paulo

RE: [api-dev] external application getting OOo version number

2007-03-21 Thread John Sisson
Hi The thread/subject 'How to get the Version?' has a way that a java client that has a hook to OO can do this. Previous posts on other similar threads have discussed how OO Basic can do the same. John Sisson -Original Message- From: Jorge Marques Pelizzoni [mailto:[EMAIL PROTECTED]

RE: [api-dev] external application getting OOo version number

2007-03-21 Thread Jorge Marques Pelizzoni
Thank you very much for your reply, John! Anyway, I'm amazed that this must be so complicated. I mean, I wouldn't expect to have to dig into the UNO framework to get that. I thought something like a -v option should do the job :o) Thing is: once I developed a UNO package that worked fine for

Re: [api-dev] external application getting OOo version number

2007-03-21 Thread Jim Watson
On 22/03/2007, at 11:08 AM, Jorge Marques Pelizzoni wrote: Thank you very much for your reply, John! Anyway, I'm amazed that this must be so complicated. I mean, I wouldn't expect to have to dig into the UNO framework to get that. I thought something like a -v option should do the job