# openpyxl.worksheet.pagebreak module

class openpyxl.worksheet.pagebreak.Break(id=0, min=0, max=16383, man=True, pt=None)

  Bases: `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=())

  Bases: `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

  alias of `RowBreak`

class openpyxl.worksheet.pagebreak.RowBreak(count=None, manualBreakCount=None, brk=())

  Bases: `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'