Class Geoportal_PDF_Exporter
- java.lang.Object
-
- org.gcube.application.geoportaldatamapper.exporter.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classGeoportal_PDF_Exporter.PageNumberHandlerThe Class PageNumberHandler.classGeoportal_PDF_Exporter.WaterMarkerHandlerThe Class WaterMarkerHandler.
-
Field Summary
Fields Modifier and Type Field Description static StringmapSizeWithCentroid
-
Constructor Summary
Constructors Constructor Description Geoportal_PDF_Exporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckConfig()Check config.FileReferencecreatePDFFile(ExporterProjectSource exportSource)Creates the PDF file.
-
-
-
Field Detail
-
mapSizeWithCentroid
public static final String mapSizeWithCentroid
- See Also:
- Constant Field Values
-
-
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
-
-