Class XlsxTextFormat

java.lang.Object
overit.geocall.basic.ui.xlsx.format.XlsxTextFormat
All Implemented Interfaces:
IXlsxFormat, Identified

public class XlsxTextFormat extends Object implements Identified, IXlsxFormat
This class implements Identified and IXlsxFormat.
This class implement the formt of the free cells inside Excel sheet.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.poi.xssf.usermodel.XSSFCellStyle
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.poi.xssf.usermodel.XSSFCellStyle
    getCellStyle(org.apache.poi.ss.usermodel.Sheet sheet, XlsxComponent cella)
    Gets a new XSSFCellStyle with all style from cella passed by parameter.
    org.apache.poi.xssf.usermodel.XSSFCellStyle
    getCellStyle(org.apache.poi.ss.usermodel.Sheet sheet, XlsxComponent cella, String styleName)
    Gets a new XSSFCellStyle with all style from cella passed by parameter.
    Returns the Identity associated to the component
    protected org.apache.poi.xssf.usermodel.XSSFCellStyle
    makeCellStyle(org.apache.poi.ss.usermodel.Sheet sheet, XlsxComponent cella, org.apache.poi.xssf.usermodel.XSSFFont font, boolean pari)
     
    void
    Sets the Identity to the component

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • _cellstyle

      protected org.apache.poi.xssf.usermodel.XSSFCellStyle _cellstyle
  • Constructor Details

    • XlsxTextFormat

      public XlsxTextFormat()
  • Method Details

    • getIdentity

      public Identity getIdentity()
      Description copied from interface: Identified
      Returns the Identity associated to the component
      Specified by:
      getIdentity in interface Identified
      Returns:
      The Identity of the user currently logged in the application
    • setIdentity

      public void setIdentity(Identity identity)
      Description copied from interface: Identified
      Sets the Identity to the component
      Specified by:
      setIdentity in interface Identified
      Parameters:
      identity - The Identity that must be associated to the component
    • getCellStyle

      public org.apache.poi.xssf.usermodel.XSSFCellStyle getCellStyle(org.apache.poi.ss.usermodel.Sheet sheet, XlsxComponent cella) throws Exception
      Gets a new XSSFCellStyle with all style from cella passed by parameter.
      Parameters:
      sheet - The Excel sheet
      cella - The cell from which take the computed style.
      Returns:
      A new XSSFCellStyle with all style from cella passed by parameter.
      Throws:
      Exception - should not happen
    • getCellStyle

      public org.apache.poi.xssf.usermodel.XSSFCellStyle getCellStyle(org.apache.poi.ss.usermodel.Sheet sheet, XlsxComponent cella, String styleName) throws Exception
      Gets a new XSSFCellStyle with all style from cella passed by parameter.
      Parameters:
      sheet - The Excel sheet
      cella - The cell from which take the computed style.
      styleName - Optional name for style caching. If null, caching is bypassed. When provided and caching is active, enables style reuse for performance optimization.
      Returns:
      A new XSSFCellStyle with all style from cella passed by parameter.
      Throws:
      Exception - should not happen
    • makeCellStyle

      protected org.apache.poi.xssf.usermodel.XSSFCellStyle makeCellStyle(org.apache.poi.ss.usermodel.Sheet sheet, XlsxComponent cella, org.apache.poi.xssf.usermodel.XSSFFont font, boolean pari)