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 along
18 * with this program. If not, see <http://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
45
46
48{
49public:
50 JOB_EXPORT_SCH_PLOT( bool aOutputIsDirectory );
51
53 wxString m_filename;
55 wxString m_defaultFont;
56 wxString m_variant;
57
60 std::vector<wxString> m_plotPages;
61
70 wxString m_theme;
71
72 // Variant names to export. Empty vector means default variant only.
73 std::vector<wxString> m_variantNames;
74};
75
76
78{
79public:
80 JOB_EXPORT_SCH_PLOT_PDF( bool aOutputIsDirectory = true );
81 wxString GetDefaultDescription() const override;
82 wxString GetSettingsDialogTitle() const override;
83};
84
85
87{
88public:
90 wxString GetDefaultDescription() const override;
91 wxString GetSettingsDialogTitle() const override;
92};
93
94
96{
97public:
99 wxString GetDefaultDescription() const override;
100 wxString GetSettingsDialogTitle() const override;
101};
102
103
105{
106public:
108 wxString GetDefaultDescription() const override;
109 wxString GetSettingsDialogTitle() const override;
110};
111
112
119
120#endif
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=true)
wxString GetDefaultDescription() const override
wxString GetSettingsDialogTitle() const override
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:28
@ PAGE_SIZE_AUTO
Definition sch_plotter.h:48
@ PAGE_SIZE_A
Definition sch_plotter.h:50
@ PAGE_SIZE_A4
Definition sch_plotter.h:49