openpyxl.worksheet.pagebreak module

class openpyxl.worksheet.pagebreak.Break(id=0, min=0, max=16383, man=True, pt=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

id

Values must be of type <class ‘int’>

man

Values must be of type <class ‘bool’>

max

Values must be of type <class ‘int’>

min

Values must be of type <class ‘int’>

pt

Values must be of type <class ‘bool’>

tagname = 'brk'
class openpyxl.worksheet.pagebreak.ColBreak(count=None, manualBreakCount=None, brk=())[源代码]

基类:openpyxl.worksheet.pagebreak.RowBreak

brk

A sequence (list or tuple) that may only contain objects of the declared type

property count
property manualBreakCount
tagname = 'colBreaks'
openpyxl.worksheet.pagebreak.PageBreak

:py:class:`openpyxl.worksheet.pagebreak.RowBreak`的别名

class openpyxl.worksheet.pagebreak.RowBreak(count=None, manualBreakCount=None, brk=())[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

append(brk=None)[源代码]

Add a page break

brk

A sequence (list or tuple) that may only contain objects of the declared type

property count
property manualBreakCount
tagname = 'rowBreaks'