openpyxl.worksheet.print_settings module

class openpyxl.worksheet.print_settings.ColRange(range_string=None, min_col=None, max_col=None)[source]

Bases: Strict

Represent a range of at least one column

max_col

Values must be of type <class ‘str’>

min_col

Values must be of type <class ‘str’>

class openpyxl.worksheet.print_settings.PrintArea(ranges=(), title='')[source]

Bases: MultiCellRange

classmethod from_string(value)[source]
class openpyxl.worksheet.print_settings.PrintTitles(cols=None, rows=None, title='')[source]

Bases: Strict

Contains at least either a range of rows or columns

cols

Values must be of type <class ‘openpyxl.worksheet.print_settings.ColRange’>

classmethod from_string(value)[source]
rows

Values must be of type <class ‘openpyxl.worksheet.print_settings.RowRange’>

title

Values must be of type <class ‘str’>

class openpyxl.worksheet.print_settings.RowRange(range_string=None, min_row=None, max_row=None)[source]

Bases: Strict

Represent a range of at least one row

max_row

Values must be of type <class ‘int’>

min_row

Values must be of type <class ‘int’>