Represents a paragraph in .

See

Hierarchy

Hierarchy

  • Base
    • FormattedTextParagraph

Implements

  • IFormattedRunOwner
  • IChangeInfoContext

Constructors

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get alignment(): HorizontalTextAlignment
  • Gets or sets the alignment of the paragraph.

    Returns HorizontalTextAlignment

  • set alignment(a): void
  • Parameters

    Returns void

  • get formattedText(): FormattedText
  • Gets the owning to which the paragraph belongs or null if the paragraph has been removed from its owning formatted text.

    Returns FormattedText

  • get startIndex(): number
  • Gets the zero-based index of the paragraph's first character in the overall formatted text.

    Returns number

  • set startIndex(a): void
  • Parameters

    • a: number

    Returns void

  • get unformattedString(): string
  • Gets or sets the raw string of the paragraph.

    If the new unformatted string assigned is shorter than the previous unformatted string, all formatting outside the range of the new value will be lost.

    The unformatted string.

    Throws

    [[ArgumentNullException]] The value assigned is a null string.

    Returns string

  • set unformattedString(a): void
  • Parameters

    • a: string

    Returns void

Methods

  • Parameters

    • other: any

    Returns boolean

  • Returns number

  • Returns Base

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns boolean

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns number

  • Parameters

    • a: any
    • b: any

    Returns boolean