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

Structured freeze/split panes for stream writers (excelize SetPanes equivalent). More...

#include <XLStreamWriter.hpp>

Data Fields

uint16_t freezeCols {0}
uint32_t freezeRows {0}
std::string topLeftCell {}
 Optional top-left cell of the scrollable region (1-based address, e.g. "B2").
bool split {false}
double xSplit {0.0}
double ySplit {0.0}
std::string activePane {"bottomRight"}

Detailed Description

Structured freeze/split panes for stream writers (excelize SetPanes equivalent).

Call setPanes() before the first row. Prefer this over setPanesXml().

Field Documentation

◆ activePane

std::string OpenXLSX::XLStreamPanesOptions::activePane {"bottomRight"}

activePane attribute: bottomRight | topRight | bottomLeft | topLeft

◆ freezeCols

uint16_t OpenXLSX::XLStreamPanesOptions::freezeCols {0}

Freeze panes: number of columns frozen on the left (0 = none). excelize FreezePanes x.

◆ freezeRows

uint32_t OpenXLSX::XLStreamPanesOptions::freezeRows {0}

Freeze panes: number of rows frozen on the top (0 = none).

◆ split

bool OpenXLSX::XLStreamPanesOptions::split {false}

When true, use split state instead of frozen (xSplit/ySplit as twips-like units from Excel).

◆ topLeftCell

std::string OpenXLSX::XLStreamPanesOptions::topLeftCell {}

Optional top-left cell of the scrollable region (1-based address, e.g. "B2").

When empty and freeze is set, derived as (freezeCols+1, freezeRows+1).

◆ xSplit

double OpenXLSX::XLStreamPanesOptions::xSplit {0.0}

◆ ySplit

double OpenXLSX::XLStreamPanesOptions::ySplit {0.0}

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