Class XlsxBreakFormat
java.lang.Object
overit.geocall.basic.ui.xlsx.format.XlsxBreakFormat
- All Implemented Interfaces:
IXlsxFormat,Identified
This class implements
Representing a column's format of
Identified and IXlsxFormat.Representing a column's format of
XlsxTableView in case of Break Function.-
Field Summary
Fields -
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 id) Sets theIdentityto the component
-
Field Details
-
_cs
protected org.apache.poi.xssf.usermodel.XSSFCellStyle _cs
-
-
Constructor Details
-
XlsxBreakFormat
public XlsxBreakFormat()
-
-
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:
id- 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 sheet where the style will be applied. Must not be null.cella- The cell component containing style configuration and properties. Must not be null.- Returns:
- A new
XSSFCellStylewith all styling properties applied from the component - Throws:
Exception- Should not occur under normal circumstances during style creation- See Also:
-
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 sheet where the style will be applied. Must not be null.cella- The cell component containing style configuration and properties. Must not be null.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 styling properties applied from the component - Throws:
Exception- Should not occur under normal circumstances during style creation- See Also:
-
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)
-