Hi Tobias,

That is interesting. Thank you. But if I continue the code the following
way, I run into troubles (xPrintable will be null):
-----%<-----
// Querying for the interface XPrintable on the loaded document
XPrintable xPrintable = (XPrintable)
        UnoRuntime.queryInterface(XPrintable.class, myComp);
-----%<-----

How to solve this?

even though I'm not the Stephan you addressed ;-)
I'd try to query the XPrintable at you xModel instead of myComp.

Regards

Stephan

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

Reply via email to