зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1399787 - Part 17. Clean up some comments and formatting in PDFViaEMFPrintHelper code. r=jwatt
MozReview-Commit-ID: HTFv50CFqI9 --HG-- extra : rebase_source : ccbc70097854e85fdc7e76341ba85272c73949e8 extra : source : 7200f406bd2eea6d81b926b92ddefa92ced96d18
This commit is contained in:
Родитель
53389e18a1
Коммит
f16bdbe25b
|
@ -36,7 +36,7 @@ PDFViaEMFPrintHelper::~PDFViaEMFPrintHelper()
|
|||
}
|
||||
|
||||
nsresult
|
||||
PDFViaEMFPrintHelper::OpenDocument(nsIFile *aFile)
|
||||
PDFViaEMFPrintHelper::OpenDocument(nsIFile* aFile)
|
||||
{
|
||||
MOZ_ASSERT(aFile);
|
||||
|
||||
|
|
|
@ -50,11 +50,14 @@ public:
|
|||
|
||||
int GetPageCount() const { return mPDFiumEngine->GetPageCount(mPDFDoc); }
|
||||
|
||||
/** Convert specified PDF page to EMF and draw the EMF onto the given DC. */
|
||||
/**
|
||||
* Convert the specified PDF page to EMF and draw the EMF onto the
|
||||
* given DC.
|
||||
*/
|
||||
bool DrawPage(HDC aPrinterDC, unsigned int aPageIndex,
|
||||
int aPageWidth, int aPageHeight);
|
||||
|
||||
/** Convert a specified PDF page to EMF and save it to file. */
|
||||
/** Convert the specified PDF page to EMF and save it to file. */
|
||||
bool SavePageToFile(const wchar_t* aFilePath, unsigned int aPageIndex,
|
||||
int aPageWidth, int aPageHeight);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче