Orcus
|
#include <import_interface.hpp>
Public Member Functions | |
virtual import_global_settings * | get_global_settings () |
virtual import_shared_strings * | get_shared_strings () |
virtual import_named_expression * | get_named_expression () |
virtual import_styles * | get_styles () |
virtual import_reference_resolver * | get_reference_resolver () |
virtual import_pivot_cache_definition * | create_pivot_cache_definition (orcus::spreadsheet::pivot_cache_id_t cache_id) |
virtual import_pivot_cache_records * | create_pivot_cache_records (orcus::spreadsheet::pivot_cache_id_t cache_id) |
virtual import_sheet * | append_sheet (orcus::spreadsheet::sheet_t sheet_index, const char *sheet_name, size_t sheet_name_length)=0 |
virtual import_sheet * | get_sheet (const char *sheet_name, size_t sheet_name_length)=0 |
virtual import_sheet * | get_sheet (orcus::spreadsheet::sheet_t sheet_index)=0 |
virtual void | finalize ()=0 |
This interface provides the filters a means to instantiate concrete classes that implement the above interfaces. The client code never has to manually delete objects returned by its methods; the implementor of this interface must manage the life cycles of objects it returns.
The implementor of this interface normally wraps the document instance inside it and have the document instance manage the life cycles of various objects it creates.
|
pure virtual |
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. |
Implemented in orcus::spreadsheet::import_factory.
|
virtual |
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 in orcus::spreadsheet::import_factory.
|
virtual |
Create an interface for pivot cache records import for a specified cache ID.
cache_id | numeric ID associated with the pivot cache. |
Reimplemented in orcus::spreadsheet::import_factory.
|
pure virtual |
This method is called at the end of import, to give the implementor a chance to perform post-processing if necessary.
Implemented in orcus::spreadsheet::import_factory.
|
virtual |
Reimplemented in orcus::spreadsheet::import_factory.
|
pure virtual |
Implemented in orcus::spreadsheet::import_factory.
|
pure virtual |
Retrieve sheet instance by specified numerical sheet index.
sheet_index | sheet index |
Implemented in orcus::spreadsheet::import_factory.
|
virtual |
Reimplemented in orcus::spreadsheet::import_factory.