Orcus
|
#include <import_interface.hpp>
Public Member Functions | |
virtual import_sheet_view * | get_sheet_view () |
virtual import_sheet_properties * | get_sheet_properties () |
virtual import_data_table * | get_data_table () |
virtual import_auto_filter * | start_auto_filter (const range_t &range) |
virtual import_table * | start_table () |
virtual import_conditional_format * | get_conditional_format () |
virtual import_named_expression * | get_named_expression () |
virtual import_array_formula * | get_array_formula () |
virtual import_formula * | get_formula () |
virtual void | set_auto (row_t row, col_t col, std::string_view s)=0 |
virtual void | set_string (row_t row, col_t col, string_id_t sindex)=0 |
virtual void | set_value (row_t row, col_t col, double value)=0 |
virtual void | set_bool (row_t row, col_t col, bool value)=0 |
virtual void | set_date_time (row_t row, col_t col, int year, int month, int day, int hour, int minute, double second)=0 |
virtual void | set_format (row_t row, col_t col, size_t xf_index)=0 |
virtual void | set_format (row_t row_start, col_t col_start, row_t row_end, col_t col_end, size_t xf_index)=0 |
virtual void | set_column_format (col_t col, col_t col_span, std::size_t xf_index)=0 |
virtual void | set_row_format (row_t row, std::size_t xf_index)=0 |
virtual void | fill_down_cells (row_t src_row, col_t src_col, row_t range_size)=0 |
virtual range_size_t | get_sheet_size () const =0 |
Interface for importing the content and properties of a sheet.
|
pure virtual |
Duplicate the value of the source cell to one or more cells located immediately below it.
src_row | row ID of the source cell |
src_col | column ID of the source cell |
range_size | number of cells below the source cell to copy the source cell value to. It must be at least one. |
|
virtual |
Get an optional interface for importing array formulas. An array formula is a formula expression applied to a range of cells where each cell may have a different result value.
nullptr
if the implementor doesn't support it.
|
virtual |
Get an optional interface for importing conditional formats.
nullptr
if the implementer doesn't support importing conditional formats.
|
virtual |
Get an optional interface for importing data tables. Note that the implementer may decide not to support this feature in which case this method should return a nullptr
.
The implementor should initialize the internal state of the temporary data table object when this method is called.
nullptr
if the implementor doesn't support it.
|
virtual |
Get an optional interface for importing formula cells.
nullptr
if the implementer doesn't support importing of formula cells.
|
virtual |
Get an optional interface for importing sheet-local named expressions.
nullptr
if the implementor doesn't support it.
|
virtual |
Get an optional interface for importing sheet properties.
nullptr
if the implementor doesn't support it.
|
pure virtual |
Get the maximum dimension of a sheet.
|
virtual |
Get an optional interface for importing properties that are specific to a view of a sheet.
nullptr
if the implementor doesn't support it.
|
pure virtual |
Set raw string value to a cell and have the implementation auto-recognize its data type.
row | row ID |
col | column ID |
s | raw string value. |
|
pure virtual |
Set a boolean value to a cell.
row | row ID |
col | col ID |
value | boolean value being assigned to the cell |
|
pure virtual |
Set cell format to a specified column. The cell format is referred to by the xf (cell format) index in the styles table.
col | column ID |
col_span | number of contiguous columns to apply the format to. It must be at least one. |
xf_index | 0-based xf (cell format) index |
|
pure virtual |
Set date and time value to a cell.
row | row ID |
col | column ID |
year | 1-based value representing year |
month | 1-based value representing month, varying from 1 through 12. |
day | 1-based value representing day, varying from 1 through 31. |
hour | the hour of a day, ranging from 0 through 23. |
minute | the minute of an hour, ranging from 0 through 59. |
second | the second of a minute, ranging from 0 through 59. |
|
pure virtual |
Set cell format to specified cell. The cell format is referred to by the xf (cell format) index in the styles table.
row | row ID |
col | column ID |
xf_index | 0-based xf (cell format) index |
|
pure virtual |
Set cell format to specified cell range. The cell format is referred to by the xf (cell format) index in the styles table.
row_start | start row ID |
col_start | start column ID |
row_end | end row ID |
col_end | end column ID |
xf_index | 0-based xf (cell format) index |
|
pure virtual |
Set cell format to a specified row. The cell format is referred to by the xf (cell format) index in the styles table.
row | row ID |
xf_index | 0-based xf (cell format) index |
|
pure virtual |
Set string value to a cell.
row | row ID |
col | column ID |
sindex | 0-based string index in the shared string table. |
|
pure virtual |
Set numerical value to a cell.
row | row ID |
col | column ID |
value | value being assigned to the cell. |
|
virtual |
Get an optional interface for importing auto filter data.
The implementor should initialize the internal buffer to store the auto filter data when this method is called.
range | Filtered range. |
nullptr
if the implementor doesn't support it.
|
virtual |
Get an interface for importing tables.
The implementor should initialize the internal state of the temporary table object when this method is called.
nullptr
if the implementer doesn't support importing of tables.