Added option to split PDF into multiple parts and merge into one PDF (#841)

* Added option to split PDF into multiple parts and merge into one PDF

* Use the mergeDocuments method in MergeController to implement merging

---------

Co-authored-by: Eric <71648843+sbplat@users.noreply.github.com>
This commit is contained in:
懒猫
2024-02-25 04:26:35 +08:00
committed by GitHub
parent af68c70239
commit c8a37245fa
32 changed files with 52 additions and 34 deletions

View File

@@ -15,4 +15,7 @@ public class SplitPdfBySectionsRequest extends PDFFile {
@Schema(description = "Number of vertical divisions for each PDF page", example = "2")
private int verticalDivisions;
@Schema(description = "Merge the split documents into a single PDF", example = "true")
private boolean merge;
}