import_sheet_properties¶
Defined in header: <orcus/spreadsheet/import_interface.hpp>
-
class import_sheet_properties¶
Interface for importing sheet properties. Sheet properties include:
column widths and row heights,
hidden flags for columns and rows, and
merged cell ranges.
Public Functions
-
virtual ~import_sheet_properties()¶
-
virtual void set_column_width(col_t col, col_t col_span, double width, orcus::length_unit_t unit) = 0¶
Set a column width to one or more columns.
- Parameters:
col – 0-based position of the first column.
col_span – number of contiguous columns to apply the width to.
width – column width to apply.
unit – unit of measurement to use for the width value.
Set a column hidden flag to one or more columns.
- Parameters:
col – 0-based position of the first column.
col_span – number of contiguous columns to apply the flag to.
hidden – flag indicating whether or not the columns are hidden.
-
virtual void set_row_height(row_t row, row_t row_span, double height, orcus::length_unit_t unit) = 0¶
Set a row height to specified row.
- Todo:
Convert this to take a raw span.
- Parameters:
row – 0-based position of a row.
row_span – number of contiguous rows to apply the height to.
height – new row height value to set.
unit – unit of the new row height value.
Set a row hidden flag to a specified row.
- Todo:
Convert this to take a raw span.
- Parameters:
row – 0-based position of a row.
row_span – number of contiguous rows to apply the flag to.
hidden – flag indicating whether or not the row is hidden.