Hi Giorgio,

The problem is the following:
i have inserted a graphic object in a Bookmark  into a TextTable, but
now i have a reference to a Cell but don't have a bookmark...

I have utilised this code:

 // oWriter is my document
objCell=oWriter.getTextTables().getByName("MyTableName").getCellByName("MyCellName")
//reference to my TextCell

Now i have a problem to insert the graphic object with the method
"insertTextContent" because i do not know like putting in relation the
object objCell with the method and with the his parameters.

you can query your objCell to an XText, lets call it "cellText" and then call something like

cellText.insertTextContent(cellText.createTextCursor,objGraph,Boolean.TRUE)

Hope that helps

Regards

Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to