[api-dev] Inserting GraphicObjects in tablecells in oWriter

2009-07-01 Thread Steffen Boersig
Hi, i'm currently trying to solve my problem with tablecells. I managed to get my GraphicObjects into my oWriter files with help of snippets, mainly with http://codesnippets.services.openoffice.org/Writer/Writer.EmbedAGraphicIntoATextdocument.snip To determine the position where to anchor

Re: [api-dev] Inserting GraphicObjects in tablecells in oWriter

2009-07-01 Thread Fernand Vanrie
Steffen, please find the basic code who inserts graphics in Tablecells using the cell dimensions to dimensioning the grapgics. Finding the dimensions off a cell can be tricky when cells are merged ect.. therefore i use the dificult to read :-)firts part of the code hope it helps Fernand

[api-dev] Focus window to the view cursor

2009-07-01 Thread Andrew Douglas Pitonyak
I move the view cursor in a Write document and then the cursor is no longer visible. What is the trick to move the view so that I can see the view cursor. If I manually press a key to move the cursor, then the view changes so that I can see the cursor. I just cannot remember how to do this