Commit Graph

6 Commits

Author SHA1 Message Date
Tom Ritter
3d9f64cabf Bug 1403698 Address delete-non-virtual-dtor warnings r=froydnj
MozReview-Commit-ID: 44XiqegImiT
2017-10-06 11:27:35 -05:00
cku
acbf545976 Bug 1401888 - Part 3. Make EMFViaExtDLLHelper inherit from PDFViaEMFPrintHelper. r=fatseng
Reuse the code in PDFViaEMFPrintHelper.
MozReview-Commit-ID: 3NAVxuv2jJH
2017-09-21 15:43:34 +08:00
cku
6bdb73d5b8 Bug 1401069 - Part 7. Declare GetPageCount as a const member function. r=fatseng
MozReview-Commit-ID: IRM8FikStJi
2017-09-18 23:46:44 +08:00
Farmer Tseng
d18fe4ee90 Bug 1372113 - Call PDFium function directly in PDFiumEngineShim r=jwatt
1.PDfium would be built into the xul (bug 1368948) so PDFiumEngineShim could
call functions directly. However, I still keep loading dynamic library for
debugging purpose. Create a new preference for storing the library file path.
2.Remove redundant define and typedef which are written in PDFium head file.
3.Include an appropriate head file from PDFium.
4.Remove non-used PDFium APIs.
5.Use the singleton pattern to retrieve the instance of PDFiumEngineShim.
6.Don't destroy the library inside PDFiumEngineShim::CloseDocument because the
library has to deal with multi-document.

MozReview-Commit-ID: 97ZBFp1qU8V
2017-07-06 10:25:46 +08:00
Farmer Tseng
d462e737f0 Bug 1359713 - Stop loading the contents of PDF files into memory in PDFViaEMFPrintHelper r=jwatt
This change changes PDFViaEMFPrintHelper so that instead of loading the entire
contents of a PDF document into memory to pass to PDFium, it now simply passes
PDFium a file system path to load the PDF from. This should help us reduce
memory use (and potentially avoid running out of memory) when larger PDFs are
printed.


MozReview-Commit-ID: GISolZYC2GJ
2017-05-12 12:42:20 +08:00
Farmer Tseng
475ae83785 Bug 1345710 - part3: implement PDFViaEMFPrintHelper to convert PDF to EMF r=cjku,jwatt
This class helps draw a PDF file to a given Windows DC.

MozReview-Commit-ID: IjZAIcN3bND
2017-01-10 17:43:16 +08:00