Re: [api-dev] Problem with insertDocumentFromURL

2005-03-16 Thread Cristian Fonti
Andrew Douglas Pitonyak ha scritto: Cristian Fonti wrote: Andrew Douglas Pitonyak ha scritto: Cristian Fonti wrote: Hi to all, i have a problem using the method insertDocumentFromURL: when i use it to insert some formatted text (font size, font color,etc...) from another document, in the

Re: [api-dev] Test: Undeliverable Mails von der Liste?

2005-03-16 Thread Markus Plessing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nochmal Hallo, | Hallo, | | dies soll ein Test sein, da ich gerade auf eine Mail, die ich an | die Liste geschickt habe 5 Undeliverable Mail-Meldungen | zurückbekommen habe mit meiner Nachricht, die aber auf der Liste | bereits angekommen ist, als

Re: [api-dev] Test: Undeliverable Mails von der Liste?

2005-03-16 Thread Tom Schindl
yes. because your mail-header includes -8- ... Errors-To: [EMAIL PROTECTED] ... -8- I'm not sure who is inserting this header but maybe check your mail-client. Other mails do not include this header thus don't receive these messages

Re: [api-dev] Create a blank sheet into a clac document

2005-03-16 Thread Niklas Nebel
babar wrote: I would like to know how to create a newblank sheet into an existing spreadsheet document, I'm using basic language for now. I've tried to use (and first understand ;) this : http://codesnippets.services.openoffice.org/Calc/Calc.CopySheet.snip Inserting a blank sheet is much easier

Re: [api-dev] Test: Undeliverable Mails von der Liste?

2005-03-16 Thread Markus Plessing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Tom, *, | yes. because your mail-header includes | | -8- ... Errors-To: | [EMAIL PROTECTED] ... | -8- [...] | | I'm not sure who is inserting this header but maybe check your |

Re: [api-dev] Create a blank sheet into a clac document

2005-03-16 Thread Tom Schindl
Nevertheless the snippet is now working with copy and paste. http://codesnippets.services.openoffice.org/Calc/Calc.CopySheet.snip Tom Niklas Nebel wrote: babar wrote: I would like to know how to create a newblank sheet into an existing spreadsheet document, I'm using basic language for now. I've

Re: [api-dev] Closing a Document

2005-03-16 Thread Tom Schindl
I'm not completely sure but I think you have to register a terminate listener like this: http://api.openoffice.org/docs/DevelopersGuide/OfficeDev/OfficeDev.htm#1+1+2+Using+the+Desktop Only a wild guess though. Tom Ines Pfauch wrote: Hi I just searched the mailing list archive for a method to

[api-dev] How to protect from disposed exception?

2005-03-16 Thread Bob Crothers
Hi, We have a multi-threaded Java environment. We are using OpenOffice.org 1.1.3. There are times when we make a series of UNO calls (mostly setting properties, save, and call macros) and also get a series of exceptions. The exceptions follow:

Re: [api-dev] TabStop...

2005-03-16 Thread Michael Hoennig
Hi Cristian, Now, how can i go in the tabstop(like using the key tab) Just use a TAB (ASCII 9) in your string. Too simple? XTextCursor xt = (XTextCursor)UnoRuntime.queryInterface(XTextCursor.class,tb[0]); Here you query an XTextCursorfrom a TabStop struct? That should throw an

Re: [api-dev] How to protect from disposed exception?

2005-03-16 Thread Thomas Schindl
Hi, I don't know if these exceptions are related to that but OO is not thread save thus you have to serialize calls to it in your java-app. Tom Hi, We have a multi-threaded Java environment. We are using OpenOffice.org 1.1.3. There are times when we make a series of UNO calls (mostly

Re: [api-dev] [code snippet] Drawing on Uno Dialogs

2005-03-16 Thread Michael Hoennig
Hi Kohei, no, they will probably not extended and i hope that we will find an alternative (however it will look like) that it will be possible to implement own dialogs for extensions with the same look and feel as the rest of the office on all supported platforms. Easy to create (GUI

Re: [api-dev] [code snippet] Drawing on Uno Dialogs

2005-03-16 Thread Thomas Schindl
Hi, would it be easier to use SWT? Tom Hi Kohei, no, they will probably not extended and i hope that we will find an alternative (however it will look like) that it will be possible to implement own dialogs for extensions with the same look and feel as the rest of the office on

Re: [api-dev] Problem with insertDocumentFromURL

2005-03-16 Thread Marc Santhoff
Am Mi, den 16.03.2005 schrieb Michael Hoennig um 21:22: [...] For the second usage of gotoEnd(), also collapseToEnd() should work. See reference manual for more information. And better do not use view cursors for model based functionality, as Marc suggested. You're right, I assumed the

Re: [api-dev] IDL-Reference

2005-03-16 Thread Michael Hoennig
Hi Tom, I suppose that the IDL-Reference Properties are ordered at the moment using the occurrence of the properties in the IDL-File. The good point about this is that you can group together things like RightMargin and LeftMargin but for someone who is looking for a property it would be

Re: [api-dev] Closing a Document

2005-03-16 Thread Mathias Bauer
Ines Pfauch wrote: Hi I just searched the mailing list archive for a method to close an open document. I found something with XStoreable - close and XComponent - dispose. I tried it, but the whole OOo window closes. But I need the OOo window opened, and just want to close the document

Re: [api-dev] How to protect from disposed exception?

2005-03-16 Thread Stephan Bergmann
Bob Crothers wrote: Hi, We have a multi-threaded Java environment. We are using OpenOffice.org 1.1.3. There are times when we make a series of UNO calls (mostly setting properties, save, and call macros) and also get a series of exceptions. The exceptions follow:

Re: [api-dev] IDL-Reference

2005-03-16 Thread Thomas Schindl
Hi, How is the IDL created? Maybe we could switch to output format to XML and then do the same the codesnippet page does? XML = HTML * once sorted alphabetically * once grouped like it is now According to the what the user desires? We could even create other output formats from this point on