From d9db298bc2c879bfa921bfbabef409438eb31cfa Mon Sep 17 00:00:00 2001 From: Ping Lin Date: Sat, 2 Aug 2025 21:46:26 +0100 Subject: [PATCH] Add page number input field to split-by-sections tool (UI only) --- app/core/src/main/resources/messages_en_GB.properties | 6 ++++-- .../src/main/resources/templates/split-pdf-by-sections.html | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/core/src/main/resources/messages_en_GB.properties b/app/core/src/main/resources/messages_en_GB.properties index f78e80b65..27dde7fcf 100644 --- a/app/core/src/main/resources/messages_en_GB.properties +++ b/app/core/src/main/resources/messages_en_GB.properties @@ -806,8 +806,8 @@ home.overlay-pdfs.desc=Overlays PDFs on-top of another PDF overlay-pdfs.tags=Overlay home.split-by-sections.title=Split PDF by Sections -home.split-by-sections.desc=Divide each page of a PDF into smaller horizontal and vertical sections -split-by-sections.tags=Section Split, Divide, Customize,Customise +home.split-by-sections.desc=Split the content of specified PDF pages into smaller horizontal and vertical sections. +split-by-sections.tags=Section Split, Divide, Customize, Customise home.AddStampRequest.title=Add Stamp to PDF home.AddStampRequest.desc=Add text or add image stamps at set locations @@ -1586,6 +1586,8 @@ split-by-sections.horizontal.placeholder=Enter number of horizontal divisions split-by-sections.vertical.placeholder=Enter number of vertical divisions split-by-sections.submit=Split PDF split-by-sections.merge=Merge Into One PDF +split-by-sections.pageToSplit=Pages to split (Enter a comma-separated list of page numbers) : +split-by-sections.pageToSplit.placeholder=(e.g. 1,2,6 or 1-10,15-30) #printFile diff --git a/app/core/src/main/resources/templates/split-pdf-by-sections.html b/app/core/src/main/resources/templates/split-pdf-by-sections.html index 1f94d8a23..548abe217 100644 --- a/app/core/src/main/resources/templates/split-pdf-by-sections.html +++ b/app/core/src/main/resources/templates/split-pdf-by-sections.html @@ -20,6 +20,11 @@
+
+ + +