}
XComponent component = loader.loadComponentFromURL(
internalLocation, mode, 0, null);
if (component == null) {
throw new ImpressException("Probleme de chargement du fichier "
+ internalLocation);
}
return new ImpressDocument(component);
} catch (Exception e) {
throw new ImpressException(e);
}
}