FieldToc.custom_styles property. Gets or sets a list of styles other than the built-in heading styles to include in the table of contents.... Examples Shows how to insert a TOC, and populate it with...def field_toc (): doc = aw . Document () builder = aw . DocumentBuilder...