# ParagraphStyleCollection Object

> Contains all paragraph formatting styles in the current document.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > ParagraphStyleCollection Object
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/paragraphstylecollection/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/paragraphstylecollection/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/paragraphstylecollection/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/paragraphstylecollection/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/paragraphstylecollection/#syntax)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/paragraphstylecollection/#examples)
- [Members](https://docs.textcontrol.com/ds-server/reference/javascript/paragraphstylecollection/#members)

---

## In This Section

- [Javascript: ParagraphStyleCollection.add Method](https://docs.textcontrol.com/ds-server/reference/javascript/paragraphstylecollection/add-method/llms.txt): Adds a new style to the current document.
- [Javascript: ParagraphStyleCollection.getItem Method](https://docs.textcontrol.com/ds-server/reference/javascript/paragraphstylecollection/getitem-method/llms.txt): Gets a style from the collection by the style's name.

---

## Nearby

- **Previous:** [Javascript: ParagraphStyle.setFollowingStyle Method](https://docs.textcontrol.com/ds-server/reference/javascript/paragraphstyle/setfollowingstyle-method/llms.txt)
- **Next:** [Javascript: ParagraphStyleCollection.add Method](https://docs.textcontrol.com/ds-server/reference/javascript/paragraphstylecollection/add-method/llms.txt)
