Package com.realobjects.pdfreactor
Class Configuration.PagesPerSheetProperties
java.lang.Object
com.realobjects.pdfreactor.Configuration.PagesPerSheetProperties
- Enclosing class:
Configuration
A type containing data for pages per sheet properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe number of columns per sheet.The direction in which the pages are ordered on a sheet.The number of rows per sheet.setSheetMargin(String value) The sheet margin as CSS margin, for example"1in","1cm 1.5cm"or"10mm 20mm 10mm 30mm".setSheetSize(String value) The sheet size as CSS size, for example"A4","letter landscape","15in 20in"or"20cm 30cm".setSpacing(String value) The horizontal and vertical space between pages on a sheet as CSS value, for example"0.1in"or"5mm 2mm".
-
Constructor Details
-
PagesPerSheetProperties
public PagesPerSheetProperties()
-
-
Method Details
-
setCols
The number of columns per sheet.
- Returns:
- The current
Configuration.PagesPerSheetPropertiesinstance.
-
setRows
The number of rows per sheet.
- Returns:
- The current
Configuration.PagesPerSheetPropertiesinstance.
-
setSheetSize
The sheet size as CSS size, for example
"A4","letter landscape","15in 20in"or"20cm 30cm".nullis interpreted as"A4".- Returns:
- The current
Configuration.PagesPerSheetPropertiesinstance.
-
setSheetMargin
The sheet margin as CSS margin, for example
"1in","1cm 1.5cm"or"10mm 20mm 10mm 30mm".nullis interpreted as"1cm".- Returns:
- The current
Configuration.PagesPerSheetPropertiesinstance.
-
setSpacing
The horizontal and vertical space between pages on a sheet as CSS value, for example
"0.1in"or"5mm 2mm".nullis interpreted as"1mm".- Returns:
- The current
Configuration.PagesPerSheetPropertiesinstance.
-
setDirection
public Configuration.PagesPerSheetProperties setDirection(Configuration.PagesPerSheetDirection value) The direction in which the pages are ordered on a sheet.
- Returns:
- The current
Configuration.PagesPerSheetPropertiesinstance.
-