KiCad PCB EDA Suite
Loading...
Searching...
No Matches
printing.cpp File Reference
#include <windows.h>
#include <PrintManagerInterop.h>
#include <windows.ui.xaml.hosting.desktopwindowxamlsource.h>
#include <printing.h>
#include <wx/print.h>
#include <wx/cmndata.h>
#include <algorithm>
#include <atomic>
#include <future>
#include <memory>
#include <vector>
#include <winrt/base.h>
#include <winrt/Windows.Data.Pdf.h>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.Foundation.Collections.h>
#include <winrt/Windows.Graphics.Imaging.h>
#include <winrt/Windows.Graphics.Printing.h>
#include <winrt/Windows.Storage.h>
#include <winrt/Windows.Storage.Streams.h>
#include <winrt/Windows.UI.Xaml.h>
#include <winrt/Windows.UI.Xaml.Controls.h>
#include <winrt/Windows.UI.Xaml.Hosting.h>
#include <winrt/Windows.UI.Xaml.Media.h>
#include <winrt/Windows.UI.Xaml.Media.Imaging.h>
#include <winrt/Windows.UI.Xaml.Printing.h>
#include <wx/filename.h>
#include <wx/log.h>

Go to the source code of this file.

Namespaces

namespace  KIPLATFORM
 
namespace  KIPLATFORM::PRINTING
 

Functions

PRINT_RESULT KIPLATFORM::PRINTING::PrintPDF (const std::string &aFile, int aCurrentPage=0)
 Show the platform print dialog for the PDF aFile and print it.
 
void KIPLATFORM::PRINTING::ResetPrintToFilePath (wxPrintData &aData)
 Discard a "print to file" destination in aData that the platform print backend generated for its own spooling, leaving a destination the user chose untouched.