separation of information and appearance of widgets

This commit is contained in:
Kulikova Svetlana
2023-03-23 12:38:48 +03:00
parent 8750543f0e
commit 283ec810a2
8 changed files with 250 additions and 129 deletions

View File

@ -811,11 +811,17 @@ BYTE* CPdfFile::GetLinks(int nPageIndex)
return NULL;
return m_pInternal->pReader->GetLinks(nPageIndex);
}
BYTE* CPdfFile::GetWidgets(int nPageIndex, int nRasterW, int nRasterH, int nBackgroundColor)
BYTE* CPdfFile::GetWidgets()
{
if (!m_pInternal->pReader)
return NULL;
return m_pInternal->pReader->GetWidgets(nPageIndex, nRasterW, nRasterH, nBackgroundColor);
return m_pInternal->pReader->GetWidgets();
}
BYTE* CPdfFile::GetAPWidgets(int nPageIndex, int nRasterW, int nRasterH, int nBackgroundColor)
{
if (!m_pInternal->pReader)
return NULL;
return m_pInternal->pReader->GetAPWidgets(nPageIndex, nRasterW, nRasterH, nBackgroundColor);
}
// ------------------------------------------------------------------------