TaackPdfConverterFromHtmlService (taack-ui 0.5.5-SNAPSHOT API)
Package: taack.render

[Groovy] Class TaackPdfConverterFromHtmlService

    • taack.render.TaackPdfConverterFromHtmlService


    • @groovy.transform.CompileStatic
      class TaackPdfConverterFromHtmlService
      extends java.lang.Object

      Convert HTML code to PDF (WiP).

      Fonts should be located in ${taackUiConfiguration.root}/pdf/fonts/

      • Properties Summary

          Properties 
          Type Name and description
          static java.lang.String  FONT_BOLD
          static java.lang.String  FONT_ITALIC
          static java.lang.String  FONT_REG
      • Methods Summary

          Methods 
          Type Params Return Type Name and description
          void generatePdfFromHtmlIText(java.io.OutputStream outputStream, java.lang.String html)
      • Inherited Methods Summary

          Inherited Methods 
          Methods inherited from class Name
          class java.lang.Object java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
      • Property Detail

        • static final java.lang.String FONT_BOLD

        • static final java.lang.String FONT_ITALIC

        • static final java.lang.String FONT_REG

      • Constructor Detail

        • TaackPdfConverterFromHtmlService()

      • Method Detail

        • void generatePdfFromHtmlIText(java.io.OutputStream outputStream, java.lang.String html)