diff --git a/docs/api.md b/docs/api.md index ed00ab276..c2a83938d 100644 --- a/docs/api.md +++ b/docs/api.md @@ -376,6 +376,18 @@ The following methods are supported: - `"merge": true or false` (defaults to false) - The `merge` flag determines if the supplied permissions will overwrite all existing permissions (including removing them) or be merged with existing permissions. +- `merge` + - No additional `parameters` required. + - The ordering of the merged document is determined by the list of IDs. + - Optional `parameters`: + - `"metadata_document_id": DOC_ID` apply metadata (tags, correspondent, etc.) from this document to the merged document. +- `split` + - Requires `parameters`: + - `"pages": [..]` The list should be a list of pages and/or a ranges, separated by commas e.g. `"[1,2-3,4,5-7]"` + - The split operation only accepts a single document. +- `rotate` + - Requires `parameters`: + - `"degrees": DEGREES`. Must be an integer i.e. 90, 180, 270 ### Objects diff --git a/docs/usage.md b/docs/usage.md index 4db1c94de..156096106 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -456,6 +456,14 @@ Paperless-ngx added the ability to create shareable links to files in version 2. If your paperless-ngx instance is behind a reverse-proxy you may want to create an exception to bypass any authentication layers that are part of your setup in order to make links truly publicly-accessible. Of course, do so with caution. +## PDF Actions + +Paperless-ngx supports 3 basic editing operations for PDFs (these operations cannot be performed on non-PDF files): + +- Merging documents: available when selecting multiple documents for 'bulk editing' +- Rotating documents: available when selecting multiple documents for 'bulk editing'. Note that rotation alters the source file. +- Splitting documents: available from an individual documents details page + ## Best practices {#basic-searching} Paperless offers a couple tools that help you organize your document diff --git a/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.html b/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.html index 5dc902283..0da291c94 100644 --- a/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.html +++ b/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.html @@ -2,8 +2,8 @@ - - + - + + + diff --git a/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html b/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html index f84464ae9..7c61aa14a 100644 --- a/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html +++ b/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html @@ -2,8 +2,8 @@ - - + - + + diff --git a/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html b/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html index 6510482d9..36bd7796d 100644 --- a/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html +++ b/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html @@ -2,15 +2,15 @@ - - +