Package io.scanbot.sdk.process
Class ScanbotPDFRenderer
-
- All Implemented Interfaces:
-
io.scanbot.sdk.process.PDFRenderer
public final class ScanbotPDFRenderer implements PDFRenderer
Provides methods for PDF rendering
-
-
Constructor Summary
Constructors Constructor Description ScanbotPDFRenderer(Context context, FileIOProcessor fileIOProcessor, DocumentDraftExtractor documentDraftExtractor, DocumentStoreStrategy documentStoreStrategy, DraftDocumentProcessor draftDocumentProcessor, SimpleComposer simpleComposer, Cleaner cleaner, SapManager sapManager)
-
Method Summary
Modifier and Type Method Description Filerender(Array<Uri> imageFileUris, Boolean sourceFilesEncrypted, PdfConfig pdfConfig)Render PDF from given images uris Booleanrender(Array<Uri> imageFileUris, File outputFile, Boolean sourceFilesEncrypted, PdfConfig pdfConfig)Render PDF from given images uris Filerender(Array<Page> pages, PdfConfig pdfConfig)Render PDF from given list of Page objects Booleanrender(Array<Page> pages, File outputFile, PdfConfig pdfConfig)Render PDF from given array of Page objects Booleanrender(Document sourceDocument, PdfConfig pdfConfig)Render PDF from given Document Booleanrender(Document sourceDocument, File outputFile, PdfConfig pdfConfig)Render PDF from given Document -
-
Constructor Detail
-
ScanbotPDFRenderer
ScanbotPDFRenderer(Context context, FileIOProcessor fileIOProcessor, DocumentDraftExtractor documentDraftExtractor, DocumentStoreStrategy documentStoreStrategy, DraftDocumentProcessor draftDocumentProcessor, SimpleComposer simpleComposer, Cleaner cleaner, SapManager sapManager)
-
-
Method Detail
-
render
File render(Array<Uri> imageFileUris, Boolean sourceFilesEncrypted, PdfConfig pdfConfig)
Render PDF from given images uris
- Parameters:
imageFileUris- array of source images urissourceFilesEncrypted- should be true if source files are encrypted with Scanbot SDK encryption mechanism, otherwise - falsepdfConfig- extra PDF configuration
-
render
Boolean render(Array<Uri> imageFileUris, File outputFile, Boolean sourceFilesEncrypted, PdfConfig pdfConfig)
Render PDF from given images uris
- Parameters:
imageFileUris- array of source images urisoutputFile- target PDF filesourceFilesEncrypted- should be true if source files are encrypted with Scanbot SDK encryption mechanism, otherwise - falsepdfConfig- extra PDF configuration
-
render
File render(Array<Page> pages, PdfConfig pdfConfig)
Render PDF from given list of Page objects
- Parameters:
pages- array of source pagespdfConfig- extra PDF configuration
-
render
Boolean render(Array<Page> pages, File outputFile, PdfConfig pdfConfig)
Render PDF from given array of Page objects
- Parameters:
pages- array of source pagesoutputFile- target PDF filepdfConfig- extra PDF configuration
-
render
Boolean render(Document sourceDocument, PdfConfig pdfConfig)
Render PDF from given Document
- Parameters:
sourceDocument- source documentpdfConfig- extra PDF configuration
-
-
-
-