public final class DistributedWorkConverterPlugin extends Object implements ConverterPlugin
| Constructor and Description |
|---|
DistributedWorkConverterPlugin(WorkManager workManager)
Constructeur.
|
| Modifier and Type | Method and Description |
|---|---|
KFile |
convertToFormat(KFile file,
String targetFormat)
Retourne le fichier converti
L'appel à l'OOO distant est synchronisé, car il supporte mal les converssions concurrentes.
|
@Inject public DistributedWorkConverterPlugin(WorkManager workManager)
workManager - Manager des workspublic KFile convertToFormat(KFile file, String targetFormat)
convertToFormat in interface ConverterPluginfile - Fichier à convertirtargetFormat - Type de document de sortie ODT,RTF,DOC,CSV,PDFCopyright © 2014. All Rights Reserved.