Hi there,

I want to parser a document and trigger a XDispatchHelper at certain
points. I need the XModel object for doing it but when I get to this
line:

XModel xModel = (XModel)UnoRuntime.queryInterface(XModel.class,field);

xModel is null.... What am I doing wrong??

well textfields don't implement the Interface XModel as far as I know. You will have to get it from the document your field is in.

Hope that helps

Regards

Stephan

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

Reply via email to