DocumentBuilder.insert_horizontal_rule method. Inserts a horizontal rule shape into the document....shape, and customize its formatting. doc = aw . Document () builder...horizontal_rule_format = shape . horizontal_rule_format horizontal_rule_format...