#include <XLAutoFilter.hpp>
◆ XLAutoFilter()
| OpenXLSX::XLAutoFilter::XLAutoFilter |
( |
XMLNode |
node | ) |
|
|
explicit |
Constructor.
- Parameters
-
| node | The <autoFilter> XMLNode |
◆ filterColumn()
Get or create a filter column by its ID.
- Parameters
-
| colId | The 0-based column ID relative to the AutoFilter range. |
- Returns
- The XLFilterColumn object.
◆ operator bool()
| OpenXLSX::XLAutoFilter::operator bool |
( |
| ) |
const |
Check if the AutoFilter object is valid (has a corresponding XML node).
- Returns
- true if valid, false otherwise.
◆ ref()
| std::string OpenXLSX::XLAutoFilter::ref |
( |
| ) |
const |
Get the reference range of the AutoFilter.
- Returns
- A string containing the reference (e.g., "A1:C10").
◆ setRef() [1/2]
| XLAutoFilter & OpenXLSX::XLAutoFilter::setRef |
( |
const std::string & |
ref | ) |
|
Set the reference range of the AutoFilter.
- Parameters
-
| ref | The reference range to set. |
◆ setRef() [2/2]
Set the reference range of the AutoFilter using a strongly-typed XLCellRange.
- Parameters
-
The documentation for this class was generated from the following files: