---
Product: Aspose.Words
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/words/python/outlineoptions
---

# OutlineOptions

## Overview

`OutlineOptions` is a class in Aspose.Words FOSS for Python.

Controls how outlines (bookmarks panel) are generated in the PDF.

This class provides 1 method for working with OutlineOptions objects in Python programs.
Available methods include: `__init__`.
All public members are accessible to any Python application after installing the Aspose.Words FOSS for Python package.
Properties: `bookmarks_outline_levels`, `create_missing_outline_levels`, `create_outlines_for_headings_in_tables`, `default_bookmarks_outline_level`, `expanded_outline_levels`, `headings_outline_levels`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `headings_outline_levels` | `int` | Read | Gets the headings outline levels. |
| `expanded_outline_levels` | `int` | Read | Gets the expanded outline levels. |
| `default_bookmarks_outline_level` | `int` | Read | Gets the default bookmarks outline level. |
| `bookmarks_outline_levels` | `dict[str, int]` | Read | Gets the bookmarks outline levels. |
| `create_outlines_for_headings_in_tables` | `bool` | Read | Gets the create outlines for headings in tables. |
| `create_missing_outline_levels` | `bool` | Read | Gets the create missing outline levels. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__()` | Calls __init__ on this OutlineOptions instance. |

## See Also

- [Aspose.Words for Python — Enterprise API Reference](https://reference.aspose.com/words/python-net/aspose.words.saving/outlineoptions/bookmarks_outline_levels/)