# Paragraph Styles operations

> Paragraph style reference operations (set/clear w:pStyle).



3 operations. Names, descriptions, and behavior flags come from the canonical contract.

## Operations

- [`styles.paragraph.setStyle`](/document-api/reference/styles/paragraph/set-style) (mutates, tracked): Apply a paragraph style (w:pStyle) to a paragraph-like block, clearing direct run formatting while preserving character-style references.
- [`styles.paragraph.setStyleRef`](/document-api/reference/styles/paragraph/set-style-ref) (mutates, tracked): Apply a paragraph style (w:pStyle) to a paragraph-like block without clearing direct run formatting.
- [`styles.paragraph.clearStyle`](/document-api/reference/styles/paragraph/clear-style) (mutates, tracked): Remove the paragraph style reference from a paragraph-like block.

