Interface PrintableCell

All Superinterfaces:
ExportCell

@PublicApi public interface PrintableCell extends ExportCell
PrintableCell is a specialization of ExportCell for exporting to the printable HTML format.
See Also:
  • Method Details

    • setHtml

      void setHtml(@Nullable String html)
      Set an HTML fragment as the content of the current cell.
      Parameters:
      html - The HTML fragment. If null, the cell is cleared.
    • addClasses

      void addClasses(String... classes)
      Add CSS classes to the class attribute of the <td> element for the current cell. The CSS rules for that class should be added to a CSS file in a web resource included into the structure.printable context.
      Parameters:
      classes - The CSS classes.