Create FileAttachment annot

This commit is contained in:
Svetlana Kulikova
2023-11-27 18:19:32 +03:00
parent f024c9fb8f
commit d50451739c
4 changed files with 398 additions and 1 deletions

View File

@ -1635,6 +1635,10 @@ void GetPageAnnots(PDFDoc* pdfDoc, NSWasm::CData& oRes, int nPageIndex)
{
pAnnot = new PdfReader::CAnnotInk(pdfDoc, &oAnnotRef, nPageIndex);
}
else if (sType == "FileAttachment")
{
pAnnot = new PdfReader::CAnnotFileAttachment(pdfDoc, &oAnnotRef, nPageIndex);
}
// else if (sType == "Popup")
// {
// pAnnot = new PdfReader::CAnnotPopup(pdfDoc, &oAnnotRef, nPageIndex);