Class ExcelReportHelper

java.lang.Object
ch.tocco.nice2.reporting.api.excel.ExcelReportHelper

public abstract class ExcelReportHelper extends Object
  • Method Details

    • convertContentLengthToColumnWidth

      public static int convertContentLengthToColumnWidth(int contentLength)
      Converts the content length to the apache poi column with
      Parameters:
      contentLength - for example number of characters of a string
      Returns:
      column width (in units of 1/256th of a character width)
    • convertExcelColumnWidthToCharacterWidth

      public static int convertExcelColumnWidthToCharacterWidth(float excelWidth)