Interface HtmlHelper

  • All Known Implementing Classes:
    HSSFHtmlHelper, XSSFHtmlHelper

    public interface HtmlHelper
    This interface is used where code wants to be independent of the workbook formats. If you are writing such code, you can add a method to this interface, and then implement it for both HSSF and XSSF workbooks, letting the driving code stay independent of format.
    • Method Detail

      • colorStyles

        void colorStyles​(CellStyle style,
                         Formatter out)
        Outputs the appropriate CSS style for the given cell style.
        Parameters:
        style - The cell style.
        out - The place to write the output.