Re: [api-dev] Unanswered Question - Reloading Document - Convert Hidden Doc to NonHidden Doc

2006-04-26 Thread Kent Gibson
thanks for the details. What you said about adding a model to the media descriptor seems very interesting. However it does not seem to be documented. I tried something quickly along these lines: XModel model = ( XModel ) UnoRuntime.queryInterface( XModel.class, connection.getTextDocument());

Re: [api-dev] Unanswered Question - Reloading Document - Convert Hidden Doc to NonHidden Doc

2006-04-26 Thread Mathias Bauer
Kent Gibson wrote: thanks for the details. What you said about adding a model to the media descriptor seems very interesting. However it does not seem to be documented. I tried something quickly along these lines: XModel model = ( XModel ) UnoRuntime.queryInterface( XModel.class,

Re: [api-dev] Unanswered Question - Reloading Document - Convert Hidden Doc to NonHidden Doc

2006-04-25 Thread Kent Gibson
thanks that was pretty much the solution I needed. you see becuase the documentation said do not mess around with setVisible i didn't, so I did the same thing with streams. But now that I know that this is fixed with 2.0.2 I know now where to concentrate on. I did try this before but had some

Re: [api-dev] Unanswered Question - Reloading Document - Convert Hidden Doc to NonHidden Doc

2006-04-25 Thread Kent Gibson
argh. please help. this is driving me batty. Ok i have an empty frame, XWindow xWindow = ( XWindow ) UnoRuntime.queryInterface( XWindow.class, officeWindow.getUNOWindowPeer() ); object = serviceFactory.createInstance( com.sun.star.frame.Frame ); XFrame documentFrame = ( XFrame )

Re: [api-dev] Unanswered Question - Reloading Document - Convert Hidden Doc to NonHidden Doc

2006-04-25 Thread Mathias Bauer
Kent Gibson wrote: argh. please help. this is driving me batty. Ok i have an empty frame, XWindow xWindow = ( XWindow ) UnoRuntime.queryInterface( XWindow.class, officeWindow.getUNOWindowPeer() ); object = serviceFactory.createInstance( com.sun.star.frame.Frame ); XFrame

Re: [api-dev] Unanswered Question - Reloading Document - Convert Hidden Doc to NonHidden Doc

2006-04-24 Thread Kent Gibson
Hi-ya Sorry to pester but does anyone have any ideas? I tried to explain the problem clearly but it is a tricky problem. I suppose I could summarise it by asking, how would one convert a hidden document efficiently into a non hidden document. Right now it takes me about 3 minutes to render the

Re: [api-dev] Unanswered Question - Reloading Document - Convert Hidden Doc to NonHidden Doc

2006-04-24 Thread Mathias Bauer
Kent Gibson wrote: Hi-ya Sorry to pester but does anyone have any ideas? I tried to explain the problem clearly but it is a tricky problem. I suppose I could summarise it by asking, how would one convert a hidden document efficiently into a non hidden document. Right now it takes me