Package net.webpdf.wsclient.openapi
Class OperationConverterPage
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationConverterPage
-
public class OperationConverterPage extends Object
Sets the page size, margins, and headers and footers for the converted document in the PDF document. **Important:** The settings may override the default values for a format that itself has page settings. In addition, not all settings can be applied to all formats (see, for example, the description of headers and footers).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationConverterPage.MetricsEnumUnit for the X-axis/Y-axis position and signature field height and width arguments: * pt = Points(1/72 inch) * pc = Picas(12 points) * px = Pixels(1/96 inch) * mm = Millimeters * in = Inches
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BOTTOMstatic StringJSON_PROPERTY_FOOTERstatic StringJSON_PROPERTY_HEADERstatic StringJSON_PROPERTY_HEIGHTstatic StringJSON_PROPERTY_LEFTstatic StringJSON_PROPERTY_METRICSstatic StringJSON_PROPERTY_RIGHTstatic StringJSON_PROPERTY_TOPstatic StringJSON_PROPERTY_WIDTH
-
Constructor Summary
Constructors Constructor Description OperationConverterPage()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_BOTTOM
public static final String JSON_PROPERTY_BOTTOM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FOOTER
public static final String JSON_PROPERTY_FOOTER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HEADER
public static final String JSON_PROPERTY_HEADER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HEIGHT
public static final String JSON_PROPERTY_HEIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEFT
public static final String JSON_PROPERTY_LEFT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METRICS
public static final String JSON_PROPERTY_METRICS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RIGHT
public static final String JSON_PROPERTY_RIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOP
public static final String JSON_PROPERTY_TOP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WIDTH
public static final String JSON_PROPERTY_WIDTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
bottom
public OperationConverterPage bottom(Integer bottom)
-
getBottom
@Nullable public @Nullable Integer getBottom()
Bottom margin settings.- Returns:
- bottom
-
setBottom
public void setBottom(Integer bottom)
-
footer
public OperationConverterPage footer(OperationConverterFooter footer)
-
getFooter
@Nullable public @Nullable OperationConverterFooter getFooter()
Get footer- Returns:
- footer
-
setFooter
public void setFooter(OperationConverterFooter footer)
-
header
public OperationConverterPage header(OperationConverterHeader header)
-
getHeader
@Nullable public @Nullable OperationConverterHeader getHeader()
Get header- Returns:
- header
-
setHeader
public void setHeader(OperationConverterHeader header)
-
height
public OperationConverterPage height(Integer height)
-
getHeight
@Nullable public @Nullable Integer getHeight()
Page height.- Returns:
- height
-
setHeight
public void setHeight(Integer height)
-
left
public OperationConverterPage left(Integer left)
-
getLeft
@Nullable public @Nullable Integer getLeft()
Left margin settings.- Returns:
- left
-
setLeft
public void setLeft(Integer left)
-
metrics
public OperationConverterPage metrics(OperationConverterPage.MetricsEnum metrics)
-
getMetrics
@Nullable public @Nullable OperationConverterPage.MetricsEnum getMetrics()
Unit for the X-axis/Y-axis position and signature field height and width arguments: * pt = Points(1/72 inch) * pc = Picas(12 points) * px = Pixels(1/96 inch) * mm = Millimeters * in = Inches- Returns:
- metrics
-
setMetrics
public void setMetrics(OperationConverterPage.MetricsEnum metrics)
-
right
public OperationConverterPage right(Integer right)
-
getRight
@Nullable public @Nullable Integer getRight()
Right margin settings.- Returns:
- right
-
setRight
public void setRight(Integer right)
-
top
public OperationConverterPage top(Integer top)
-
getTop
@Nullable public @Nullable Integer getTop()
Top margin settings.- Returns:
- top
-
setTop
public void setTop(Integer top)
-
width
public OperationConverterPage width(Integer width)
-
getWidth
@Nullable public @Nullable Integer getWidth()
Page width.- Returns:
- width
-
setWidth
public void setWidth(Integer width)
-
-