Reader Polygon, PolyLine annots

This commit is contained in:
Svetlana Kulikova
2023-09-06 15:23:48 +03:00
parent 440897ac3f
commit a417e9a38c
5 changed files with 225 additions and 6 deletions

View File

@ -2139,13 +2139,9 @@ void GetPageAnnots(PDFDoc* pdfDoc, NSWasm::CData& oRes, int nPageIndex)
{
pAnnot = new PdfReader::CAnnotSquareCircle(pdfDoc, &oAnnotRef, nPageIndex);
}
else if (sType == "Polygon")
else if (sType == "Polygon" || sType == "PolyLine")
{
}
else if (sType == "PolyLine")
{
pAnnot = new PdfReader::CAnnotPolygonLine(pdfDoc, &oAnnotRef, nPageIndex);
}
else if (sType == "Highlight" ||
sType == "Underline" ||