Class XlsxTextFormat
java.lang.Object
overit.geocall.basic.ui.xlsx.format.XlsxTextFormat
- All Implemented Interfaces:
IXlsxFormat,Identified
This class implements
This class implement the formt of the free cells inside Excel sheet.
Identified and IXlsxFormat.This class implement the formt of the free cells inside Excel sheet.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.poi.xssf.usermodel.XSSFCellStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.poi.xssf.usermodel.XSSFCellStylegetCellStyle(org.apache.poi.ss.usermodel.Sheet sheet, XlsxComponent cella) Gets a newXSSFCellStylewith all style from cella passed by parameter.org.apache.poi.xssf.usermodel.XSSFCellStylegetCellStyle(org.apache.poi.ss.usermodel.Sheet sheet, XlsxComponent cella, String styleName) Gets a newXSSFCellStylewith all style from cella passed by parameter.Returns theIdentityassociated to the componentprotected org.apache.poi.xssf.usermodel.XSSFCellStylemakeCellStyle(org.apache.poi.ss.usermodel.Sheet sheet, XlsxComponent cella, org.apache.poi.xssf.usermodel.XSSFFont font, boolean pari) voidsetIdentity(Identity identity) Sets theIdentityto the component
-
Field Details
-
_cellstyle
protected org.apache.poi.xssf.usermodel.XSSFCellStyle _cellstyle
-
-
Constructor Details
-
XlsxTextFormat
public XlsxTextFormat()
-
-
Method Details
-
getIdentity
Description copied from interface:IdentifiedReturns theIdentityassociated to the component- Specified by:
getIdentityin interfaceIdentified- Returns:
- The Identity of the user currently logged in the application
-
setIdentity
Description copied from interface:IdentifiedSets theIdentityto the component- Specified by:
setIdentityin interfaceIdentified- 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 newXSSFCellStylewith all style from cella passed by parameter.- Parameters:
sheet- The Excel sheetcella- The cell from which take the computed style.- Returns:
- A new
XSSFCellStylewith 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 newXSSFCellStylewith all style from cella passed by parameter.- Parameters:
sheet- The Excel sheetcella- 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
XSSFCellStylewith 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)
-