openpyxl.worksheet.pagebreak模块

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

基类:openpyxl.descriptors.serialisable.Serialisable

id

值的类型必须小于class“int”>

man

值的类型必须小于class'bool'>

max

值的类型必须小于class“int”>

min

值的类型必须小于class“int”>

pt

值的类型必须小于class'bool'>

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

基类:openpyxl.worksheet.pagebreak.PageBreak

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

基类:openpyxl.descriptors.serialisable.Serialisable

append(brk=None)[源代码]

添加分页符

brk

只能包含声明类型的对象的序列(列表或元组)

count
manualBreakCount
tagname = 'rowBreaks'
openpyxl.worksheet.pagebreak.RowBreak

openpyxl.worksheet.pagebreak.PageBreak 的别名