# sec_interp.gui.main_dialog_export module

Export management module for SecInterp main dialog.

This module handles exporting preview data to various file formats (PNG, PDF, SVG) and orchestrating data exports (SHP, CSV) via ExportService.

class sec_interp.gui.main_dialog_export.ExportManager(dialog: sec_interp.gui.main_dialog.SecInterpDialog)

  Bases: `object`

  Manages all export operations for the dialog.

  This class handles exporting preview data to various file formats (PNG, PDF, SVG) and orchestrating data exports (SHP, CSV) via ExportService.

  Initialize export manager with reference to parent dialog.

  Parameters:

    dialog – The `sec_interp.gui.main_dialog.SecInterpDialog` instance

  __init__(dialog: sec_interp.gui.main_dialog.SecInterpDialog)

    Initialize export manager with reference to parent dialog.

    Parameters:

      dialog – The `sec_interp.gui.main_dialog.SecInterpDialog` instance

  export_preview() → bool

    Export the current preview to a file.

    Returns:

      True if export successful, False otherwise

  export_data() → bool

    Orchestrate full data export (SHP/CSV) to the selected folder.

    Returns:

      True if successful, False otherwise