Package | Description |
---|---|
com.aspose.pdf |
The com.aspose.pdf is a root package for all classes of Aspose.PDF for Java library
which are either directly in it like
Document or indirectly through several
subpackages. |
com.aspose.pdf.facades |
The com.aspose.pdf.facades package provides classes originally came from
Aspose.Pdf.Kit.
|
Modifier and Type | Method and Description |
---|---|
abstract AnnotationType |
Annotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
CaretAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
CircleAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
ColorBarAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
FileAttachmentAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
FreeTextAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
HighlightAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
InkAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
LineAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
LinkAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
MovieAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
PDF3DAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
PolygonAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
PolylineAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
PopupAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
RedactionAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
RichMediaAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
ScreenAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
SoundAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
SquareAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
SquigglyAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
StampAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
StrikeOutAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
TextAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
UnderlineAnnotation.getAnnotationType()
Gets type of annotation.
|
AnnotationType |
WatermarkAnnotation.getAnnotationType()
Gets annotation type.
|
AnnotationType |
WidgetAnnotation.getAnnotationType()
Gets type of annotation.
|
static AnnotationType |
AnnotationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationType[] |
AnnotationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfAnnotationEditor.exportAnnotationsXfdf(OutputStream xmlOutputStream,
int start,
int end,
AnnotationType[] annotTypes)
Exports the content of the specified annotation types into XFDF
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.bindPdf("example.pdf");
int[] annotTypes = new int[] {AnnotationType.Text, AnnotationType.Highlight};
OutputStream stream = new FileOutputStream("example.xfdf");
editor.exportAnnotationsXfdf(stream, 1, 2, annotTypes);
stream.close();
|
List<Annotation> |
PdfAnnotationEditor.extractAnnotations(int start,
int end,
AnnotationType[] annotTypes)
Gets the list of annotations of the specified types.
|
void |
PdfAnnotationEditor.flatteningAnnotations(int start,
int end,
AnnotationType[] annotType)
Flattens the annotations of the specified types.
|
void |
PdfAnnotationEditor.importAnnotations(InputStream[] annotFileInputStream,
AnnotationType[] annotType)
Imports the specified annotations into document from array of another PDF document streams.
|
void |
PdfAnnotationEditor.importAnnotations(String[] annotFile,
AnnotationType[] annotType)
Imports the specified annotations into document from array of another PDF documents.
|
void |
PdfAnnotationEditor.importAnnotationsFromXfdf(InputStream xfdfStream,
AnnotationType[] annotType)
Imports the specified annotations from XFDF data stream.
|
void |
PdfAnnotationEditor.importAnnotationsFromXfdf(String xfdfFile,
AnnotationType[] annotType)
Imports the specified annotations from XFDF file.
|
Copyright © 2024 Aspose. All Rights Reserved.