-
public interface DocumentSourceA functional interface representing a source for creating a PDF document. Implementations handle opening and loading the document from various sources.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDocumentSource.Companion
-
Method Summary
Modifier and Type Method Description abstract LongcreateDocument(Context context, PdfiumCore core, String password)Creates a PDF document from this source. -
-
Method Detail
-
createDocument
abstract Long createDocument(Context context, PdfiumCore core, String password)
Creates a PDF document from this source.
- Parameters:
context- The application context.core- The {@link PdfiumCore} instance for document handling.password- The password to open the document, if required.
-
-
-
-