in Writer, I know how to enumerate all the graphics contained in the DrawPage object of a document, and then select these objects and manipulate them.
I use something like this (in BASIC language0):
Code: Select all
oDrawPage = oDoc.drawPage
If oDrawPage.hasElements() Then
' Go through graphic elements
For j = (oDrawPage.getCount() - 1) To 0 Step -1
oShape = oDrawPage.getByIndex(j)
< work on oShape >
Next
End If
Any help would be greatly appreciated.
Thanks,
RB