Whether this wrapper still refers to a live engine object.
UTF-8 byte length of the paragraph's flat text.
Horizontal alignment (see Alignment).
Paragraph style ordinal (see ParagraphStyle).
Discrete list/indent level.
Space above the paragraph, in pixels at 96dpi.
Space below the paragraph, in pixels at 96dpi.
Number of formatting runs in the paragraph.
The paragraph's text as a string.
Allocates a string; prefer Paragraph.getText with a buffer in hot loops.
Reference equality is the identity test — prefer a === b. This is retained only for
the rare cross-realm case where two wrappers describe the same handle by value. Reads the
raw index so comparing a stale wrapper never throws.
A readable identity for logs and diagnostics, never [object Object].
Read the paragraph text: with no argument, returns a string; with a buffer, fills it with UTF-8 and returns the full byte length (which may exceed the buffer).
Read the paragraph text: with no argument, returns a string; with a buffer, fills it with UTF-8 and returns the full byte length (which may exceed the buffer).
The run covering byte offset byteOffset (its formatting is the formatting at that
byte). Returns null for an out-of-range offset.
Set this paragraph's style, scoping the caret to it first (see ParagraphStyle).
Select the whole paragraph.
Set paragraph spacing: space before/after in pixels, and a line-height multiple.
Set paragraph indents in pixels: left, right, and first-line (relative to left).
Set the keep-together / keep-with-next flags (a bitmask).
Set paragraph borders on the given edges.
Force (or clear) a page break before this paragraph.
Set the list style (a paragraph style + list-style ordinal).
Set the list level and its starting number.
Add a tab stop at position pixels with the given alignment and leader style.
Add a hyperlink over the byte range [start, end); returns its id.
Add a bookmark over the byte range [start, end); returns its id.
Attach an image-wrap mode to this (image) paragraph.
Float this (image) paragraph at the given position and size, in pixels.
A paragraph of the document, addressed by its index in the body. Cheap state is exposed as property getters read straight from the engine; navigation returns cached wrappers; the authoring mutators chain.