Nicole Scholz wrote:

> Hi!
> 
> Thank you for the link to the [EMAIL PROTECTED] mailing list. Now I am 
> thinking to which list I should send my question. When I am wrong here then 
> please tell me I will sent my question to the other list.
> 
> The document I create needs a long time until it is created. Can I set the 
> document hidden until it is fully created. When it is finished the document 
> should be displayed on the monitor.
> 
> Can someone send me an example (when possible in java) how I can program this?

I assume that you have created your document by using
"loadComponentFromURL". This method allows you to pass parameters in a
Sequence of PropertyValues. If you add a parameter called "Hidden" with
value "true" the document won't become visible. You can show it
afterwards by making its top window visible. In Pseudo Code that would be

document.getCurrentController().getFrame().getContainerWindow().setVisible(true)

Should be easy to transfer that into Java code (document is using a
com.sun.star.frame.XModel interface here).

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.


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

Reply via email to