Creates a paragraph style reference for a WordprocessingML document.
The pStyle element specifies the paragraph style to apply to the paragraph.
Reference: http://officeopenxml.com/WPstyle.php
<xsd:complexType name="CT_String"> <xsd:attribute name="val" type="s:ST_String" use="required"/></xsd:complexType> Copy
<xsd:complexType name="CT_String"> <xsd:attribute name="val" type="s:ST_String" use="required"/></xsd:complexType>
// Using a built-in heading stylenew Paragraph({ style: HeadingLevel.HEADING_1, children: [new TextRun("Chapter 1")],});// Using a custom stylenew Paragraph({ style: "MyCustomStyle", children: [new TextRun("Styled text")],}); Copy
// Using a built-in heading stylenew Paragraph({ style: HeadingLevel.HEADING_1, children: [new TextRun("Chapter 1")],});// Using a custom stylenew Paragraph({ style: "MyCustomStyle", children: [new TextRun("Styled text")],});
Creates a paragraph style reference for a WordprocessingML document.
The pStyle element specifies the paragraph style to apply to the paragraph.
Reference: http://officeopenxml.com/WPstyle.php
XSD Schema