insert image in calc document using VS C++

2013-05-10 Thread k.misha
Hi! Do you some examples in VS C++ how to insert image into calc document? Reference com::sun::star::drawing::XDrawPagesSupplier xDrawPagesSupplier(?); xDrawPagesSupplier-getDrawPages(); How I need to initialize xDrawPagesSupplier? Because I have an error when

insert image ino calc doc

2013-05-10 Thread k.misha
Hi! How I need to initialize XShapes and XShape interfaces? Reference XShapes xShapes(?); Reference XShape xShape(?); Thanks!

insert image into calc

2013-05-10 Thread k.misha
Hello! I have this code: Reference com::sun::star::drawing::XDrawPagesSupplier xDrawPagesSupplier(xCalcComponent, UNO_QUERY); Reference XDrawPages xDrawPages( xDrawPagesSupplier-getDrawPages(), UNO_QUERY ); Reference XDrawPage xDrawPage( xDrawPages-getByIndex(0), UNO_QUERY ); Reference

Re: insert image into calc

2013-05-10 Thread Regina Henschel
Hi, k.misha schrieb: Hello! I have this code: Reference com::sun::star::drawing::XDrawPagesSupplier xDrawPagesSupplier(xCalcComponent, UNO_QUERY); Reference XDrawPages xDrawPages( xDrawPagesSupplier-getDrawPages(), UNO_QUERY ); Reference XDrawPage xDrawPage( xDrawPages-getByIndex(0),

RE: insert image into calc

2013-05-10 Thread k.misha
неинеи-Original Message-неиFrom: Regina Henschel [mailto:rb.hensc...@t-online.de] неиSent: Friday, May 10, 2013 7:15 PMнеиTo: api@openoffice.apache.orgнеиSubject: Re: insert image into calcнеинеиHi,неинеиk.misha schrieb:неи Hello!неинеи I have this code:неинеи Reference

Re: insert image ino calc doc

2013-05-10 Thread Ariel Constenla-Haile
On Fri, May 10, 2013 at 02:24:56PM +0300, k.misha wrote: Hi! How I need to initialize XShapes and XShape interfaces? Reference XShapes xShapes(?); The draw page implements this interface. If we had more code contributors, we could implement multiple inheritance; but that's not the case,

insert image into calc document

2013-05-10 Thread k.misha
Hi! Regina, I have understood how to do it. It's a sample of code: Reference com::sun::star::drawing::XDrawPagesSupplier xDrawPagesSupplier(xCalcComponent, UNO_QUERY); Reference XDrawPages xDrawPages( xDrawPagesSupplier-getDrawPages(), UNO_QUERY ); Reference XDrawPage