Class Geoportal_PDF_Exporter


  • public class Geoportal_PDF_Exporter
    extends Object
    The Class Geoportal_PDF_Exporter.
    Author:
    Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Nov 21, 2023
    • Constructor Detail

      • Geoportal_PDF_Exporter

        public Geoportal_PDF_Exporter()
    • Method Detail

      • checkConfig

        public boolean checkConfig()
        Check config.
        Returns:
        true, if the PDFExporterConfig (means the proper GR see PDFExporterConfigProvider) exists, false otherwise.
      • createPDFFile

        public FileReference createPDFFile​(ExporterProjectSource exportSource)
                                    throws Exception
        Creates the PDF file.
        Parameters:
        exportSource - the export source. // set ExporterProjectSource.username = null to test PUBLIC ACCESS
        Returns:
        the string
        Throws:
        Exception - the exception