Create read/write Stamp annot

This commit is contained in:
Svetlana Kulikova
2024-10-11 11:47:29 +03:00
parent c6e15b7526
commit ff2146b671
9 changed files with 119 additions and 2 deletions

View File

@ -2068,6 +2068,13 @@ HRESULT CPdfWriter::AddAnnotField(NSFonts::IApplicationFonts* pAppFonts, CAnnotF
if (nFlags & (1 << 16))
pCaretAnnot->SetSy(pPr->GetSy());
}
else if (oInfo.IsStamp())
{
CAnnotFieldInfo::CStampAnnotPr* pPr = oInfo.GetStampAnnotPr();
PdfWriter::CStampAnnotation* pStampAnnot = (PdfWriter::CStampAnnotation*)pAnnot;
pStampAnnot->SetName(pPr->GetName());
}
}
else if (oInfo.IsPopup())
{