public class AttachmentsSummaryCreator extends Object
| Constructor and Description |
|---|
AttachmentsSummaryCreator(org.sejda.sambox.pdmodel.PDDocument document) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToC()
Generates a ToC and prepend it to the given document
|
void |
appendItem(String attachmentName,
org.sejda.sambox.pdmodel.interactive.annotation.PDAnnotationFileAttachment annotation)
Adds to the ToC the given text with the given annotation associated
|
boolean |
hasToc() |
public AttachmentsSummaryCreator(org.sejda.sambox.pdmodel.PDDocument document)
public void appendItem(String attachmentName, org.sejda.sambox.pdmodel.interactive.annotation.PDAnnotationFileAttachment annotation)
attachmentName - annotation - public void addToC()
public boolean hasToc()
Copyright © 2019 sejda. All rights reserved.