mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix NM field for pdf annot Writer
This commit is contained in:
@ -1741,6 +1741,8 @@ HRESULT CPdfWriter::AddAnnotField(NSFonts::IApplicationFonts* pAppFonts, CAnnotF
|
||||
pAnnot->SetRect(oRect);
|
||||
|
||||
int nFlags = oInfo.GetFlag();
|
||||
if (nFlags & (1 << 0))
|
||||
pAnnot->SetNM(oInfo.GetNM());
|
||||
if (nFlags & (1 << 1))
|
||||
pAnnot->SetContents(oInfo.GetContents());
|
||||
if (nFlags & (1 << 2))
|
||||
|
||||
Reference in New Issue
Block a user