Interface ITextParagraph

Represents a collection of runs with specific information about white spacing before/after.

interface ITextParagraph {
    align: HorizontalAlignment;
    bullet: IBullet;
    defaultFontSize: number;
    defaultTabSize: number;
    endParagraphSize: number;
    hangingIndent: number;
    indentLevel: number;
    leadingIndent: number;
    lineSpacing: number;
    rightMargin: number;
    runs: ITextRun[];
    spacingAfter: number;
    spacingBefore: number;
    tabOverrides: TabStop[];
}

Hierarchy (view full)

Implemented by

Properties

bullet: IBullet
defaultFontSize: number

This is used if the run doesn't have a font or in the case where there is no run (Empty line)

defaultTabSize: number
endParagraphSize: number
hangingIndent: number
indentLevel: number
leadingIndent: number
lineSpacing: number
rightMargin: number
runs: ITextRun[]
spacingAfter: number
spacingBefore: number
tabOverrides: TabStop[]