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 <wx/string.h>
27#include "job.h"
28
29
31{
36};
37
38
40{
41 DEFAULT = 0,
42 SIZE_A5,
43 SIZE_A4,
44 SIZE_A3,
45 SIZE_A2,
46 SIZE_A1,
47 SIZE_A0,
48 SIZE_A,
49 SIZE_B,
50 SIZE_C,
51 SIZE_D,
52 SIZE_E,
53};
54
55
56enum class JOB_PAGE_SIZE
57{
61};
62
63
65{
66 HPGL,
67 POST,
68 DXF,
69 PDF,
70 SVG
71};
72
73
75{
76public:
77 JOB_EXPORT_SCH_PLOT( bool aOutputIsDirectory );
78
80 wxString m_filename;
82 wxString m_defaultFont;
83
86 std::vector<wxString> m_plotPages;
87
92 double m_HPGLPenSize; // for HPGL format only: pen size
97 wxString m_theme;
98
100};
101
102
104{
105public:
107 wxString GetDefaultDescription() const override;
108 wxString GetSettingsDialogTitle() const override;
109};
110
111
113{
114public:
116 wxString GetDefaultDescription() const override;
117 wxString GetSettingsDialogTitle() const override;
118};
119
120
122{
123public:
125 wxString GetDefaultDescription() const override;
126 wxString GetSettingsDialogTitle() const override;
127};
128
129
131{
132public:
134 wxString GetDefaultDescription() const override;
135 wxString GetSettingsDialogTitle() const override;
136};
137
138
140{
141public:
143 wxString GetDefaultDescription() const override;
144 wxString GetSettingsDialogTitle() const override;
145};
146
147#endif
wxString GetSettingsDialogTitle() const override
wxString GetDefaultDescription() const override
wxString GetDefaultDescription() const override
wxString GetSettingsDialogTitle() const override
wxString GetDefaultDescription() const override
wxString GetSettingsDialogTitle() const override
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)
JOB_HPGL_PLOT_ORIGIN_AND_UNITS m_HPGLPlotOrigin
std::vector< wxString > m_plotPages
JOB_HPGL_PAGE_SIZE m_HPGLPaperSizeSelect
An simple container class that lets us dispatch output jobs to kifaces.
Definition: job.h:182
SCH_PLOT_FORMAT
JOB_PAGE_SIZE
JOB_HPGL_PLOT_ORIGIN_AND_UNITS
JOB_HPGL_PAGE_SIZE
#define KICOMMON_API
Definition: kicommon.h:28