mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-18 22:24:28 +08:00
Create FileAttachment annot
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user