Re: Programming OOoDraw and OOoImpress

2013-04-14 Thread Henry Tiquet Leyva
Did yuo add it to the code in http://ooo.pastebin.ca/2357487? No, I didn't. I added it in my main code. Thank you for that you told me in the above mail. I get it, but I got this error because I didn't add the correct name of object, in your code it is called xDoc, I just had to change xcomponent

Re: Programming OOoDraw and OOoImpress

2013-04-14 Thread Ariel Constenla-Haile
On Sat, Apr 13, 2013 at 03:09:57PM -0500, Henry Tiquet Leyva wrote: > Hello Ariel, > > I added this at the code above: > > css::uno::Reference < css::drawing::XDrawPagesSupplier > > rDrawDoc(xcomponent, css::uno::UNO_QUERY_THROW); > > // query the XDrawPages Interface > css::uno::Reference < css

Re: Programming OOoDraw and OOoImpress

2013-04-13 Thread Henry Tiquet Leyva
Hello Ariel, I added this at the code above: css::uno::Reference < css::drawing::XDrawPagesSupplier > rDrawDoc(xcomponent, css::uno::UNO_QUERY_THROW); // query the XDrawPages Interface css::uno::Reference < css::drawing::XDrawPages > rDrawPages = rDrawDoc->getDrawPages(); // query the XIndexAcc

Re: Programming OOoDraw and OOoImpress

2013-04-12 Thread Henry Tiquet Leyva
Thank you!!! It is solved! Now I get it. Only I had to change the cxx name file in the new Makefile and now it is working perfectly. Regards! 2013/4/12 Ariel Constenla-Haile > On Fri, Apr 12, 2013 at 05:20:48PM -0500, Henry Tiquet Leyva wrote: > > http://ooo.pastebin.ca/2357487 > > > > I am so

Re: Programming OOoDraw and OOoImpress

2013-04-12 Thread Ariel Constenla-Haile
On Fri, Apr 12, 2013 at 05:20:48PM -0500, Henry Tiquet Leyva wrote: > http://ooo.pastebin.ca/2357487 > > I am sorry, here is it, I think it is better like this. at first sight, there is nothing wrong (though the code is old). How are you building this code? It tries to connect to a running offic

Re: Programming OOoDraw and OOoImpress

2013-04-12 Thread Henry Tiquet Leyva
http://ooo.pastebin.ca/2357487 I am sorry, here is it, I think it is better like this. 2013/4/12 Henry Tiquet Leyva > > > > 2013/4/12 Ariel Constenla-Haile > >> Hi Henry, >> >> On Fri, Apr 12, 2013 at 04:53:54PM -0500, Henry Tiquet Leyva wrote: >> > Hi Ariel, >> > >> > I have done all you tol

Re: Programming OOoDraw and OOoImpress

2013-04-12 Thread Henry Tiquet Leyva
2013/4/12 Ariel Constenla-Haile > Hi Henry, > > On Fri, Apr 12, 2013 at 04:53:54PM -0500, Henry Tiquet Leyva wrote: > > Hi Ariel, > > > > I have done all you told me but I have the error yet. > > I searched in Internet and it said that generally such errors are caused > by > > addressing non-exis

Re: Programming OOoDraw and OOoImpress

2013-04-12 Thread Ariel Constenla-Haile
Hi Henry, On Fri, Apr 12, 2013 at 04:53:54PM -0500, Henry Tiquet Leyva wrote: > Hi Ariel, > > I have done all you told me but I have the error yet. > I searched in Internet and it said that generally such errors are caused by > addressing non-existent/allocated memory. > > Is posible that I am u

Re: Programming OOoDraw and OOoImpress

2013-04-12 Thread Henry Tiquet Leyva
Hi Ariel, I have done all you told me but I have the error yet. I searched in Internet and it said that generally such errors are caused by addressing non-existent/allocated memory. Is posible that I am using some wrong variable? 2013/4/11 Ariel Constenla-Haile > Hi Henry, > > On Thu, Apr 11,

Re: Programming OOoDraw and OOoImpress

2013-04-11 Thread Ariel Constenla-Haile
Hi Henry, On Thu, Apr 11, 2013 at 07:50:55PM -0500, Henry Tiquet Leyva wrote: > Hello everyone, > > I'm trying to do that: > http://wiki.openoffice.org/wiki/Programming_OOoDraw_and_OOoImpress#Giving_a_Name_to_the_Shape > > > and the connection is successful and the XComponentloader is > instanc