GetAnnotationAppearanceAuditJSON
Annotations, diagnostics, JSON
תיאור
Audits annotation normal appearances across all pages and returns issue details plus aggregate counters as JSON
תחביר
Function TPDFlib.GetAnnotationAppearanceAuditJSON: WideString;
ערכי החזרה
Returns a JSON object containing scanned, issueAnnotations, issue counters and an annotations array
שמות הבעיות
| missingAppearance | סוג ההערה דורש מראה רגילה, אך לא קיימת רשומת /AP /N שמישה |
|---|---|
| staleAppearance | A library-generated appearance fingerprint no longer matches the annotation source properties |
| invalidBBox | The active appearance has no valid positive /BBox |
| stateMismatch | השם /AS של ההערה אינו בוחר זרם במילון appearance של מצב |
| invisibleAppearance | זרם המראה הפעיל אינו מכיל אופרטורים גלויים |
ביצועים
הבדיקה משתמשת במעבר אחד על העמודים ובונה את ה-JSON באופן מצטבר, ומונעת חיפוש הערות חוזר ושרשור מחרוזות ריבועי במסמכים גדולים