mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-08-20 13:47:46 +02:00
Add page number input field to split-by-sections tool (UI only)
This commit is contained in:
parent
a5d219ed05
commit
d9db298bc2
@ -806,7 +806,7 @@ home.overlay-pdfs.desc=Overlays PDFs on-top of another PDF
|
|||||||
overlay-pdfs.tags=Overlay
|
overlay-pdfs.tags=Overlay
|
||||||
|
|
||||||
home.split-by-sections.title=Split PDF by Sections
|
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
|
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
|
split-by-sections.tags=Section Split, Divide, Customize, Customise
|
||||||
|
|
||||||
home.AddStampRequest.title=Add Stamp to PDF
|
home.AddStampRequest.title=Add Stamp to PDF
|
||||||
@ -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.vertical.placeholder=Enter number of vertical divisions
|
||||||
split-by-sections.submit=Split PDF
|
split-by-sections.submit=Split PDF
|
||||||
split-by-sections.merge=Merge Into One 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
|
#printFile
|
||||||
|
@ -20,6 +20,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<form method="post" enctype="multipart/form-data" th:action="@{'/api/v1/general/split-pdf-by-sections'}">
|
<form method="post" enctype="multipart/form-data" th:action="@{'/api/v1/general/split-pdf-by-sections'}">
|
||||||
<div th:replace="~{fragments/common :: fileSelector(name='fileInput', multipleInputsForSingleRequest=false, accept='application/pdf')}"></div>
|
<div th:replace="~{fragments/common :: fileSelector(name='fileInput', multipleInputsForSingleRequest=false, accept='application/pdf')}"></div>
|
||||||
|
<div class="mb-3">
|
||||||
|
<label for="pageToSplit" th:text="#{split-by-sections.pageToSplit}"></label>
|
||||||
|
<input type="text" class="form-control" id="pageToSplit" name="pageNumbers"
|
||||||
|
th:placeholder="#{split-by-sections.pageToSplit.placeholder}" required>
|
||||||
|
</div>
|
||||||
<label for="horizontalDivisions" th:text="#{split-by-sections.horizontal.label}">Horizontal Divisions</label>
|
<label for="horizontalDivisions" th:text="#{split-by-sections.horizontal.label}">Horizontal Divisions</label>
|
||||||
<input type="number" id="horizontalDivisions" name="horizontalDivisions" class="form-control" min="0" max="300" value="0" required th:placeholder="#{split-by-sections.horizontal.placeholder}">
|
<input type="number" id="horizontalDivisions" name="horizontalDivisions" class="form-control" min="0" max="300" value="0" required th:placeholder="#{split-by-sections.horizontal.placeholder}">
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
Reference in New Issue
Block a user