Class OperationConverterHtml


  • public class OperationConverterHtml
    extends Object
    These settings are only used for HTML (e.g. websites) and HTML-based documents (e.g. e-mails).
    • Constructor Detail

      • OperationConverterHtml

        public OperationConverterHtml()
    • Method Detail

      • getAdjustFonts

        @Nullable
        public @Nullable Boolean getAdjustFonts()
        If \"true\", then the font specifications \"Arial\", \"Helvetica\" and \"Sans-Serif\" in HTML documents and e-mails (which are based on HTML) are automatically replaced by the \"Arial Unicode MS\" font. The improves the appearance of the typeface in the PDF result.
        Returns:
        adjustFonts
      • setAdjustFonts

        public void setAdjustFonts​(Boolean adjustFonts)
      • getBaseURL

        @Nullable
        public @Nullable String getBaseURL()
        Used to define the URL used as a basis for all URLs in the HTML document that are not defined as absolute URLs.
        Returns:
        baseURL
      • setBaseURL

        public void setBaseURL​(String baseURL)
      • getDownloadImages

        @Nullable
        public @Nullable Boolean getDownloadImages()
        If \"true\", then the images of an e-mail or an HTML document are downloaded automatically. This option could slow down the conversion considerably if there are many images contained or if, for example, e-mail documents are converted in which the images can no longer be invoked.
        Returns:
        downloadImages
      • setDownloadImages

        public void setDownloadImages​(Boolean downloadImages)
      • getTemplateData

        @Nullable
        public @Nullable OperationTemplateData getTemplateData()
        Get templateData
        Returns:
        templateData
      • getUseAsTemplate

        @Nullable
        public @Nullable Boolean getUseAsTemplate()
        If \"true\", the HTML document will be interpreted as a template, i.e., the system will search for variables in the HTML and replace them with the data passed in \"templateData\". The document will not be converted to HTML format until after this step is completed. This means that by using the HTML document as a template together with passed data, you can obtain a dynamically generated PDF document.
        Returns:
        useAsTemplate
      • setUseAsTemplate

        public void setUseAsTemplate​(Boolean useAsTemplate)
      • getUseBackground

        @Nullable
        public @Nullable Boolean getUseBackground()
        If \"true\", the background defined in the HTML document will be output in the PDF document as well. If \"false\", the background will be hidden.
        Returns:
        useBackground
      • setUseBackground

        public void setUseBackground​(Boolean useBackground)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object