[api-dev] Macro to load kbd-config file containing assigned macros

2005-04-22 Thread Ennio-Sr
[using OOo-1.1.4 under Debian/Sarge] Hi all, I created a few macros and assigned them to some CTRL+Letter keys. Then I saved the assignements to a file (Kbd-config) as suggested by Help. After that, I attempted to construct a macro to load said kbd-config each time the relative .sxc file is

Re: [api-dev] problem with connecting java top openoffice 1.9.95

2005-04-22 Thread Stephan Bergmann
Christian Andersson wrote: Hi there, I'm trying to upgrade my javacode that integrates with openoffice from using openoffice 1.1.3/4 to using openoffice 2.0 (so that when 2.0 comes out we are already finished) I've been downloading openoffice 1.9.95 and installed it. my system is configured as

Re: [api-dev] problem with connecting java top openoffice 1.9.95

2005-04-22 Thread Christian Andersson
Stephan Bergmann wrote: in java I get this exception com.sun.star.lang.DisposedException: com.sun.star.io.IOException: EOF reached - socket,host=localhost,port=8100,localHost=rincewind,localPort=37093,peerHost=localhost,peerPort=8100 at

[api-dev] preview in BASIC dialog

2005-04-22 Thread Marc Santhoff
Hi, I'm sure this topic has been on the list, but I don't find it anymore: In a BASIC dialog I want to schow a preview of writer and calc docs. Is there any way to render a doc in preview mode to an image control? Or can the preview instantiated dynamically? Im talking of a first page

[api-dev] writing writer doc to stream unpacked

2005-04-22 Thread Marc Santhoff
Hi, I' trying with the code below, but the result is always negative, the contents of the written file is still in zipped form. Without using a stream as storage but a file as normally done it works, the whole bunch is written out as text (content.xml, ...). If I use a FilterName it results in a