Definition at line 181 of file windows/printing.cpp.
◆ WIN_PDF_PRINTER()
KIPLATFORM::PRINTING::WIN_PDF_PRINTER::WIN_PDF_PRINTER |
( |
HWND | hwndOwner, |
|
|
winrt::Windows::Data::Pdf::PdfDocument const & | pdf ) |
|
inline |
◆ cleanup()
void KIPLATFORM::PRINTING::WIN_PDF_PRINTER::cleanup |
( |
| ) |
|
|
inlineprivate |
Definition at line 329 of file windows/printing.cpp.
References m_addPagesToken, m_docSrc, m_getPreviewToken, m_host, m_paginateToken, m_previewImages, m_printDoc, m_printImages, m_root, m_rtPM, m_taskRequestedToken, and m_xamlSource.
Referenced by Run().
◆ Run()
Definition at line 190 of file windows/printing.cpp.
References KIPLATFORM::PRINTING::CANCELLED, cleanup(), KIPLATFORM::PRINTING::FAILED_TO_LOAD, KIPLATFORM::PRINTING::FAILED_TO_PRINT, image, m_addPagesToken, m_docSrc, m_getPreviewToken, m_host, m_hwnd, m_pageCount, m_paginateToken, m_pdf, m_previewImages, m_printDoc, m_printImages, m_root, m_rtPM, m_taskRequestedToken, m_xamlSource, KIPLATFORM::PRINTING::OK, PRINTING_TRACE, printManager, RECT, and RenderPdfPageToImage().
◆ m_addPagesToken
winrt::event_token KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_addPagesToken {} |
|
private |
◆ m_docSrc
winrt::Windows::Graphics::Printing::IPrintDocumentSource KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_docSrc { nullptr } |
|
private |
◆ m_getPreviewToken
winrt::event_token KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_getPreviewToken {} |
|
private |
◆ m_host
HWND KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_host { nullptr } |
|
private |
◆ m_hwnd
HWND KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_hwnd {} |
|
private |
◆ m_pageCount
uint32_t KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_pageCount { 0 } |
|
private |
◆ m_paginateToken
winrt::event_token KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_paginateToken {} |
|
private |
◆ m_pdf
winrt::Windows::Data::Pdf::PdfDocument KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_pdf { nullptr } |
|
private |
◆ m_previewImages
std::map<uint32_t, ManagedImage> KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_previewImages |
|
private |
◆ m_printDoc
winrt::Windows::UI::Xaml::Printing::PrintDocument KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_printDoc { nullptr } |
|
private |
◆ m_printImages
std::map<uint32_t, ManagedImage> KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_printImages |
|
private |
◆ m_root
winrt::Windows::UI::Xaml::Controls::Grid KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_root { nullptr } |
|
private |
◆ m_rtPM
winrt::Windows::Graphics::Printing::PrintManager KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_rtPM { nullptr } |
|
private |
◆ m_taskRequestedToken
winrt::event_token KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_taskRequestedToken {} |
|
private |
◆ m_xamlSource
winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource KIPLATFORM::PRINTING::WIN_PDF_PRINTER::m_xamlSource { nullptr } |
|
private |
The documentation for this class was generated from the following file: