Ian Shields wrote:

I'm investigating writing a filter using Java and UNO. So far, I can
iterate over text in a writer document, but I'm having trouble with
graphics. I can use an XTextCursor to create an
XContentEnumerationAccess and then find TextContent items using
XEnumeration xTextContentEnum = xTextContentAccess
 .createContentEnumeration("com.sun.star.text.TextContent");

But I'm baffled as to how to pick up graphics that are anchored at a
paragraph as I iterate through a document. Is there a general
methodology for a filter to iterate over ALL the content of a Writer
document in order?

I'm only able to help a little. AFAIK you should find it in the DrawPage of the document.

Regards,
Cor

--

Cor Nouws
Arnhem - Netherlands
nl.OpenOffice.org - marketing contact

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

Reply via email to