KiCad PCB EDA Suite
Loading...
Searching...
No Matches
JOB_EXPORT_PCB_SVG Class Reference

#include <job_export_pcb_svg.h>

Inheritance diagram for JOB_EXPORT_PCB_SVG:
JOB_EXPORT_PCB_PLOT JOB

Public Types

enum class  PLOT_FORMAT {
  HPGL , GERBER , POST , DXF ,
  PDF , SVG
}
 

Public Member Functions

 JOB_EXPORT_PCB_SVG (bool aIsCli)
 
wxString GetDescription () override
 
const std::string & GetType () const
 
bool IsCli () const
 
const std::map< wxString, wxString > & GetVarOverrides () const
 
void SetVarOverrides (const std::map< wxString, wxString > &aVarOverrides)
 
virtual void FromJson (const nlohmann::json &j)
 
virtual void ToJson (nlohmann::json &j) const
 
const std::vector< JOB_PARAM_BASE * > & GetParams ()
 
void ClearExistingOutputs ()
 
const std::vector< JOB_OUTPUT > & GetOutputs ()
 
void AddOutput (wxString aOutputPath)
 
void SetTempOutputDirectory (const wxString &aBase)
 
void SetOutputPath (const wxString &aPath)
 
wxString GetOutputPath () const
 
wxString GetFullOutputPath () const
 
bool OutputPathFullSpecified () const
 

Public Attributes

int m_pageSizeMode
 
PLOT_FORMAT m_plotFormat
 
wxString m_filename
 
wxString m_colorTheme
 
wxString m_drawingSheet
 
bool m_mirror
 Common Options.
 
bool m_blackAndWhite
 
bool m_negative
 
bool m_sketchPadsOnFabLayers
 
bool m_hideDNPFPsOnFabLayers
 
bool m_sketchDNPFPsOnFabLayers
 
bool m_crossoutDNPFPsOnFabLayers
 
bool m_plotFootprintValues
 
bool m_plotRefDes
 
bool m_plotDrawingSheet
 
LSEQ m_printMaskLayer
 
int m_drillShapeOption
 

Protected Attributes

std::string m_type
 
bool m_isCli
 
std::map< wxString, wxString > m_varOverrides
 
wxString m_tempOutputDirectory
 
wxString m_outputPath
 
bool m_outputPathIsDirectory
 
std::vector< JOB_PARAM_BASE * > m_params
 
std::vector< JOB_OUTPUTm_outputs
 

Detailed Description

Definition at line 31 of file job_export_pcb_svg.h.

Member Enumeration Documentation

◆ PLOT_FORMAT

enum class JOB_EXPORT_PCB_PLOT::PLOT_FORMAT
stronginherited
Enumerator
HPGL 
GERBER 
POST 
DXF 
PDF 
SVG 

Definition at line 33 of file job_export_pcb_plot.h.

Constructor & Destructor Documentation

◆ JOB_EXPORT_PCB_SVG()

Member Function Documentation

◆ AddOutput()

void JOB::AddOutput ( wxString  aOutputPath)
inlineinherited

Definition at line 112 of file job.h.

Referenced by PCBNEW_JOBS_HANDLER::JobExportPos().

◆ ClearExistingOutputs()

void JOB::ClearExistingOutputs ( )
inlineinherited

Definition at line 104 of file job.h.

Referenced by JOB_DISPATCHER::RunJob().

◆ FromJson()

void JOB::FromJson ( const nlohmann::json &  j)
virtualinherited

Definition at line 54 of file job.cpp.

References JOB::m_params.

Referenced by from_json().

◆ GetDescription()

wxString JOB_EXPORT_PCB_SVG::GetDescription ( )
overridevirtual

Reimplemented from JOB.

Definition at line 51 of file job_export_pcb_svg.cpp.

References _.

◆ GetFullOutputPath()

◆ GetOutputPath()

◆ GetOutputs()

const std::vector< JOB_OUTPUT > & JOB::GetOutputs ( )
inlineinherited

Definition at line 108 of file job.h.

◆ GetParams()

const std::vector< JOB_PARAM_BASE * > & JOB::GetParams ( )
inlineinherited

