---
title: "WordSettings"
canonical_url: "https://www.nutrient.io/api/python/settings/format/word-settings/"
md_url: "https://www.nutrient.io/api/python/settings/format/word-settings.md"
last_updated: "2026-06-12T15:43:20.748Z"
description: "Settings for Word. Values fall back through three levels: document → SDK → built-in default."
---

Settings for Word. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document's settings, otherwise the SDK globally when set on SdkSettings.

**Tags:** `Format`

```python

from nutrient_sdk import WordSettings

```

## Construction

`WordSettings` is accessed through a [`Document`](/api/python/document/) instance for per-document overrides, or via [`SdkSettings`](/api/python/settings/document/sdk-settings/) for SDK-wide defaults.

```python

# Per-document override

with Document.open("input.pdf") as doc:
    settings = doc.settings.word_settings
    settings.some_field = new_value          # mutate fields directly

# SDK-wide default (applies to all documents)

SdkSettings.word_settings.some_field = new_value

```

Settings are configured by writing to fields on the returned object. The settings property itself cannot be reassigned — `doc.settings.word_settings = other_settings` is rejected.

## Properties

### bookmark_source

```python

@property
def bookmark_source(self) -> DocumentBookmarkSource

@bookmark_source.setter
def bookmark_source(self, value: DocumentBookmarkSource) -> None

```

The boorkmark source for Word documents.

**Type:** [`DocumentBookmarkSource`](/api/python/enums/document-bookmark-source/)

**Default:** `DocumentBookmarkSource.Headings`

---

### half_transparent_header_footer

```python

@property
def half_transparent_header_footer(self) -> bool

@half_transparent_header_footer.setter
def half_transparent_header_footer(self, value: bool) -> None

```

Flag indicating if header/footer content should be rendered with half-transparency.

**Type:** `bool`

**Default:** `false`

---

### markup_mode

```python

@property
def markup_mode(self) -> DocumentMarkupMode

@markup_mode.setter
def markup_mode(self, value: DocumentMarkupMode) -> None

```

The markup mode for Word documents.

**Type:** [`DocumentMarkupMode`](/api/python/enums/document-markup-mode/)

**Default:** `DocumentMarkupMode.AllMarkup`

---

---

## Related pages

- [Per-document override](/api/python/settings/format/email-settings.md)
- [Per-document override](/api/python/settings/format/html-settings.md)
- [Per-document override](/api/python/settings/format/image-settings.md)
- [Format](/api/python/settings/format.md)
- [Per-document override](/api/python/settings/format/cad-settings.md)
- [Per-document override](/api/python/settings/format/pdf-settings.md)
- [Per-document override](/api/python/settings/format/jpeg-settings.md)
- [Per-document override](/api/python/settings/format/spreadsheet-settings.md)
- [Per-document override](/api/python/settings/format/markdown-settings.md)

