# Javascript: DocumentPermissions.allowFormattingStyles Property

> Gets or sets a value specifying whether formatting styles can be used to format the document.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: DocumentPermissions.allowFormattingStyles Property
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/documentpermissions/allowformattingstyles-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/documentpermissions/allowformattingstyles-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/documentpermissions/allowformattingstyles-property/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/documentpermissions/allowformattingstyles-property/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/documentpermissions/allowformattingstyles-property/#syntax)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/documentpermissions/allowformattingstyles-property/#examples)

---

## Nearby

- **Previous:** [Javascript: DocumentPermissions.allowFormatting Property](https://docs.textcontrol.com/ds-server/reference/javascript/documentpermissions/allowformatting-property/llms.txt)
- **Next:** [Javascript: DocumentPermissions.allowPrinting Property](https://docs.textcontrol.com/ds-server/reference/javascript/documentpermissions/allowprinting-property/llms.txt)
