[api-dev] UnoTunnel

2009-02-09 Thread cguerber
Hi, I'm trying to develop my first extension. I provide new services for some objets and try to insert them into a text document. Unfortunately, I get this error: object does not implement XUnoTunnel. As this interface seems to be a kind to not-so-nice tricky thing, is there any workaround?

[api-dev] How to change the Document Title used by a printer dirver

2009-02-09 Thread Fernand Vanrie
I need to change the Document Title before printing. I now it can be done with saving the document to a new URL, but can we give a new Title to a printer driver using the oo-API. The closes i come was changing Thiscomponent.currentcontroller.frame.title, the change is done, xray gives me the

Re: [api-dev] Varying results when connecting to OOo through COM

2009-02-09 Thread Cor Nouws
Hi Bernard, *, Bernard Marcelly wrote (3-2-2009 19:29) Message de Cor Nouws date 2009-02-03 12:34 : [...] The line: lPictureSoureceRatio = oGraph.GraphicObjectFillBitmap.Size.Height / oGraph.GraphicObjectFillBitmap.Size.Width produces error Instance member

Re: [api-dev] How to change the Document Title used by a printer dirver

2009-02-09 Thread Stefan Weigel
Hi Fernand, Fernand Vanrie schrieb: I need to change the Document Title before printing. I now it can be done with saving the document to a new URL, but can we give a new Title to a printer driver using the oo-API. The closes i come was changing Thiscomponent.currentcontroller.frame.title,

Re: [api-dev] How to change the Document Title used by a printer dirver

2009-02-09 Thread Stefan Weigel
Hi Fernand, Fernand Vanrie schrieb: I am aware of the differences between 2.4 and 3.0 but my question is still there: can we influence (using the API) the title used by the printer driver ?? In the thread I mentioned Andreas Schlüns wrote: On the other side the printer API of OOo does

Re: [api-dev] How to change the Document Title used by a printer dirver

2009-02-09 Thread Fernand Vanrie
Stefan, Yes ! but there is a difference between any operation on the printer queue and kwowing where the printer driver finds his information , and just maybe?? we can also read and even change this information :-) Fernand Weigel wrote: Hi Fernand, Fernand Vanrie schrieb: I am aware

Re: [api-dev] Varying results when connecting to OOo through COM

2009-02-09 Thread Cor Nouws
Cor Nouws wrote (9-2-2009 15:43) Bernard Marcelly wrote (3-2-2009 19:29) See IDL description of service com.sun.star.drawing.GraphicObjectShape GraphicObjectFillBitmap : Deprecated. Use graphic property instead! ok... but I do not have problems using it in OOo's Basic environment. Ah,

Re: [api-dev] UnoTunnel

2009-02-09 Thread Juergen Schmidt
cguer...@yahoo.com wrote: Hi, I'm trying to develop my first extension. I provide new services for some objets and try to insert them into a text document. Unfortunately, I get this error: object does not implement XUnoTunnel. As this interface seems to be a kind to not-so-nice tricky thing,

[api-dev] Re : [api-dev] UnoTunnel

2009-02-09 Thread cguerber
Ok, thanks for your reply. So lets be more precise... I'm trying to develop my first extension. This extension should providing a text field (similar to what does com.sun.star.text.textfield.User) but provides data from an outside source. I provide new services for some objets and try to

Re: [api-dev] Re : [api-dev] UnoTunnel

2009-02-09 Thread Steff Grund
Hello, for a Java developer there is no chance to implement XUnoTunnel in a working way. The interface returns a handle on the actual implementation object (in C++) which is then used to call non-API functions. Couldn't you just insert a normal text field and feed that from your outside

[api-dev] openoffice - pdf

2009-02-09 Thread Maarten Vanbrackel
Hi, I'm quite new in programming openoffice so any help is welcome. Up till now everything went good so no problems but now I want to be able to export a calc- or writer-file to pdf. I've seen already lots of examples which I really understand but there is a problem. I am programming in OpenEdge