34 m_pdfFrontFPPropertyPopups( true ),
35 m_pdfBackFPPropertyPopups( true ),
36 m_pdfMetadata( true ),
38 m_pdfGenMode( GEN_MODE::ALL_LAYERS_ONE_FILE ),
39 m_pdfBackgroundColor(
"rgba(0,0,0,0)" )
41 m_plotDrawingSheet =
false;
45 &m_colorTheme, m_colorTheme ) );
48 &m_pdfMetadata, m_pdfMetadata ) );
50 &m_pdfSingle, m_pdfSingle ) );
52 &m_pdfFrontFPPropertyPopups, m_pdfFrontFPPropertyPopups ) );
54 &m_pdfBackFPPropertyPopups, m_pdfBackFPPropertyPopups ) );
56 &m_pdfGenMode, m_pdfGenMode ) );
57 m_params.emplace_back(
new JOB_PARAM<wxString>(
"background_color", &m_pdfBackgroundColor, m_pdfBackgroundColor ) );
NLOHMANN_JSON_SERIALIZE_ENUM(JOB_EXPORT_PCB_PDF::GEN_MODE, { { JOB_EXPORT_PCB_PDF::GEN_MODE::ALL_LAYERS_ONE_FILE, "all-layers-one-file" }, { JOB_EXPORT_PCB_PDF::GEN_MODE::ALL_LAYERS_SEPARATE_FILE, "all-layers-separate-files" }, { JOB_EXPORT_PCB_PDF::GEN_MODE::ONE_PAGE_PER_LAYER_ONE_FILE, "one-page-per-layer-one-file" } }) JOB_EXPORT_PCB_PDF