mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 00:03:33 +08:00
Fix Actions from PdfAnnot
This commit is contained in:
@ -1780,8 +1780,11 @@ BYTE* CPdfReader::GetButtonIcon(int nRasterW, int nRasterH, int nBackgroundColor
|
||||
|
||||
if (bFirst)
|
||||
{
|
||||
Object oFieldRef;
|
||||
pField->getFieldRef(&oFieldRef);
|
||||
// Номер аннотации для сопоставления с AP
|
||||
oRes.AddInt(i);
|
||||
oRes.AddInt(oFieldRef.getRefNum());
|
||||
oFieldRef.free();
|
||||
nMKPos = oRes.GetSize();
|
||||
// Количество иконок 1-3
|
||||
oRes.AddInt(nMKLength);
|
||||
|
||||
Reference in New Issue
Block a user