Re: [api-dev] Print Listeners in OOo 2.0.2 (Solved?)

2007-09-12 Thread Andreas Schlüns
Hello Hal Vaughan, Oh, and I am using XCloseable.close(true) to close a document. mmm ... in my last mail I've mentioned to use close(false) .-) It's always better to errors on closing documents by yourself instead of delivering the owner ship to any other and ignore errors here. Lates on

Re: [api-dev] Print Listeners in OOo 2.0.2 (Solved?)

2007-09-12 Thread Hal Vaughan
On Wednesday 12 September 2007, Andreas Schlüns wrote: Hello Hal Vaughan, Oh, and I am using XCloseable.close(true) to close a document. mmm ... in my last mail I've mentioned to use close(false) .-) It's always better to errors on closing documents by yourself instead of delivering

Re: [api-dev] New AWT tree API

2007-09-12 Thread Juergen Schmidt
Ariel Constenla-Haile wrote: Hi everybody, I started playing with the new tree API. Unfortunately, the new SDK 2.3 isn't shipped with the IDL/the reference, although it's available on the source code (OOo_2.3.0rc1_src_core/OOG680_m3/offapi/com/sun/star/awt/tree). it was a bug and should be

Re: [api-dev] Print Listeners in OOo 2.0.2 (Solved?)

2007-09-12 Thread Andreas Schlüns
Hello Hal , 2) How can I keep the Document Recovery Window from popping up and get Java to throw an error instead? You can disable the whole recovery stuff be passing an option -norecovery to your command line if you start the office. Okay. What happens then? Does it throw an error

Re: [api-dev] Print Listeners in OOo 2.0.2 (Solved?)

2007-09-12 Thread Hal Vaughan
On Wednesday 12 September 2007, Andreas Schlüns wrote: Hello Hal , 2) How can I keep the Document Recovery Window from popping up and get Java to throw an error instead? You can disable the whole recovery stuff be passing an option -norecovery to your command line if you start the

Re: [api-dev] Print Listeners in OOo 2.0.2 (Solved?)

2007-09-12 Thread Andreas Schlüns
Hello Hal, Here's the weird part: On this client's computer, when I get the recovery window, OOo is STILL running and if I close that window, my program can still connect to OOo. You must differ between the crash save and the recover files dialog. First one is shown directly after the crash

Re: [api-dev] PDF layout errors in headless mode

2007-09-12 Thread Mirko Nasato
Hi Sander, Sander Marechal wrote: Mirko Nasato wrote: (I'm the author of that Python script.) I know, we talked before a few months ago:-) Yes I remember :-) All in all, a messy situation. I'll see if I can find Debian packages for 2.2.1 and try that. You can always

Re: [api-dev] Print Listeners in OOo 2.0.2 (Solved?)

2007-09-12 Thread Hal Vaughan
On Wednesday 12 September 2007, Andreas Schlüns wrote: Hello Hal, Here's the weird part: On this client's computer, when I get the recovery window, OOo is STILL running and if I close that window, my program can still connect to OOo. You must differ between the crash save and the recover

Re: [api-dev] Getting printers via Basic or Java

2007-09-12 Thread Andrew Douglas Pitonyak
Download my free macro document and search for Listing the supported printers This is for Basic. Tobias Krais wrote: Hi togehter, I have to write a little uno package managing printer options. Up to OO 2.0, it was not possible to get the available printers via OO Basic. Can you tell me

Re: [api-dev] Print Listeners in OOo 2.0.2 (Urgent!)

2007-09-12 Thread Andrew Douglas Pitonyak
Have you seen the solution in my macro document? This might only work if the GUI is present (ie, not in headless mode). Tobias Krais wrote: Hi Hal, Code would be a big help so I could compare what we've got. I'll be glad to send you what I have. Right now I'm working with a wrapper