# Redacted .docx files

## Format of a .docx file preview <a href="#docx-file-preview-format" id="docx-file-preview-format"></a>

For a .docx file preview:

* On the left, the preview displays the original data. The detected entity values are highlighted.
* On the right, the preview displays the data with replacement values that are based on the dataset configuration for the detected entity types.

The preview respects the [dataset configuration for handling .docx file components](https://docs.tonic.ai/textual/dataset-configure-redaction/dataset-set-config-file-components).

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2Fzwdm1vYXA5Wlc9yJ2lSf%2FDatasetFilePreview_Docx.png?alt=media&#x26;token=15981bf5-6778-48b9-bc02-575a08df040a" alt=""><figcaption><p>File preview for a .docx file</p></figcaption></figure>

## Selecting entity type handling options <a href="#docx-preview-entity-type-handling" id="docx-preview-entity-type-handling"></a>

From a .docx file preview, to select the [entity type handling option](https://docs.tonic.ai/textual/dataset-configure-redaction/textual-datasets-select-handling-type#handling-options-available) for an entity type:

1. In the results panel, click a detected value.
2. On the details panel, click the entity type handling option.\
   \
   Textual applies the same option to all entity values of that type.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2FHV8YV3pq7VrbWqQYjEtm%2FDatasetPreviewEntityTypeHandling.png?alt=media&#x26;token=5ca223f2-a7f8-4b79-8003-376e133d37cb" alt=""><figcaption><p>Selecting an entity type handling option</p></figcaption></figure>

From the preview, you can only select the entity type handling option. For the **Synthesis** option, you cannot configure synthesis options for an entity type. You must configure those options from the dataset details page. For more information, go to [textual-datasets-synthesis-options](https://docs.tonic.ai/textual/dataset-configure-redaction/textual-datasets-synthesis-options "mention").
