public final class AnnotationsDistiller extends Object
| Constructor and Description |
|---|
AnnotationsDistiller(org.sejda.sambox.pdmodel.PDDocument document)
Document where pages and annotations come from, it's used to resolve named destinations.
|
| Modifier and Type | Method and Description |
|---|---|
LookupTable<org.sejda.sambox.pdmodel.interactive.annotation.PDAnnotation> |
retainRelevantAnnotations(LookupTable<org.sejda.sambox.pdmodel.PDPage> relevantPages)
Removes from the given set of pages all the annotations pointing to a page that is not in the lookup (an irrelevant page) and replaces annotations pointing to an old page
with a new one pointing to the looked up page.
|
public AnnotationsDistiller(org.sejda.sambox.pdmodel.PDDocument document)
document - public LookupTable<org.sejda.sambox.pdmodel.interactive.annotation.PDAnnotation> retainRelevantAnnotations(LookupTable<org.sejda.sambox.pdmodel.PDPage> relevantPages)
relevantPages - Copyright © 2019 sejda. All rights reserved.