createCompositeDocument

final Document createCompositeDocument(List<Document> documents, DocumentTaskManager.DocumentType documentType)

Creates a new Gini composite document.

Return

the Document instance of the freshly created document.

Parameters

documents

A list of partial documents which should be part of a multi-page document

documentType

Optional a document type hint. See the documentation for the document type hints for possible values

final Document createCompositeDocument(LinkedHashMap<Document, Integer> documentRotationMap, DocumentTaskManager.DocumentType documentType)

Creates a new Gini composite document. The input Map must contain the partial documents as keys. These will be part of the multi-page document. The value for each partial document key is the amount in degrees the document has been rotated by the user.

Return

the Document instance of the freshly created document.

Parameters

documentRotationMap

A map of partial documents and their rotation in degrees

documentType

Optional a document type hint. See the documentation for the document type hints for possible values