# XlsxImportOptions.inflateRaw Property

> XlsxImportOptions.inflateRaw property in the Node.js TypeScript API: Optional platform DEFLATE implementation for runtimes without DecompressionStream.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > XlsxImportOptions > XlsxImportOptions.inflateRaw Property
- **480 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/xlsximportoptions/inflateraw-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/xlsximportoptions/inflateraw-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/xlsximportoptions/inflateraw-property/llms-full.txt

---

Optional platform DEFLATE implementation for runtimes without DecompressionStream.

Owner: [XlsxImportOptions](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/xlsximportoptions/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

### Syntax

```typescript
inflateRaw?: ((data: Uint8Array, expectedSize: number) => Promise<Uint8Array>) | undefined
```

Read through the owning object: `owner.inflateRaw`. Follow the declared mutability and owning object lifetime.

### Examples

Configure XlsxImportOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

```typescript
import type { LoadOptions } from '@txtextcontrol/tx-sheet-control-server';

function configureXlsxImportOptions(fontBytes: Uint8Array<ArrayBufferLike>) {
    const xlsxImportSettings: NonNullable<LoadOptions['spreadsheetML']> = {
        signal: new AbortController().signal,
        inflateRaw: (data, expectedSize) => Promise.resolve(fontBytes),
    };

    console.log(xlsxImportSettings['inflateRaw']);
    return xlsxImportSettings;
}
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [XlsxImportOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/xlsximportoptions/llms-full.txt)
- [Loading and Saving Workbooks](https://docs.textcontrol.com/tx-sheet-control/document-processing/load-save/llms-full.txt)

---

## Nearby

- **Previous:** [XlsxImportOptions.autoExpand Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/xlsximportoptions/autoexpand-property/llms-full.txt)
- **Next:** [XlsxImportOptions.maxColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/xlsximportoptions/maxcolumns-property/llms-full.txt)
