@PublicApi public interface PrintableCell extends ExportCell
PrintableCell is a specialization of ExportCell for exporting to the printable HTML format.PrintableColumn| Modifier and Type | Method and Description |
|---|---|
void |
addClasses(String... classes)
Add CSS classes to the
class attribute of the <td> element for the current cell. |
void |
setHtml(String html)
Set an HTML fragment as the content of the current cell.
|
setDate, setDatetime, setDuration, setHyperlink, setNumber, setPercentage, setTextvoid setHtml(@Nullable
String html)
html - The HTML fragment. If null, the cell is cleared.void addClasses(String... classes)
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.classes - The CSS classes.Copyright © 2019 ALM Works. All Rights Reserved.