Class Html2PdfConfig
java.lang.Object
ch.tocco.nice2.conversion.api.SimpleConverterConfig
ch.tocco.nice2.conversion.api.html2pdf.Html2PdfConfig
- All Implemented Interfaces:
ConverterConfig
Implementation of ConverterConfig for Html2PdfConverter. Default Values are provided for each setting and can be
overwritten where required.
-
Nested Class Summary
-
Field Summary
Fields inherited from class ch.tocco.nice2.conversion.api.SimpleConverterConfig
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCss()
getTitle()
boolean
boolean
void
setBoarder
(int top, int left, int bottom, int right) void
void
setEnableImageSplit
(boolean enableImageSplit) void
void
void
setPageSize
(Dimension pageSize) void
setProtectPhysicalUnits
(boolean protectPhysicalUnits) void
setSource
(InputStream inputStream) void
Methods inherited from class ch.tocco.nice2.conversion.api.SimpleConverterConfig
getSource, getTarget
-
Constructor Details
-
Html2PdfConfig
-
-
Method Details
-
setSource
-
getHeader
-
setHeader
-
getCss
-
setCss
-
getTitle
-
setTitle
-
getBoarder
-
setBoarder
public void setBoarder(int top, int left, int bottom, int right) -
getPageSize
-
setPageSize
-
isEnableImageSplit
public boolean isEnableImageSplit() -
setEnableImageSplit
public void setEnableImageSplit(boolean enableImageSplit) -
isProtectPhysicalUnits
public boolean isProtectPhysicalUnits() -
setProtectPhysicalUnits
public void setProtectPhysicalUnits(boolean protectPhysicalUnits)
-