> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XLSXLayoutRetentionModeEnum

XLSXLayoutRetentionModeEnum enumeration constants are used to describe available modes of retaining original document tables’ formatting during export to XLSX.

```
typedef enum {
 XLLRM_Default,
 XLLRM_ExactDocument,
 XLLRM_ExactLines
} XLSXLayoutRetentionModeEnum;
```

## Elements

| Name                   | Description                                                                                                                                                                                                                                           |
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| XLLRM\\\_Default       | No specific settings. In this mode you can fine-tune the tables’ layout using other properties of the [XLExportParams](/fine-reader/engine/api-reference/parameter-objects/export-parameters/xlexportparams) object. See its description for details. |
| XLLRM\\\_ExactDocument | Optimized for recreating the appearance of the original document, but does not necessarily retain the exact cells and lines of the original tables.                                                                                                   |
| XLLRM\\\_ExactLines    | Optimized for recreating the exact division into cells/lines of the original document tables.                                                                                                                                                         |

## Used in

[IXLExportParams::LayoutRetentionMode](/fine-reader/engine/api-reference/parameter-objects/export-parameters/xlexportparams#layoutretentionmode)
