}
doHelp();
}
try {
ImpressService service = new ImpressService();
ImpressDocument document = service.loadDocument(documentLocation,
arguments.containsKey("hidden"));
doToc(arguments, service, document);
doPdf(arguments, service, document);
if (!arguments.containsKey("no-save")) {
service.save(document);
}
if (!arguments.containsKey("no-close")) {
service.close(document);
}
} catch (Throwable e) {
logger.error("Il y a un probleme...", e);
} finally {