зеркало из 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 : e967b883ca3c21cf1b2dd6fe47f5fb8d69b5425c extra : source : 7200f406bd2eea6d81b926b92ddefa92ced96d18
This commit is contained in:
Родитель
042528a552
Коммит
6c3e4bfaae
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче