PdfSaveOptions.save_format property. Specifies the format in which the document will be saved if this save options object is used... Document () builder = aw . DocumentBuilder ( doc...levels 1, 2, and then 3. builder . paragraph_format . style_identifier...