Orcus
|
#include <import_interface.hpp>
Public Member Functions | |
virtual import_sheet_properties * | get_sheet_properties () |
virtual import_data_table * | get_data_table () |
virtual import_auto_filter * | get_auto_filter () |
virtual import_table * | get_table () |
virtual import_conditional_format * | get_conditional_format () |
virtual void | set_auto (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, const char *p, size_t n)=0 |
virtual void | set_string (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, size_t sindex)=0 |
virtual void | set_value (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, double value)=0 |
virtual void | set_bool (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, bool value)=0 |
virtual void | set_date_time (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, int year, int month, int day, int hour, int minute, double second)=0 |
virtual void | set_format (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, size_t xf_index)=0 |
virtual void | set_format (orcus::spreadsheet::row_t row_start, orcus::spreadsheet::col_t col_start, orcus::spreadsheet::row_t row_end, orcus::spreadsheet::col_t col_end, size_t xf_index)=0 |
virtual void | set_formula (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::spreadsheet::formula_grammar_t grammar, const char *p, size_t n)=0 |
virtual void | set_shared_formula (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::spreadsheet::formula_grammar_t grammar, size_t sindex, const char *p_formula, size_t n_formula, const char *p_range, size_t n_range)=0 |
virtual void | set_shared_formula (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::spreadsheet::formula_grammar_t grammar, size_t sindex, const char *p_formula, size_t n_formula)=0 |
virtual void | set_shared_formula (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, size_t sindex)=0 |
virtual void | set_formula_result (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, double value)=0 |
virtual void | set_formula_result (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, const char *p, size_t n)=0 |
virtual void | set_array_formula (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::spreadsheet::formula_grammar_t grammar, const char *p, size_t n, orcus::spreadsheet::row_t array_rows, orcus::spreadsheet::col_t array_cols)=0 |
virtual void | set_array_formula (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::spreadsheet::formula_grammar_t grammar, const char *p, size_t n, const char *p_range, size_t n_range)=0 |
Interface for sheet.
|
virtual |
Get an interface for importing auto filter ranges.
The implementor should also initialize the internal state of the temporary auto filter object when this method is called.
Reimplemented in orcus::spreadsheet::sheet.
|
virtual |
get an interface for importing conditional formats. The implementer is responsible for managing the life cycle of the returned interface object.
|
virtual |
Get an interface for importing data tables. Note that the implementer may decide not to support this feature in which case this method returns NULL. The implementer is responsible for managing the life cycle of the returned interface object.
The implementor should also initialize the internal state of the temporary data table object when this method is called.
Reimplemented in orcus::spreadsheet::sheet.
|
virtual |
Get an interface for importing tables. The implementer is responsible for managing the life cycle of the returned interface object.
The implementor should also initialize the internal state of the temporary table object when this method is called.
Reimplemented in orcus::spreadsheet::sheet.
|
pure virtual |
Set a array formula to the specified cells. The formula covers an area specified by array_rows and array_cols beginning from the base cell.
row | row ID |
col | column ID |
grammar | grammar used in the formula expression |
p | pointer to the first character of the raw formula expression string. |
n | size of the raw formula expression string |
array_rows | number of rows the array formula covers |
array_cols | number of columns the array formula covers |
Implemented in orcus::spreadsheet::sheet.
|
pure virtual |
Set a array formula to the specified cells. The formula covers an area specified by the range string.
row | row ID |
col | column ID |
grammar | grammar used in the formula expression |
p | pointer to the first character of the raw formula expression string. |
n | size of the raw formula expression string |
p_range | pointer to the first character of the range string |
n_range | isze of the range string |
Implemented in orcus::spreadsheet::sheet.
|
pure virtual |
Set raw string value to a cell and have the implementation auto-recognize its data type.
row | row ID |
col | column ID |
p | pointer to the first character of the raw string value. |
n | size of the raw string value. |
Implemented in orcus::spreadsheet::sheet.
|
pure virtual |
Set a boolean value to a cell.
row | row ID |
col | col ID |
value | boolean value being assigned to the cell |
Implemented in orcus::spreadsheet::sheet.
|
pure virtual |
Set date and time value to a cell.
row | row ID |
col | column ID |
Implemented in orcus::spreadsheet::sheet.
|
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 |
index | 0-based xf (cell format) index |
Implemented in orcus::spreadsheet::sheet.
|
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 |
index | 0-based xf (cell format) index |
Implemented in orcus::spreadsheet::sheet.
|
pure virtual |
Set normal, non-shared formula expression to specified cell.
row | row ID |
col | column ID |
grammar | grammar used in the formula expression |
p | pointer to the first character of the raw formula expression string. |
n | size of the raw formula expression string. |
Implemented in orcus::spreadsheet::sheet.
|
pure virtual |
Set shared formula expression to specified cell. This call also registers the formula expression to a common formula expression pool to allow it to be looked up by the specified index later.
row | row ID |
col | column ID |
grammar | grammar used in the formula expression |
sindex | shared formula index (0-based) |
p_formula | pointer to the first character of the raw formula expression string. |
n_formula | size of the raw formula expression string. |
p_range | pointer to the first character of the range string |
n_range | size of the raw range string |
Implemented in orcus::spreadsheet::sheet.
|
pure virtual |
Set shared formula expression to specified cell. This call also registers the formula expression to a common formula expression pool to allow it to be looked up by the specified index later.
row | row ID |
col | column ID |
grammar | grammar used in the formula expression |
sindex | shared formula index (0-based) |
p_formula | pointer to the first character of the raw formula expression string. |
n_formula | size of the raw formula expression string. |
Implemented in orcus::spreadsheet::sheet.
|
pure virtual |
Set shared formula to specified cell by shared formula index. The formula expression itself associated with the index must be defined.
row | row ID |
col | column ID |
grammar | grammar used in the formula expression |
sindex | shared formula index (0-based) |
p | pointer to the first character of the raw formula expression string. |
n | size of the raw formula expression string. |
Implemented in orcus::spreadsheet::sheet.
|
pure virtual |
Set string value to a cell.
row | row ID |
col | column ID |
sindex | 0-based string index in the shared string table. |
Implemented in orcus::spreadsheet::sheet.
|
pure virtual |
Set numerical value to a cell.
row | row ID |
col | column ID |
value | value being assigned to the cell. |
Implemented in orcus::spreadsheet::sheet.