Interface PlacedTextParagraph

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

interface PlacedTextParagraph {
    align: HorizontalAlignment;
    bounds?: Bounds;
    bullet: IBullet;
    defaultFontSize: number;
    defaultTabSize: number;
    endParagraphSize: number;
    hangingIndent: number;
    indentLevel: number;
    leadingIndent: number;
    lineSpacing: number;
    rightMargin: number;
    runs: PlacedTextRun[];
    spacingAfter: number;
    spacingBefore: number;
    tabOverrides: TabStop[];
}

Hierarchy (view full)

Implemented by

Properties

bounds?: Bounds

Bounds is not copied during clone.

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
spacingAfter: number
spacingBefore: number
tabOverrides: TabStop[]