FilterChecker filter = new FilterChecker(log) ;
Any arg = new Any(new Type(XDocumentHandler.class),filter);
final String STYLE_NAME = "New style" + counter++ ;
try {
oObj = (XInterface) xMSF.createInstanceWithArguments(
"com.sun.star.comp.Draw.XMLStylesExporter", new Object[] {arg});
XExporter xEx = (XExporter)
UnoRuntime.queryInterface(XExporter.class,oObj);
xEx.setSourceDocument(xDrawDoc);