OpenXLSX 1.12.1
Modern C++ Excel Library (Fork of OpenXLSX by Kenneth Troldal Balslev)
Loading...
Searching...
No Matches
OpenXLSX::XLStreamTableOptions Struct Reference

Minimal table definition for streaming AddTable (excelize-compatible constraints). More...

#include <XLStreamWriter.hpp>

Data Fields

std::string name {"Table1"}
std::string styleName {"TableStyleMedium2"}
std::string range
bool showRowStripes {true}
bool showColumnStripes {false}
bool showFirstColumn {false}
bool showLastColumn {false}
std::vector< std::string > headers

Detailed Description

Minimal table definition for streaming AddTable (excelize-compatible constraints).

Only one table per StreamWriter. Call after rows are written, before close().

Field Documentation

◆ headers

std::vector<std::string> OpenXLSX::XLStreamTableOptions::headers

Optional header labels; if empty, columns are named Column1..N from the range width.

◆ name

std::string OpenXLSX::XLStreamTableOptions::name {"Table1"}

◆ range

std::string OpenXLSX::XLStreamTableOptions::range

◆ showColumnStripes

bool OpenXLSX::XLStreamTableOptions::showColumnStripes {false}

◆ showFirstColumn

bool OpenXLSX::XLStreamTableOptions::showFirstColumn {false}

◆ showLastColumn

bool OpenXLSX::XLStreamTableOptions::showLastColumn {false}

◆ showRowStripes

bool OpenXLSX::XLStreamTableOptions::showRowStripes {true}

◆ styleName

std::string OpenXLSX::XLStreamTableOptions::styleName {"TableStyleMedium2"}

The documentation for this struct was generated from the following file: