Document¶
Examples¶
Refer to the Using document class section for code examples on how to
use the document
class.
API Reference¶
-
class
document
¶ Higher level document representation designed to handle both cell value storage as well as formula cell calculations.
Public Functions
-
document
()¶
-
document
(formula_name_resolver_t cell_address_type)¶ Constructor with custom cell address type.
- Parameters
cell_address_type
: cell address type to use for cell addresses represented by string values.
-
~document
()¶
-
void
append_sheet
(std::string name)¶
-
cell_access
get_cell_access
(cell_pos pos) const¶
-
void
calculate
(size_t thread_count)¶ Calculate all the “dirty” formula cells in the document.
- Parameters
thread_count
: number of threads to use to perform calculation. When 0 is specified, it only uses the main thread.
-