|
| getNumberFormatCode (int $styleId) |
| Returns the format as defined in "styles.xml" of the given style.
|
|
| shouldFormatNumericValueAsDate (int $styleId) |
| Returns whether the style with the given ID should consider numeric values as timestamps and format the cell as a date.
|
|
◆ getNumberFormatCode()
OpenSpout\Reader\XLSX\Manager\StyleManagerInterface::getNumberFormatCode |
( |
int | $styleId | ) |
|
Returns the format as defined in "styles.xml" of the given style.
NOTE: It is assumed that the style DOES have a number format associated to it.
- Parameters
-
int | $styleId | Zero-based style ID |
- Return values
-
string | The number format code associated with the given style |
Implemented in OpenSpout\Reader\XLSX\Manager\StyleManager.
◆ shouldFormatNumericValueAsDate()
OpenSpout\Reader\XLSX\Manager\StyleManagerInterface::shouldFormatNumericValueAsDate |
( |
int | $styleId | ) |
|
Returns whether the style with the given ID should consider numeric values as timestamps and format the cell as a date.
- Parameters
-
int | $styleId | Zero-based style ID |
- Return values
-
bool | Whether the cell with the given cell should display a date instead of a numeric value |
The documentation for this interface was generated from the following file:
- lib/openspout/src/Reader/XLSX/Manager/StyleManagerInterface.php