---
Product: Aspose.Words
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/words/python/paragraphbuilder
---

# ParagraphBuilder

## Overview

`ParagraphBuilder` is a class in Aspose.Words FOSS for Python.

Build :class:`ldm.Paragraph` from a ``<w:p>`` element.

This class declares 3 methods for ParagraphBuilder objects in Python programs.
Available methods include: `__init__`, `build`, `paragraph_ends_first_page`.
Public members are accessible to any Python application after installing the Aspose.Words FOSS for Python package.

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(ctx: ReaderContext, font_resolver: FontResolver, pf_resolver: ParagraphFormatResolver, chains: StyleChainResolver, run_builder: RunBuilder)` | Calls __init__(ctx, font_resolver, pf_resolver, chains, run_builder) on this ParagraphBuilder instance. |
| `build(p_elem: ET.Element, image_rels: Optional[dict[str, str]])` → `ldm.Paragraph` | Translate one ``<w:p>`` into a Paragraph. |
| `paragraph_ends_first_page(para: ldm.Paragraph)` → `bool` | True when *para* closes Word's first body page (form-feed |

## See Also

- [Aspose.Words for Python — Enterprise API Reference](https://reference.aspose.com/words/python-net/)