Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/docxml/src/properties/paragraph-properties.ts>ParagraphProperties

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
type alias ParagraphProperties
import { type ParagraphProperties } from "https://deno.land/x/docxml@5.13.0/src/properties/paragraph-properties.ts";

All the formatting properties that can be given to a paragraph.

Serializes to the <w:pPr> element. http://officeopenxml.com/WPparagraphProperties.php http://www.datypic.com/sc/ooxml/e-w_pPr-6.html

definition: { alignment?:
| "left"
| "right"
| "center"
| "both"
| null
; outlineLvl?: number | null; style?: string | null; spacing?: { before?: Length | null; after?: Length | null; line?: Length | null; lineRule?:
| "atLeast"
| "exactly"
| "auto"
| null
; afterAutoSpacing?: boolean | null; beforeAutoSpacing?: boolean | null; } | null
; indentation?: { hanging?: Length | null; hangingChars?: number | null; firstLine?: Length | null; firstLineChars?: number | null; start?: Length | null; startChars?: number | null; end?: Length | null; endChars?: number | null; } | null; borders?: null | { top?: null | Border<LineBorderType>; left?: null | Border<LineBorderType>; bottom?: null | Border<LineBorderType>; right?: null | Border<LineBorderType>; between?: null | Border<LineBorderType>; }; shading?: null | Shading; listItem?: null | { numbering?: null | number; depth?: null | number; }; change?: null | ({ id: number; author: string; date: Date; } & Omit<ParagraphProperties, "change">); pilcrow?: TextProperties | null; }