KiCad PCB EDA Suite
|
Classes | |
class | WIN_PDF_PRINTER |
Enumerations | |
enum class | PRINT_RESULT { OK = 0 , CANCELLED , FILE_NOT_FOUND , FAILED_TO_LOAD , FAILED_TO_PRINT , UNSUPPORTED , UNKNOWN_ERROR } |
Functions | |
const wxString | PrintResultToString (PRINT_RESULT aResult) |
PRINT_RESULT | PrintPDF (const std::string &aFile) |
PRINT_RESULT | PrintPDF (const std::string &aFile, bool fit_to_page) |
static std::wstring | Utf8ToWide (std::string const &s) |
|
strong |
Enumerator | |
---|---|
OK | |
CANCELLED | |
FILE_NOT_FOUND | |
FAILED_TO_LOAD | |
FAILED_TO_PRINT | |
UNSUPPORTED | |
UNKNOWN_ERROR |
Definition at line 31 of file printing.h.
PRINT_RESULT KIPLATFORM::PRINTING::PrintPDF | ( | const std::string & | aFile | ) |
Definition at line 225 of file unix/printing.cpp.
References PrintPDF().
Referenced by PrintPDF(), and DIALOG_PRINT::TransferDataFromWindow().
PRINT_RESULT KIPLATFORM::PRINTING::PrintPDF | ( | const std::string & | aFile, |
bool | fit_to_page ) |
Definition at line 144 of file unix/printing.cpp.
References CANCELLED, FAILED_TO_LOAD, FAILED_TO_PRINT, FILE_NOT_FOUND, OK, and result.
|
inline |
Definition at line 42 of file printing.h.
References _, CANCELLED, FAILED_TO_LOAD, FAILED_TO_PRINT, FILE_NOT_FOUND, OK, and UNSUPPORTED.
Referenced by DIALOG_PRINT::TransferDataFromWindow().
|
static |
Definition at line 386 of file windows/printing.cpp.