Package net.webpdf.wsclient.openapi
Class OperationBoxesResize
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationBoxesResize
-
public class OperationBoxesResize extends Object
Used to change the dimensions of a specific box in a specific page range in the document.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationBoxesResize.BoxEnumUsed to select the box that should be scaled
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BOXstatic StringJSON_PROPERTY_DIMENSIONSstatic StringJSON_PROPERTY_PAGES
-
Constructor Summary
Constructors Constructor Description OperationBoxesResize()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationBoxesResizebox(OperationBoxesResize.BoxEnum box)OperationBoxesResizedimensions(OperationDimensionsBoxesResize dimensions)booleanequals(Object o)@Nullable OperationBoxesResize.BoxEnumgetBox()Used to select the box that should be scaled@NotNull OperationDimensionsBoxesResizegetDimensions()Get dimensions@Nullable StringgetPages()Used to define the page(s) in which boxes should be scaled.inthashCode()OperationBoxesResizepages(String pages)voidsetBox(OperationBoxesResize.BoxEnum box)voidsetDimensions(OperationDimensionsBoxesResize dimensions)voidsetPages(String pages)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BOX
public static final String JSON_PROPERTY_BOX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DIMENSIONS
public static final String JSON_PROPERTY_DIMENSIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGES
public static final String JSON_PROPERTY_PAGES
- See Also:
- Constant Field Values
-
-
Method Detail
-
box
public OperationBoxesResize box(OperationBoxesResize.BoxEnum box)
-
getBox
@Nullable public @Nullable OperationBoxesResize.BoxEnum getBox()
Used to select the box that should be scaled. * media\\_box = The page's physical dimensions. * crop\\_box = The visible (printable) page area. * bleed\\_box = Untrimmed content position on the page (content dimensions plus trim box). * trim\\_box = Trimmed content position on the page (final content dimensions). * art\\_box = Position for special page content (images).- Returns:
- box
-
setBox
public void setBox(OperationBoxesResize.BoxEnum box)
-
dimensions
public OperationBoxesResize dimensions(OperationDimensionsBoxesResize dimensions)
-
getDimensions
@NotNull public @NotNull OperationDimensionsBoxesResize getDimensions()
Get dimensions- Returns:
- dimensions
-
setDimensions
public void setDimensions(OperationDimensionsBoxesResize dimensions)
-
pages
public OperationBoxesResize pages(String pages)
-
getPages
@Nullable public @Nullable String getPages()
Used to define the page(s) in which boxes should be scaled. The page number can be an individual page, a page range, or a list (separated with commas) (e.g., \"1,5-6,9\"). To specify \"all pages,\" use an asterisk (\"\\*\").- Returns:
- pages
-
setPages
public void setPages(String pages)
-
-