Hi Juan Emilio,

On 12.10.2007 14:40, Juan Emilio Gabito wrote:
I have XTextViewCursor which I use to select some content from a Writer document. That content could have normal text, text fields, paragraphs, pictures and that sort of things. I've been searching around in google, the oooforum and the mailing list the way to delete that content but haven't found anything. Is there a way to delete this content using Java and the OO API?

try XTextRange::setString("").

Hope this helps,

Frank

--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

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

Reply via email to