Don't know of a direct way. As a dirty workaround it came to my mind:
loading an impress document (in the background) inserting the
writer/calc document as an OLEShape into the first drawing page,
making its size as big as the drawing page. Then creating a PageShape
with either the documentfactory of the dummy-impress document or your
actual document - which is nothing else than a previewshape showing
the current drawpage in small - and showing it in your awt window or
wherever you want to place it. The nice thing about the pageshape is
that it is in live mode and that you have full control over it (size,
position etc.).
However, I rather suggest that you dig through some more resources,
like searching in the list of dispatch commands, diving through the
Developer's Guide or in the last place to look into the source code.
LXR (http://ooo.ximian.com) will be a good helper when it comes to the
third point.

On 4/23/05, Marc Santhoff <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm sure this topic has been on the list, but I don't find it anymore:
> 
> In a BASIC dialog I want to schow a preview of writer and calc docs. Is
> there any way to render a doc in preview mode to an image control? Or
> can the preview instantiated dynamically?
> 
> Im talking of a first page stamp-like view as in the templates dialog.
> That's what I want to show to the user.
> 
> TIA,
> Marc
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Best Regards
Christian Junker

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

Reply via email to