Hi, After playing around some more, I figured out the problem (dealt with getting the services correctly). Just to let everyone know, I added information on how to embed images in a Spreadsheet (rather than link to them) on the Calc API Programming wiki:
http://wiki.services.openoffice.org/wiki/Calc_API_Programming#Graphics Thank you, Wojciech On 8/15/07, Wojciech Gryc <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm currently trying to use the OO API to add images into a spreadsheet, > but am completely stuck. I've looked at a number of different tutorials... > > First: > http://codesnippets.services.openoffice.org/Writer/Writer.EmbedAGraphicIntoATextdocument.snip > > But my problem in this case is that I can't figure out the equivalent > spreadsheet version of insertTextContent(). > > Then: http://www.oooforum.org/forum/viewtopic.phtml?t=58392 > > In this case, it seems that com.sun.star.drawing.GraphicObjectShapedoesn't > actually exist in SDK > 2.1 or 2.2. > > Is there any advice or a guide where other than those two? > > Thank you in advance, > Wojciech > -- Five Minutes to Midnight: Youth on human rights and current affairs http://www.fiveminutestomidnight.org/
