OutlineOptions.create_missing_outline_levels property. Gets or sets a value determining whether or not to create missing outline levels when the document is exported....corresponding headings when saving a PDF document. doc = aw . Document...method converts the document to .PDF. save_options = aw . saving ...