Tim Parth wrote:
--------------------------------------------------
From: "Fernand Vanrie" <[EMAIL PROTECTED]>
Sent: Tuesday, April 29, 2008 2:15 PM
To: <dev@api.openoffice.org>
Subject: Re: [api-dev] XRenderer.render

Tim Parth wrote:


--------------------------------------------------
From: "Fernand Vanrie" <[EMAIL PROTECTED]>
Sent: Monday, April 28, 2008 11:14 AM
To: <dev@api.openoffice.org>
Subject: Re: [api-dev] XRenderer.render

Tim Parth wrote:
Hi all!

Is it possible to use the interface XRender with it's method render to render a complete TextDocument (swriter) into an image for further use? The documentation is very short an I don't know exactly if it suits my needs and if yes, how to use it.

On the forum you will find some code how to use the Rendering. In the post about the preview in a filepicker dialog you can also find how to have a preview of a writerdoc in a filepicker preview window but here without using the Rendering.

I couldn't find anything useful on the forum how to use the Rendering. Do you have a link, Fernand?
please : http://www.oooforum.org/forum/viewtopic.phtml?t=38165&highlight=render+filepicker <http://www.oooforum.org/forum/viewtopic.phtml?t=38165&highlight=render+filepicker>

Ok, thanks for the link. I found out that it is only possible to load graphics from an URL, no TextDocuments. And the XRendering-Interface is obviously the wrong place to search for what I need. Maybe I need to take a more deeply look into how to export a Document? If I can export it to PDF I may also be able to export it to a bitmap?

Any ideas using that direction?
- I now that there is in OO work going on open-edit PDF as a writer or draw doc so maybe there you van find some more info - Most professional Graphic software as Quark Express places PDF files as normal graphics into there own files - You still have to find a solution to determe what page you want to convert en render



Hope it helps

Fernand

Thank you all very much in advance!

Kind regards,

Tim



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to