Hi together,

I created my first component and have now a big problem:
-----%<-----
private XComponent openDocument = null;
[...]
// Querying for the interface XPrintable on the loaded document
XPrintable xPrintable = (XPrintable)
        UnoRuntime.queryInterface(XPrintable.class, openDocument);
-----%<-----

I want to print the current document, but I don't know how to tell the
component the XComponent the user used when clicking on the item of the
menu.

Can anybody tell me how to do this?

Or generally: how to give variables to components?

Greetings, Tobias

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

Reply via email to