Am 02/09/09 15:21, cguer...@yahoo.com schrieb:
Hi,

I am developping an extension for which I would like to add some fields in a TextDocument. I have 
built the Java class that supports all the interfaces and services that are documented in the Dev 
Guide for a XTextField. But when I try to insertTextContent, I receive an error "Object does 
not support XUnoTunnel" or something similar. I do not see how I should implement the 
"getSomething" method in Java, not to mention that the Dev Guide discourage using this 
interface.
Does anyone have an idea how I could implement my text field or should I 
envisage to rework the OO code that deals with text fields to get rid of the 
XUnoTunnel (to be honest, it seems to me that it would be a hard work and I'm 
not sure to be able to do this!)?

Hi,
Writer doesnt support external text content. Even if you would implement XUnoTunnel it wouldnt work. The tunnel is used to detect the internal implementation types.

Regards,
Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to