QAbstractTextDocumentLayout

class PyQt5.QtGui.QAbstractTextDocumentLayout

C++ documentation