Re: [api-dev] Problems with handling a xTextEmbeddedObject

2009-06-22 Thread bvollmer
Hello, many thanks for your fast reply ariel. Your sample code was very helpful, we could solve the problem now. regards Benjamin Quoting Ariel Constenla-Haile ariel.constenla.ha...@googlemail.com: see the Java source code attached.

[api-dev] Problems with handling a xTextEmbeddedObject

2009-06-21 Thread bvollmer
Hi everybody, my teammate is trying to insert an OLE object in a writer document like in the OOo menu structure create from file with a given ODS file. That's what he got for now. But the inserted object shows always only an extract of the table which is just ca. nine cm in width and ca.

Re: [api-dev] How to reload current opened document via API

2009-06-08 Thread bvollmer
Quoting Mathias Bauer nospamfor...@gmx.de: bvoll...@informatik.uni-bremen.de wrote: Unfortunately the solution with .uno:Reload does not work anymore since OO.org 3.1 was released. Under Windows I cannot update the opened document externally because it is locked. I need a workaround with close

Re: [api-dev] How to reload current opened document via API

2009-06-05 Thread bvollmer
Quoting Mathias Bauer nospamfor...@gmx.de: Benjamin Vollmer wrote: Hello, I work on an extension where in some cases the opened document is updated externally. So I have to reload my document. In a snippet I found this way: PropertyValue[] aLoadProps = new PropertyValue[0]; // reload