|
OpenXLSX 1.9.1
|
A structure that represents a cell to be appended via the streaming API. More...
#include <XLStreamWriter.hpp>
Public Member Functions | |
| XLStreamCell (XLCellValue val) | |
| Explicitly constructs a styled streaming cell from an XLCellValue. | |
| XLStreamCell (XLCellValue val, XLStyleIndex style) | |
| Constructs a styled streaming cell with an explicitly assigned style index. | |
Data Fields | |
| XLCellValue | value |
| std::optional< XLStyleIndex > | styleIndex |
A structure that represents a cell to be appended via the streaming API.
By explicitly constructing an XLStreamCell, users can attach specific styles to a streamed row without buffering the entire DOM in memory.
|
inlineexplicit |
Explicitly constructs a styled streaming cell from an XLCellValue.
| val | The cell value (e.g. integer, string, double). |
|
inline |
Constructs a styled streaming cell with an explicitly assigned style index.
| val | The cell value. |
| style | The XLStyleIndex (e.g. retrieved from doc.workbook().styles().create(...)) |
| std::optional<XLStyleIndex> OpenXLSX::XLStreamCell::styleIndex |
| XLCellValue OpenXLSX::XLStreamCell::value |