diff --git a/src/dbp-signature-lit-element.js b/src/dbp-signature-lit-element.js index 9cbcf55536fd39917661fe912ad777d51dd6a776..caf92f9c9ff489c6d2306915a58b4cff944b984a 100644 --- a/src/dbp-signature-lit-element.js +++ b/src/dbp-signature-lit-element.js @@ -134,6 +134,14 @@ export default class DBPSignatureLitElement extends DBPSignatureBaseLitElement { this.queuedFilesAnnotationsCount++; } + /** + * Add multiple annotations to a PDF file + * + * @param file + * @param annotations + * @param i18n + * @returns {File} + */ async addAnnotationsToFile(file, annotations, i18n) { // We need to work with the AnnotationFactory because the pdf file is broken if // we add the multiple annotations to the file itself