[api-dev] mailmerge

2006-09-28 Thread Knut Olav Bøhmer
Hi, In the IDL documentation is says that if the DocumentURL is not set, a new empty document is created. ( http://api.openoffice.org/docs/common/ref/com/sun/star/text/MailMerge.html#DocumentURL) But I get this error: OutputURL is not set and can not be obtained on oMailMerge.execute(

Re: [api-dev] Announcement of the new Object Inspector

2006-09-28 Thread Berend Cornelius
Hi Jérémy, the source code is implemented within the childworkspace 'sdkinspector' http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=4285Path=SRC680%2Fsdkinspector Best regards Berend Jérémy Bethmont wrote: Hello, Is the source code of the Object inspector available somewhere ? Thank

[api-dev] Save As Dialog for export

2006-09-28 Thread Jimmy
I'm trying to implement a Java dialog to export a Writer document with my custom filter. I haven't found a way to do so. The UnoControlFileControlModel only works to open files but not to save them, since I can't enter a filename that doesn't exist. Is there a save or export dialog in the API

[api-dev] Re: mailmerge

2006-09-28 Thread Knut Olav Bøhmer
forget it.. (I really mean it) On 9/28/06, Knut Olav Bøhmer [EMAIL PROTECTED] wrote: Hi, In the IDL documentation is says that if the DocumentURL is not set, a new empty document is created. ( http://api.openoffice.org/docs/common/ref/com/sun/star/text/MailMerge.html#DocumentURL ) But I get

Re: [api-dev] Problem to connect openoffice via Tomcat

2006-09-28 Thread Bernd Eilers
aloizio wrote: Hi Hi there! The application will be located into Linux platform and Windows XP platform. First I am testing into Windows XP platform. I am using TomCat 5.5.9, Java SDK 1.4 and the OpenOffice 2.0. I am trying to execute a simple test where a web page is accessed and an user

[api-dev] Name of merged file.

2006-09-28 Thread Knut Olav Bøhmer
Is there any way to find the name of the file generated from MailMerge.execute( args() )? I don't like guessing :) -- Knut Olav Bøhmer

Re: [api-dev] Name of merged file.

2006-09-28 Thread Stephan Wunderlich
Hi Knut, Is there any way to find the name of the file generated from MailMerge.execute( args() )? I don't like guessing :) guessing can be fun at times ;-) I think for your problem the com.sun.star.frame.GlobalEventBroadcaster comes in handy. It can be created at the

[api-dev] prevent document closing

2006-09-28 Thread Adam Patacchiola
Hi, How can I prevent a document from closing? I've figured out how to do it for the frame by adding a CloseListener and throwing a CloseVetoException in queryClosing, but this does not seem to work for the internal document. Adam