Expand description
Column operations for worksheet manipulation.
All functions operate directly on a WorksheetXml structure, keeping the
business logic decoupled from the Workbook
wrapper.
Functionsยง
- get_
col_ outline_ level - Get the outline (grouping) level of a column. Returns 0 if not set.
- get_
col_ style - Get the style ID for a column. Returns 0 (default) if the column has no explicit style set.
- get_
col_ visible - Get the visibility of a column. Returns true if visible (not hidden).
- get_
col_ width - Get the width of a column. Returns
Nonewhen there is no explicit width defined for the column. - get_
cols - Get all columns with their data from a worksheet.
- insert_
cols - Insert
countcolumns starting atcol, shifting existing columns at and to the right ofcolfurther right. - remove_
col - Remove a single column, shifting columns to its right leftward by one.
- set_
col_ outline_ level - Set the outline (grouping) level of a column.
- set_
col_ style - Set the style for an entire column. The
style_idis the ID returned byadd_style(). - set_
col_ visible - Set the visibility of a column.
- set_
col_ width - Set the width of a column. Creates the
Colscontainer and/or aColentry if they do not yet exist.