test GetButtonIcon

This commit is contained in:
Kulikova Svetlana
2023-04-12 18:19:59 +03:00
parent f77b8387f4
commit 1fda842bc2
5 changed files with 202 additions and 14 deletions

View File

@ -817,12 +817,19 @@ BYTE* CPdfFile::GetWidgets()
return NULL;
return m_pInternal->pReader->GetWidgets();
}
BYTE* CPdfFile::GetAPWidgets(int nPageIndex, int nRasterW, int nRasterH, int nBackgroundColor)
BYTE* CPdfFile::GetAPWidget(int nRasterW, int nRasterH, int nBackgroundColor, int nPageIndex, int nWidget, const char* sView, const char* sButtonView)
{
if (!m_pInternal->pReader)
return NULL;
return m_pInternal->pReader->GetAPWidgets(nPageIndex, nRasterW, nRasterH, nBackgroundColor);
return m_pInternal->pReader->GetAPWidget(nRasterW, nRasterH, nBackgroundColor, nPageIndex, nWidget, sView, sButtonView);
}
BYTE* CPdfFile::GetButtonIcon(int nRasterW, int nRasterH, int nBackgroundColor, int nPageIndex, int nButtonWidget, const char* sIconView)
{
if (!m_pInternal->pReader)
return NULL;
return m_pInternal->pReader->GetButtonIcon(nRasterW, nRasterH, nBackgroundColor, nPageIndex, nButtonWidget, sIconView);
}
// ------------------------------------------------------------------------