Definition at line 100 of file job.h.

◆ GetType()

const std::string & JOB::GetType ( ) const
inlineinherited

◆ GetVarOverrides()

◆ IsCli()

◆ OutputPathFullSpecified()

bool JOB::OutputPathFullSpecified ( ) const
inherited

Definition at line 136 of file job.cpp.

References JOB::m_outputPath, and JOB::m_outputPathIsDirectory.

Referenced by PCBNEW_JOBS_HANDLER::JobExportIpc2581().

◆ SetOutputPath()

◆ SetTempOutputDirectory()

void JOB::SetTempOutputDirectory ( const wxString &  aBase)
inherited

Definition at line 74 of file job.cpp.

References JOB::m_tempOutputDirectory.

◆ SetVarOverrides()

void JOB::SetVarOverrides ( const std::map< wxString, wxString > &  aVarOverrides)
inlineinherited

Definition at line 90 of file job.h.

Referenced by CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().

◆ ToJson()

void JOB::ToJson ( nlohmann::json &  j) const
virtualinherited

Definition at line 61 of file job.cpp.

References JOB::m_params.

Referenced by to_json().

Member Data Documentation

◆ m_blackAndWhite

bool JOB_EXPORT_PCB_PLOT::m_blackAndWhite
inherited

◆ m_colorTheme

wxString JOB_EXPORT_PCB_PLOT::m_colorTheme
inherited

◆ m_crossoutDNPFPsOnFabLayers

bool JOB_EXPORT_PCB_PLOT::m_crossoutDNPFPsOnFabLayers
inherited

◆ m_drawingSheet

◆ m_drillShapeOption

◆ m_filename

◆ m_hideDNPFPsOnFabLayers

bool JOB_EXPORT_PCB_PLOT::m_hideDNPFPsOnFabLayers
inherited

◆ m_isCli

bool JOB::m_isCli
protectedinherited

Definition at line 128 of file job.h.

◆ m_mirror

◆ m_negative

bool JOB_EXPORT_PCB_PLOT::m_negative
inherited

◆ m_outputPath

wxString JOB::m_outputPath
protectedinherited

◆ m_outputPathIsDirectory

bool JOB::m_outputPathIsDirectory
protectedinherited

Definition at line 134 of file job.h.

Referenced by JOB::GetFullOutputPath(), JOB::JOB(), and JOB::OutputPathFullSpecified().

◆ m_outputs

std::vector<JOB_OUTPUT> JOB::m_outputs
protectedinherited

Definition at line 138 of file job.h.

◆ m_pageSizeMode

int JOB_EXPORT_PCB_SVG::m_pageSizeMode

Definition at line 37 of file job_export_pcb_svg.h.

Referenced by JOB_EXPORT_PCB_SVG(), and PCBNEW_JOBS_HANDLER::JobExportSvg().

◆ m_params

◆ m_plotDrawingSheet

◆ m_plotFootprintValues

◆ m_plotFormat

PLOT_FORMAT JOB_EXPORT_PCB_PLOT::m_plotFormat
inherited

Definition at line 45 of file job_export_pcb_plot.h.

Referenced by DIALOG_PLOT::init_Dialog().

◆ m_plotRefDes

◆ m_printMaskLayer

◆ m_sketchDNPFPsOnFabLayers

bool JOB_EXPORT_PCB_PLOT::m_sketchDNPFPsOnFabLayers
inherited

◆ m_sketchPadsOnFabLayers

bool JOB_EXPORT_PCB_PLOT::m_sketchPadsOnFabLayers
inherited

◆ m_tempOutputDirectory

wxString JOB::m_tempOutputDirectory
protectedinherited

Definition at line 131 of file job.h.

Referenced by JOB::GetFullOutputPath(), and JOB::SetTempOutputDirectory().

◆ m_type

std::string JOB::m_type
protectedinherited

Definition at line 127 of file job.h.

◆ m_varOverrides

std::map<wxString, wxString> JOB::m_varOverrides
protectedinherited

Definition at line 129 of file job.h.


The documentation for this class was generated from the following files: