No matter what I do it seems I'm always getting an Exception even when I'm trying to create a GraphicExportFilter.

Object oUnoObject = xMSF.createInstance("com.sun.star.drawing.GraphicExportFilter");

The xMSF is not null and does work for other things like for example:.

XNamed xChildNamed = (XNamed) UnoRuntime.queryInterface(XNamed.class,
                   xMSF.createInstance("com.sun.star.text.TextSection"));

What could be wrong here?!

Jimmy schrieb:
That's exactly my problem, I can't translate it. It takes some more steps in Java to create a GraphicProvider, and I can't get it to work. Same with the XGraphic.

So it's pretty much just that I don't know how to do it in Java...does anyone else know?

thanks though

Fernand Vanrie wrote:
Try to translate 1 off the 3 solutoins in basic >> http://api.openoffice.org/servlets/ReadMsg?listName=dev&msgNo=15212

Hopes it helps

Fernand

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


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

Reply via email to