docx
    Preparing search index...

    Class Paragraph

    Represents a paragraph in a WordprocessingML document.

    A paragraph is the primary unit of block-level content in a document and can contain various inline elements such as text runs, images, hyperlinks, and bookmarks.

    Reference: http://officeopenxml.com/WPparagraph.php

    <xsd:complexType name="CT_P">
    <xsd:sequence>
    <xsd:element name="pPr" type="CT_PPr" minOccurs="0"/>
    <xsd:group ref="EG_PContent" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attribute name="rsidRPr" type="ST_LongHexNumber"/>
    <xsd:attribute name="rsidR" type="ST_LongHexNumber"/>
    <xsd:attribute name="rsidDel" type="ST_LongHexNumber"/>
    <xsd:attribute name="rsidP" type="ST_LongHexNumber"/>
    <xsd:attribute name="rsidRDefault" type="ST_LongHexNumber"/>
    </xsd:complexType>
    // Simple paragraph with text
    new Paragraph("Hello World");

    // Paragraph with options
    new Paragraph({
    children: [new TextRun("Hello"), new TextRun({ text: "World", bold: true })],
    alignment: AlignmentType.CENTER,
    });

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    fileChild: symbol = ...

    Marker property identifying this as a FileChild

    Methods