public class

AnnotationListUtil

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.dialog.annotlist.AnnotationListUtil

Class Overview

Utility class for fetching annotations in PDFViewCtrl.

Summary

Public Constructors
AnnotationListUtil()
Public Methods
static from(PDFViewCtrl pdfViewCtrl, ArrayList<Integer> excludedAnnotationListTypes)
Create an Observable that retrieves all annotations in a PDFViewCtrl, and emits a list of annotations one page at a time.
static AnnotationDialogFragment.AnnotationInfo toAnnotationInfo(Annot annotation, Page page, TextExtractor textExtractor, ArrayList<Integer> excludedAnnotationListTypes)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AnnotationListUtil ()

Public Methods

public static from (PDFViewCtrl pdfViewCtrl, ArrayList<Integer> excludedAnnotationListTypes)

Create an Observable that retrieves all annotations in a PDFViewCtrl, and emits a list of annotations one page at a time.

Parameters
pdfViewCtrl the PDFViewCtrl to obtain
Returns
  • observable that emits annotations each page at a time.

public static AnnotationDialogFragment.AnnotationInfo toAnnotationInfo (Annot annotation, Page page, TextExtractor textExtractor, ArrayList<Integer> excludedAnnotationListTypes)