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 <[email protected]>
This commit is contained in:
懒猫
2024-02-24 15:26:35 -05:00
committed by GitHub
co-authored by Eric
parent af68c70239
commit c8a37245fa
32 changed files with 52 additions and 34 deletions
@@ -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;
}