sec_interp.exporters.pdf_exporter module

PDF export utilities.

class sec_interp.exporters.pdf_exporter.PDFExporter(settings: dict[str, Any])

Bases: BaseExporter

Exporter for PDF format.

export(output_path: Path, map_settings: qgis.core.QgsMapSettings) bool

Export map to PDF.

Parameters:
  • output_path – Output file path

  • map_settings – QgsMapSettings instance configured for rendering

Returns:

True if export successful, False otherwise

get_supported_extensions() list[str]

Get supported PDF extension.