Orcus
|
Public Member Functions | |
import_factory (document &doc) | |
import_factory (document &doc, view &view) | |
virtual iface::import_global_settings * | get_global_settings () override |
virtual iface::import_shared_strings * | get_shared_strings () override |
virtual iface::import_styles * | get_styles () override |
virtual iface::import_named_expression * | get_named_expression () override |
virtual iface::import_reference_resolver * | get_reference_resolver (formula_ref_context_t cxt) override |
virtual iface::import_pivot_cache_definition * | create_pivot_cache_definition (orcus::spreadsheet::pivot_cache_id_t cache_id) override |
virtual iface::import_pivot_cache_records * | create_pivot_cache_records (orcus::spreadsheet::pivot_cache_id_t cache_id) override |
virtual iface::import_sheet * | append_sheet (sheet_t sheet_index, const char *sheet_name, size_t sheet_name_length) override |
virtual iface::import_sheet * | get_sheet (const char *sheet_name, size_t sheet_name_length) override |
virtual iface::import_sheet * | get_sheet (sheet_t sheet_index) override |
virtual void | finalize () override |
void | set_default_row_size (row_t row_size) |
void | set_default_column_size (col_t col_size) |
void | set_character_set (character_set_t charset) |
character_set_t | get_character_set () const |
void | set_recalc_formula_cells (bool b) |
void | set_formula_error_policy (formula_error_policy_t policy) |
|
overridevirtual |
Append a sheet with specified sheet position index and name.
sheet_index | position index of the sheet to be appended. It is 0-based i.e. the first sheet to be appended will have an index value of 0. |
sheet_name | pointer to the first character in the buffer where the sheet name is stored. |
sheet_name_length | length of the sheet name. |
Implements orcus::spreadsheet::iface::import_factory.
|
overridevirtual |
Create an interface for pivot cache definition import for a specified cache ID. In case a pivot cache alrady exists for the passed ID, the client app should overwrite the existing cache with a brand-new cache instance.
cache_id | numeric ID associated with the pivot cache. |
Reimplemented from orcus::spreadsheet::iface::import_factory.
|
overridevirtual |
Create an interface for pivot cache records import for a specified cache ID.
cache_id | numeric ID associated with the pivot cache. |
Reimplemented from orcus::spreadsheet::iface::import_factory.
|
overridevirtual |
This method is called at the end of import, to give the implementor a chance to perform post-processing if necessary.
Implements orcus::spreadsheet::iface::import_factory.
|
overridevirtual |
Reimplemented from orcus::spreadsheet::iface::import_factory.
|
overridevirtual |
Implements orcus::spreadsheet::iface::import_factory.
|
overridevirtual |
Retrieve sheet instance by specified numerical sheet index.
sheet_index | sheet index |
Implements orcus::spreadsheet::iface::import_factory.
|
overridevirtual |
Reimplemented from orcus::spreadsheet::iface::import_factory.
void orcus::spreadsheet::import_factory::set_recalc_formula_cells | ( | bool | b | ) |
When setting this flag to true, those formula cells with no cached results will be re-calculated upon loading.
b | value of this flag. |