mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 05:24:10 +08:00
refactoring
This commit is contained in:
@ -713,7 +713,8 @@ int CPdfFile::GetPagesCount()
|
||||
{
|
||||
if (!m_pInternal->pReader)
|
||||
return 0;
|
||||
return m_pInternal->pReader->GetPagesCount();
|
||||
PDFDoc* pPdfDoc = m_pInternal->pReader->GetPDFDocument();
|
||||
return pPdfDoc ? pPdfDoc->getNumPages() : 0;
|
||||
}
|
||||
void CPdfFile::GetPageInfo(int nPageIndex, double* pdWidth, double* pdHeight, double* pdDpiX, double* pdDpiY)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user