41 m_pdfFrontFPPropertyPopups(
true ),
42 m_pdfBackFPPropertyPopups(
true ),
43 m_pdfMetadata(
true ), m_pdfSingle(
false ), m_pdfGenMode( GEN_MODE::ALL_LAYERS_ONE_FILE )
45 m_plotDrawingSheet =
false;
47 m_params.emplace_back(
new JOB_PARAM<wxString>(
"color_theme", &m_colorTheme, m_colorTheme ) );
48 m_params.emplace_back(
new JOB_PARAM<bool>(
"mirror", &m_mirror, m_mirror ) );
49 m_params.emplace_back(
50 new JOB_PARAM<bool>(
"black_and_white", &m_blackAndWhite, m_blackAndWhite ) );
51 m_params.emplace_back(
new JOB_PARAM<bool>(
"negative", &m_negative, m_negative ) );
52 m_params.emplace_back(
new JOB_PARAM<bool>(
"plot_footprint_values", &m_plotFootprintValues,
53 m_plotFootprintValues ) );
54 m_params.emplace_back(
new JOB_PARAM<bool>(
"plot_pad_numbers", &m_plotPadNumbers, m_plotPadNumbers ) );
55 m_params.emplace_back(
new JOB_PARAM<bool>(
"plot_invisible_text", &m_plotInvisibleText,
56 m_plotInvisibleText ) );
58 "sketch_pads_on_fab_layers", &m_sketchPadsOnFabLayers, m_sketchPadsOnFabLayers ) );
59 m_params.emplace_back(
62 m_params.emplace_back(
new JOB_PARAM<bool>(
"pdf_metadata", &m_pdfMetadata, m_pdfMetadata ) );
63 m_params.emplace_back(
new JOB_PARAM<bool>(
"single_document", &m_pdfSingle, m_pdfSingle ) );
65 "front_fp_property_popups", &m_pdfFrontFPPropertyPopups, m_pdfFrontFPPropertyPopups ) );
67 "back_fp_property_popups", &m_pdfBackFPPropertyPopups, m_pdfBackFPPropertyPopups ) );
68 m_params.emplace_back(
new JOB_PARAM<GEN_MODE>(
"pdf_gen_mode", &m_pdfGenMode, m_pdfGenMode ) );
74 return wxString::Format(
_(
"Export PDF" ) );
80 return wxString::Format(
_(
"Export PDF Job Settings" ) );
wxString GetSettingsDialogTitle() const override
wxString GetDefaultDescription() const override
@ ALL_LAYERS_SEPARATE_FILE
@ ALL_LAYERS_ONE_FILE
DEPRECATED MODE.
@ ONE_PAGE_PER_LAYER_ONE_FILE
The most traditional output mode KiCad has had.
Some functions to handle hotkeys in KiCad.
NLOHMANN_JSON_SERIALIZE_ENUM(JOB_EXPORT_PCB_PDF::DRILL_MARKS, { { JOB_EXPORT_PCB_PDF::DRILL_MARKS::NO_DRILL_SHAPE, "none" }, { JOB_EXPORT_PCB_PDF::DRILL_MARKS::SMALL_DRILL_SHAPE, "small" }, { JOB_EXPORT_PCB_PDF::DRILL_MARKS::FULL_DRILL_SHAPE, "full" } }) NLOHMANN_JSON_SERIALIZE_ENUM(JOB_EXPORT_PCB_PDF
#define REGISTER_JOB(job_name, title, face, T)