mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-18 09:29:24 +00:00
cleanup 2
This commit is contained in:
parent
2c2cc9e46e
commit
5e36291e28
@ -21,7 +21,7 @@ public class BookletImpositionRequest extends PDFFile {
|
|||||||
|
|
||||||
@Schema(
|
@Schema(
|
||||||
description = "The number of pages to fit onto a single sheet in the output PDF.",
|
description = "The number of pages to fit onto a single sheet in the output PDF.",
|
||||||
type = "number",
|
type = "integer",
|
||||||
defaultValue = "2",
|
defaultValue = "2",
|
||||||
requiredMode = Schema.RequiredMode.REQUIRED,
|
requiredMode = Schema.RequiredMode.REQUIRED,
|
||||||
allowableValues = {"2", "4"})
|
allowableValues = {"2", "4"})
|
||||||
|
@ -13,7 +13,7 @@ public class MergeMultiplePagesRequest extends PDFFile {
|
|||||||
|
|
||||||
@Schema(
|
@Schema(
|
||||||
description = "The number of pages to fit onto a single sheet in the output PDF.",
|
description = "The number of pages to fit onto a single sheet in the output PDF.",
|
||||||
type = "number",
|
type = "integer",
|
||||||
defaultValue = "2",
|
defaultValue = "2",
|
||||||
requiredMode = Schema.RequiredMode.REQUIRED,
|
requiredMode = Schema.RequiredMode.REQUIRED,
|
||||||
allowableValues = {"2", "3", "4", "9", "16"})
|
allowableValues = {"2", "3", "4", "9", "16"})
|
||||||
|
@ -14,6 +14,7 @@ public class RotatePDFRequest extends PDFFile {
|
|||||||
@Schema(
|
@Schema(
|
||||||
description =
|
description =
|
||||||
"The angle by which to rotate the PDF file. This should be a multiple of 90.",
|
"The angle by which to rotate the PDF file. This should be a multiple of 90.",
|
||||||
|
type = "integer",
|
||||||
requiredMode = Schema.RequiredMode.REQUIRED,
|
requiredMode = Schema.RequiredMode.REQUIRED,
|
||||||
allowableValues = {"0", "90", "180", "270"},
|
allowableValues = {"0", "90", "180", "270"},
|
||||||
defaultValue = "90")
|
defaultValue = "90")
|
||||||
|
@ -37,6 +37,7 @@ public class AddPageNumbersRequest extends PDFWithPageNums {
|
|||||||
"Position: 1-9 representing positions on the page (1=top-left, 2=top-center,"
|
"Position: 1-9 representing positions on the page (1=top-left, 2=top-center,"
|
||||||
+ " 3=top-right, 4=middle-left, 5=middle-center, 6=middle-right,"
|
+ " 3=top-right, 4=middle-left, 5=middle-center, 6=middle-right,"
|
||||||
+ " 7=bottom-left, 8=bottom-center, 9=bottom-right)",
|
+ " 7=bottom-left, 8=bottom-center, 9=bottom-right)",
|
||||||
|
type = "integer",
|
||||||
allowableValues = {"1", "2", "3", "4", "5", "6", "7", "8", "9"},
|
allowableValues = {"1", "2", "3", "4", "5", "6", "7", "8", "9"},
|
||||||
defaultValue = "8",
|
defaultValue = "8",
|
||||||
requiredMode = RequiredMode.REQUIRED)
|
requiredMode = RequiredMode.REQUIRED)
|
||||||
|
@ -54,6 +54,7 @@ public class AddStampRequest extends PDFWithPageNums {
|
|||||||
"Position for stamp placement based on a 1-9 grid (1: bottom-left, 2: bottom-center,"
|
"Position for stamp placement based on a 1-9 grid (1: bottom-left, 2: bottom-center,"
|
||||||
+ " 3: bottom-right, 4: middle-left, 5: middle-center, 6: middle-right,"
|
+ " 3: bottom-right, 4: middle-left, 5: middle-center, 6: middle-right,"
|
||||||
+ " 7: top-left, 8: top-center, 9: top-right)",
|
+ " 7: top-left, 8: top-center, 9: top-right)",
|
||||||
|
type = "integer",
|
||||||
allowableValues = {"1", "2", "3", "4", "5", "6", "7", "8", "9"},
|
allowableValues = {"1", "2", "3", "4", "5", "6", "7", "8", "9"},
|
||||||
defaultValue = "5",
|
defaultValue = "5",
|
||||||
requiredMode = Schema.RequiredMode.REQUIRED)
|
requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
|
@ -15,6 +15,7 @@ public class OptimizePdfRequest extends PDFFile {
|
|||||||
description =
|
description =
|
||||||
"The level of optimization to apply to the PDF file. Higher values indicate"
|
"The level of optimization to apply to the PDF file. Higher values indicate"
|
||||||
+ " greater compression but may reduce quality.",
|
+ " greater compression but may reduce quality.",
|
||||||
|
type = "integer",
|
||||||
defaultValue = "5",
|
defaultValue = "5",
|
||||||
requiredMode = Schema.RequiredMode.REQUIRED,
|
requiredMode = Schema.RequiredMode.REQUIRED,
|
||||||
allowableValues = {"1", "2", "3", "4", "5", "6", "7", "8", "9"})
|
allowableValues = {"1", "2", "3", "4", "5", "6", "7", "8", "9"})
|
||||||
|
@ -27,6 +27,7 @@ public class AddPasswordRequest extends PDFFile {
|
|||||||
|
|
||||||
@Schema(
|
@Schema(
|
||||||
description = "The length of the encryption key",
|
description = "The length of the encryption key",
|
||||||
|
type = "integer",
|
||||||
allowableValues = {"40", "128", "256"},
|
allowableValues = {"40", "128", "256"},
|
||||||
defaultValue = "256",
|
defaultValue = "256",
|
||||||
requiredMode = Schema.RequiredMode.REQUIRED)
|
requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user