Package net.webpdf.wsclient.openapi
Class OperationSelectionBox
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationSelectionBox
-
public class OperationSelectionBox extends Object
Selects a specific box of a given page range of a PDF document.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationSelectionBox.BoxEnumUsed to select the box that should be scaled
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BOXstatic StringJSON_PROPERTY_PAGES
-
Constructor Summary
Constructors Constructor Description OperationSelectionBox()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationSelectionBoxbox(OperationSelectionBox.BoxEnum box)booleanequals(Object o)@Nullable OperationSelectionBox.BoxEnumgetBox()Used to select the box that should be scaled@Nullable StringgetPages()Used to define the page(s) from which boxes should be removed.inthashCode()OperationSelectionBoxpages(String pages)voidsetBox(OperationSelectionBox.BoxEnum box)voidsetPages(String pages)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BOX
public static final String JSON_PROPERTY_BOX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGES
public static final String JSON_PROPERTY_PAGES
- See Also:
- Constant Field Values
-
-
Method Detail
-
box
public OperationSelectionBox box(OperationSelectionBox.BoxEnum box)
-
getBox
@Nullable public @Nullable OperationSelectionBox.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(OperationSelectionBox.BoxEnum box)
-
pages
public OperationSelectionBox pages(String pages)
-
getPages
@Nullable public @Nullable String getPages()
Used to define the page(s) from which boxes should be removed. 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)
-
-