KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_sch_plot.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2022 Mark Roszko <[email protected]>
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software: you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation, either version 3 of the License, or (at your
10 * option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 */
20
21#ifndef JOB_EXPORT_SCH_PLOT_H
22#define JOB_EXPORT_SCH_PLOT_H
23
24#include <vector>
25#include <kicommon.h>
26#include "job.h"
27
28
35
36
46
47
49{
50public:
51 JOB_EXPORT_SCH_PLOT( bool aOutputIsDirectory );
52
54 wxString m_filename;
56 wxString m_defaultFont;
57 wxString m_variant;
58
61 std::vector<wxString> m_plotPages;
62
63 // KIID path of the sheet to plot in single-sheet mode; empty means the current sheet
64 wxString m_sheetPath;
65
74 wxString m_theme;
75
76 // Variant names to export. Empty vector means default variant only.
77 std::vector<wxString> m_variantNames;
78};
79
80
82{
83public:
84 JOB_EXPORT_SCH_PLOT_PDF( bool aOutputIsDirectory = false );
85 wxString GetDefaultDescription() const override;
86 wxString GetSettingsDialogTitle() const override;
87};
88
89
91{
92public:
93 JOB_EXPORT_SCH_PLOT_DXF( bool aOutputIsDirectory = true );
94 wxString GetDefaultDescription() const override;
95 wxString GetSettingsDialogTitle() const override;
96};
97
98
100{
101public:
102 JOB_EXPORT_SCH_PLOT_SVG( bool aOutputIsDirectory = true );
103 wxString GetDefaultDescription() const override;
104 wxString GetSettingsDialogTitle() const override;
105};
106
107
109{
110public:
111 JOB_EXPORT_SCH_PLOT_PS( bool aOutputIsDirectory = true );
112 wxString GetDefaultDescription() const override;
113 wxString GetSettingsDialogTitle() const override;
114};
115
116
123
124
126{
127public:
128 JOB_EXPORT_SCH_PLOT_PNG( bool aOutputIsDirectory = true );
129 wxString GetDefaultDescription() const override;
130 wxString GetSettingsDialogTitle() const override;
131
132 int m_dpi;
134};
135
136#endif
JOB_EXPORT_SCH_PLOT_DXF(bool aOutputIsDirectory=true)
wxString GetSettingsDialogTitle() const override
wxString GetDefaultDescription() const override
wxString GetDefaultDescription() const override
wxString GetDefaultDescription() const override
wxString GetSettingsDialogTitle() const override
JOB_EXPORT_SCH_PLOT_PDF(bool aOutputIsDirectory=false)
JOB_EXPORT_SCH_PLOT_PNG(bool aOutputIsDirectory=true)
wxString GetDefaultDescription() const override
wxString GetSettingsDialogTitle() const override
wxString GetDefaultDescription() const override
JOB_EXPORT_SCH_PLOT_PS(bool aOutputIsDirectory=true)
wxString GetSettingsDialogTitle() const override
JOB_EXPORT_SCH_PLOT_SVG(bool aOutputIsDirectory=true)
wxString GetDefaultDescription() const override
wxString GetSettingsDialogTitle() const override
JOB_PAGE_SIZE m_pageSizeSelect
SCH_PLOT_FORMAT m_plotFormat
JOB_EXPORT_SCH_PLOT(bool aOutputIsDirectory)
std::vector< wxString > m_variantNames
std::vector< wxString > m_plotPages
JOB(const std::string &aType, bool aOutputIsDirectory)
Definition job.cpp:26
SCH_PLOT_FORMAT
#define KICOMMON_API
Definition kicommon.h:27
@ PAGE_SIZE_AUTO
Definition sch_plotter.h:47
@ PAGE_SIZE_A
Definition sch_plotter.h:49
@ PAGE_SIZE_A4
Definition sch_plotter.h:48