Class Html2PdfConfig

java.lang.Object
ch.tocco.nice2.conversion.api.SimpleConverterConfig
ch.tocco.nice2.conversion.api.html2pdf.Html2PdfConfig
All Implemented Interfaces:
ConverterConfig

public class Html2PdfConfig extends SimpleConverterConfig
Implementation of ConverterConfig for Html2PdfConverter. Default Values are provided for each setting and can be overwritten where required.
  • Constructor Details

  • Method Details

    • setSource

      public void setSource(InputStream inputStream)
    • getHeader

      public Html2PdfConfig.Component getHeader()
    • setHeader

      public void setHeader(String html, int height)
    • getFooter

      public Html2PdfConfig.Component getFooter()
    • setFooter

      public void setFooter(String html, int height)
    • getCss

      public String getCss()
    • setCss

      public void setCss(String css)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getBoarder

      public Insets getBoarder()
    • setBoarder

      public void setBoarder(int top, int left, int bottom, int right)
    • getPageSize

      public Dimension getPageSize()
    • setPageSize

      public void setPageSize(Dimension pageSize)
    • isEnableImageSplit

      public boolean isEnableImageSplit()
    • setEnableImageSplit

      public void setEnableImageSplit(boolean enableImageSplit)
    • isProtectPhysicalUnits

      public boolean isProtectPhysicalUnits()
    • setProtectPhysicalUnits

      public void setProtectPhysicalUnits(boolean protectPhysicalUnits)