PageSetup.line_number_restart_mode property. Gets or sets the way line numbering runs that is, whether it starts over at the beginning of a new page or section or runs continuously.... doc = aw . Document () builder =...= aw . DocumentBuilder ( doc = doc ) # We can use the section's...