|
OpenXLSX 1.12.1
Modern C++ Excel Library (Fork of OpenXLSX by Kenneth Troldal Balslev)
|
Options for XLStreamReader construction. More...
#include <XLStreamReader.hpp>
Data Fields | |
| XLStreamEmptyRowPolicy | emptyRows {XLStreamEmptyRowPolicy::SkipMissingRows} |
| bool | applyNumberFormats {false} |
| When true, formattedValue() / nextRowStrings() apply number formats via XLNumberFormatter. | |
| XLStreamSharedStringMode | sharedStringMode {XLStreamSharedStringMode::Eager} |
| size_t | maxRowBytes {64 * 1024 * 1024} |
| Reject a single physical <row> larger than this many bytes (0 = unlimited). | |
| size_t | sstSpillThreshold {16 * 1024 * 1024} |
| When Indexed SST exceeds this size, keep payload on a temp file and mmap-style seek. | |
| std::filesystem::path | tempDir {} |
| std::vector< uint16_t > | columnFilter {} |
| 1-based column projection mask. Empty = all columns. | |
| size_t | maxSstEntryBytes {256 * 1024 * 1024} |
| Reject sharedStrings (or other bulk loads via this reader) larger than this (0 = unlimited). | |
| bool | parseRichText {false} |
| When true, parse inlineStr <r> runs into XLRichText on XLStreamCellView. | |
| size_t | maxColumnarCells {50ull * 1000 * 1000} |
| Max cells buffered when materializing streamColumns() (0 = unlimited). Default 50M cells. | |
Options for XLStreamReader construction.
| bool OpenXLSX::XLStreamReadOptions::applyNumberFormats {false} |
When true, formattedValue() / nextRowStrings() apply number formats via XLNumberFormatter.
Style lookup uses the workbook styles table (may load styles once).
| std::vector<uint16_t> OpenXLSX::XLStreamReadOptions::columnFilter {} |
1-based column projection mask. Empty = all columns.
Used by nextRowProjected / forEachCellInNextRow; dense nextRow() still returns full width.
| XLStreamEmptyRowPolicy OpenXLSX::XLStreamReadOptions::emptyRows {XLStreamEmptyRowPolicy::SkipMissingRows} |
| size_t OpenXLSX::XLStreamReadOptions::maxColumnarCells {50ull * 1000 * 1000} |
Max cells buffered when materializing streamColumns() (0 = unlimited). Default 50M cells.
| size_t OpenXLSX::XLStreamReadOptions::maxRowBytes {64 * 1024 * 1024} |
Reject a single physical <row> larger than this many bytes (0 = unlimited).
Guards against pathological wide rows that defeat streaming memory bounds. Default 64 MiB.
| size_t OpenXLSX::XLStreamReadOptions::maxSstEntryBytes {256 * 1024 * 1024} |
Reject sharedStrings (or other bulk loads via this reader) larger than this (0 = unlimited).
Default 256 MiB — zip-bomb style guard for Indexed SST getEntry.
| bool OpenXLSX::XLStreamReadOptions::parseRichText {false} |
When true, parse inlineStr <r> runs into XLRichText on XLStreamCellView.
Plain <t> text still fills value as String; richText is set when runs exist.
| XLStreamSharedStringMode OpenXLSX::XLStreamReadOptions::sharedStringMode {XLStreamSharedStringMode::Eager} |
| size_t OpenXLSX::XLStreamReadOptions::sstSpillThreshold {16 * 1024 * 1024} |
When Indexed SST exceeds this size, keep payload on a temp file and mmap-style seek.
0 = always keep SST fully in memory. Default 16 MiB (excelize UnzipXMLSizeLimit default).
| std::filesystem::path OpenXLSX::XLStreamReadOptions::tempDir {} |
Empty = system temp directory (used when SST spills).