| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | ExcelNumberFormat(int
Excel number format index, either a built-in or a higher custom # mapped in the workbook style table idx, String Excel number format string for the index format)Use this carefully, prefer factory methods to ensure id/format relationships are not broken or confused. |
| Modifier and Type | Method and Description |
|---|---|
| public static ExcelNumberFormat | |
| public static ExcelNumberFormat | Returns: number format from highest-priority rule with a number format, or the cell style, or null if none of the above apply/are definedcell to extract format from cell, ConditionalFormattingEvaluator ConditionalFormattingEvaluator to use, or null if none in this context cfEvaluator)
|
| public String | |
| public int | Returns: Excel number format index, either a built-in or a higher custom # mapped in the workbook style table
|
| format | back to summary |
|---|---|
| private final String format | |
| idx | back to summary |
|---|---|
| private final int idx | |
| ExcelNumberFormat | back to summary |
|---|---|
| public ExcelNumberFormat(int idx, String format) Use this carefully, prefer factory methods to ensure id/format relationships are not broken or confused.
Left public so
| |
| from | back to summary |
|---|---|
public static ExcelNumberFormat from(CellStyle style)
| |
| from | back to summary |
|---|---|
public static ExcelNumberFormat from(Cell cell, ConditionalFormattingEvaluator cfEvaluator)
| |
| getFormat | back to summary |
|---|---|
public String getFormat()
| |
| getIdx | back to summary |
|---|---|
public int getIdx()
| |