protected void loadAndExport(String inputUrl, Map/*<String,Object>*/ loadProperties, String outputUrl, Map/*<String,Object>*/ storeProperties) throws Exception {
XComponentLoader desktop = openOfficeConnection.getDesktop();
XComponent document = desktop.loadComponentFromURL(inputUrl, "_blank", 0, toPropertyValues(loadProperties));
if (document == null) {
throw new OpenOfficeException("conversion failed: input document is null after loading");
}
refreshDocument(document);
try {