Class SpreadsheetCell


  • public class SpreadsheetCell
    extends Object
    • Method Detail

      • applyStyle

        public SpreadsheetCell applyStyle​(SpreadsheetCellStyle toApply)
        Applies the given style to the current style for this cell, meaning non-null fields on the given style will be set on this cell's style, but null fields will be ignored. For instance, you could define a style that represents an 'invalid' cell and make the background color red and give it a red border. Then you could take any other style or cell and apply the invalid style to it. It would change the color to red and add the red border, but leave all other stylings (such as alignment, font, etc.) alone.
      • getValue

        public String getValue()
      • getPoiCell

        public org.apache.poi.xssf.usermodel.XSSFCell getPoiCell()
      • getFontSizeInPoints

        public int getFontSizeInPoints()