Re: [api-dev] How-To insert an OLE document into Writer by macro

2005-04-15 Thread Mathias Bauer
Christophe Mari wrote: > Thanks > > Now, after I create my calc object, I want to populate my object with > D:/history.ods file. > How I make it ? Unfortunately the "Insert object from file" functionality is not available in the API yet, so the only way would be to insert the content into the doc

Re: [api-dev] How-To insert an OLE document into Writer by macro

2005-04-15 Thread Christophe Mari
v] How-To insert an OLE document into Writer by macro > Christophe Mari wrote: > > Hi, > > > > I want to insert an Excel document into a writer document by macro (basic). > > I don't find any samples through the net. > > Are you sure you mean "Excel&

Re: [api-dev] How-To insert an OLE document into Writer by macro

2005-04-14 Thread Mathias Bauer
Christophe Mari wrote: > Hi, > > I want to insert an Excel document into a writer document by macro (basic). > I don't find any samples through the net. Are you sure you mean "Excel"? Or do you want to use "Calc"? Inserting a Calc object works the following way: obj=ThisComponent.CreateInstan

[api-dev] How-To insert an OLE document into Writer by macro

2005-04-14 Thread Christophe Mari
Hi,   I  want to insert an Excel document into a writer document by macro (basic). I don't find any samples through the net.   Thanks   Christophe