Re: [api-dev] basic question to connect OpenOffice (OOoBean)

2006-07-26 Thread Erik Zuehlke
Quoting Tom Schindl [EMAIL PROTECTED]: Erik Zühlke schrieb: That seems to be probably the problem, how I come now to the files of openoffice? A delivery with “java - cp OpenOffice \ program \ classes ^ Do you noticed the space between - cp I think it

Re: [api-dev] basic question to connect OpenOffice (OOoBean)

2006-07-26 Thread Tom Schindl
Ok this is completely a different message from the one you showed in your last mail. [Loaded sun.awt.NullComponentPeer from D:\dev-java\jre1.5\lib\rt.jar] Exception in thread main java.lang.NoClassDefFoundError: com/sun/star/lang/WrappedTargetException at

Re: [api-dev] CloseVetoException has no effect

2006-07-26 Thread Mathias Bauer
Christoph Lutz wrote: Hi, I would like to veto the close-action (clicking on the x in a writer document) in such a form, that the document doesn't get closed until my program decides when it's time to close the document. This should be possible by throwing a CloseVetoException in the

Re: [api-dev] MailMerge keeps temporary file open

2006-07-26 Thread Mathias Bauer
Jens Beier wrote: Hi, I'm trying to use MailMerge to fill a letter with data from a datasource and save it as PDF. I'm using the setupConnection() and the doMerge() methods from http://codesnippets.services.openoffice.org/Writer/Writer.MailMerge.snip I'm getting the XComponentContext and

Re: [api-dev] basic question to connect OpenOffice (OOoBean)

2006-07-26 Thread Erik Zuehlke
Hello Tom, Quoting Tom Schindl [EMAIL PROTECTED]: Ok this is completely a different message from the one you showed in your last mail. yes, sorry but i testing in the last night. The result is, thus the current version. [Loaded sun.awt.NullComponentPeer from

Re: [api-dev] OOo 2.0.3 (Linux Windows), OOoBean, printing does not work when doc loaded with loadFromByteArray()

2006-07-26 Thread Harald Weyhing
Mathias Bauer wrote: Harald Weyhing wrote: Hi all, I still can't print with OOo 2.0.3 using the OOoBean, when documents are loaded via loadFromByteArray(). There is no error message, printing silently fails. A workaround for that is calling storeAsURL(url,null) on the document (which is

Re: [api-dev] How to execute an timer whenever openoffice document is opened

2006-07-26 Thread bharathy b
Hi Jurgen thank you, i will try it out. i found OnStartApp event in the dev guide. Can it be used to accomplish what i want to do. With Regards Bharathy B Jürgen Schmidt [EMAIL PROTECTED] wrote: bharathy b wrote: hi i want to know how can i invoke an timer automatically whenever

Re: [api-dev] basic question to connect OpenOffice (OOoBean) , last (?) from PART 1

2006-07-26 Thread Erik Zühlke
If we come to the next result, so slowly approach step by step the thing. Although I after the following result already again nearly despair. I submitted with JSwat the Application a Debug and the result was again, appear by OpenOffice in the Application! Thus the same result as under