OutlineOptions.headingsOutlineLevels property. Specifies how many levels of headings (paragraphs formatted with the Heading styles) To include in the Document outline....to PDF with three levels in the document outline. let doc = new...= new aw . DocumentBuilder ( doc ); // Insert headings of levels...