SharingOptions

open class SharingOptions

Options for document processing during the sharing process.

Inheritors

Constructors

Link copied to clipboard
constructor(@NonNull annotationProcessingMode: PdfProcessorTask.AnnotationProcessingMode)
Constructs options for sharing document with all pages and default document name.
constructor(@NonNull annotationProcessingMode: PdfProcessorTask.AnnotationProcessingMode, @NonNull pages: List<Range>)
Constructs options for sharing document with default document name.
constructor(@NonNull documentName: String)
Constructs options for sharing document with all annotations and pages.
constructor(@NonNull annotationProcessingMode: PdfProcessorTask.AnnotationProcessingMode, @NonNull pages: List<Range>, @NonNull documentName: String)
Constructs options for sharing document.

Properties

Link copied to clipboard
Describes what user wants to do with document annotations.
Link copied to clipboard
Name of the document that should be used while sharing.

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
open fun getPagesToRemove(@IntRange(from = 0) documentPagesCount: Int): Set<Integer>
Retrieve set of pages that need to be removed by PdfProcessor before sharing.
Link copied to clipboard
Converts sharing options to PdfProcessorTask usable for processing document via PdfProcessor.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun parsePageRange(@NonNull rangeString: String, @IntRange(from = 0) documentPagesCount: Int): List<Range>
Parse page ranges strings.
Link copied to clipboard
open fun toString(): String