29#include <wx/tokenzr.h>
31#define ARG_EXCLUDE_DRAWING_SHEET "--exclude-drawing-sheet"
32#define ARG_NO_BACKGROUND_COLOR "--no-background-color"
37 .default_value( std::string() )
38 .help(
UTF8STDSTR(
_(
"Color theme to use (will default to schematic settings)" ) ) );
42 .implicit_value(
true )
43 .default_value(
false );
47 .implicit_value(
true )
48 .default_value(
false );
51 .help(
UTF8STDSTR(
_(
"Avoid setting a background color (regardless of theme)" ) ) )
52 .implicit_value(
true )
53 .default_value(
false );
59 std::unique_ptr<JOB_EXPORT_SCH_PDF> pdfJob = std::make_unique<JOB_EXPORT_SCH_PDF>(
true );
67 if( !wxFile::Exists( pdfJob->m_filename ) )
69 wxFprintf( stderr,
_(
"Schematic file does not exist or is not accessible\n" ) );
argparse::ArgumentParser m_argParser
int doPerform(KIWAY &aKiway) override
The internal handler that should be overloaded to implement command specific processing and work.
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
int ProcessJob(KIWAY::FACE_T aFace, JOB *job)
#define ARG_BLACKANDWHITE_DESC
#define ARG_BLACKANDWHITE
#define ARG_NO_BACKGROUND_COLOR
#define ARG_EXCLUDE_DRAWING_SHEET
This file contains miscellaneous commonly used macros and functions.
static wxString FROM_UTF8(const char *cstring)
Convert a UTF8 encoded C string to a wxString for all wxWidgets build modes.
static const int ERR_INVALID_INPUT_FILE