Class XDocReportConverterPlugin

  • All Implemented Interfaces:
    io.vertigo.core.node.component.CoreComponent, io.vertigo.core.node.component.Plugin, ConverterPlugin

    public final class XDocReportConverterPlugin
    extends Object
    implements ConverterPlugin
    Plugin de conversion du format ODT au format PDF. Utilisant la librairie xdocreport.
    Author:
    jgarnier
    • Constructor Detail

      • XDocReportConverterPlugin

        public XDocReportConverterPlugin()
    • Method Detail

      • convertToFormat

        public VFile convertToFormat​(VFile file,
                                     String targetFormat)
        Description copied from interface: ConverterPlugin
        Retourne le fichier converti L'appel à l'OOO distant est synchronisé, car il supporte mal les converssions concurrentes.
        Specified by:
        convertToFormat in interface ConverterPlugin
        Parameters:
        file - Fichier à convertir
        targetFormat - Type de document de sortie ODT,RTF,DOC,CSV,PDF
        Returns:
        Fichier converti