Word.Interfaces.ParagraphFormatLoadOptions interface
Represents a style of paragraph in a document.
Remarks
Properties
$all | Specifying |
alignment | Specifies the alignment for the specified paragraphs. |
first |
Specifies the value (in points) for a first line or hanging indent. Use a positive value to set a first-line indent, and use a negative value to set a hanging indent. |
keep |
Specifies whether all lines in the specified paragraphs remain on the same page when Microsoft Word repaginates the document. |
keep |
Specifies whether the specified paragraph remains on the same page as the paragraph that follows it when Microsoft Word repaginates the document. |
left |
Specifies the left indent. |
line |
Specifies the line spacing (in points) for the specified paragraphs. |
line |
Specifies the amount of spacing (in gridlines) after the specified paragraphs. |
line |
Specifies the amount of spacing (in gridlines) before the specified paragraphs. |
mirror |
Specifies whether left and right indents are the same width. |
outline |
Specifies the outline level for the specified paragraphs. |
right |
Specifies the right indent (in points) for the specified paragraphs. |
space |
Specifies the amount of spacing (in points) after the specified paragraph or text column. |
space |
Specifies the spacing (in points) before the specified paragraphs. |
widow |
Specifies whether the first and last lines in the specified paragraph remain on the same page as the rest of the paragraph when Microsoft Word repaginates the document. |
Property Details
$all
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
alignment
Specifies the alignment for the specified paragraphs.
alignment?: boolean;
Property Value
boolean
Remarks
firstLineIndent
Specifies the value (in points) for a first line or hanging indent. Use a positive value to set a first-line indent, and use a negative value to set a hanging indent.
firstLineIndent?: boolean;
Property Value
boolean
Remarks
keepTogether
Specifies whether all lines in the specified paragraphs remain on the same page when Microsoft Word repaginates the document.
keepTogether?: boolean;
Property Value
boolean
Remarks
keepWithNext
Specifies whether the specified paragraph remains on the same page as the paragraph that follows it when Microsoft Word repaginates the document.
keepWithNext?: boolean;
Property Value
boolean
Remarks
leftIndent
Specifies the left indent.
leftIndent?: boolean;
Property Value
boolean
Remarks
lineSpacing
Specifies the line spacing (in points) for the specified paragraphs.
lineSpacing?: boolean;
Property Value
boolean
Remarks
lineUnitAfter
Specifies the amount of spacing (in gridlines) after the specified paragraphs.
lineUnitAfter?: boolean;
Property Value
boolean
Remarks
lineUnitBefore
Specifies the amount of spacing (in gridlines) before the specified paragraphs.
lineUnitBefore?: boolean;
Property Value
boolean
Remarks
mirrorIndents
Specifies whether left and right indents are the same width.
mirrorIndents?: boolean;
Property Value
boolean
Remarks
outlineLevel
Specifies the outline level for the specified paragraphs.
outlineLevel?: boolean;
Property Value
boolean
Remarks
rightIndent
Specifies the right indent (in points) for the specified paragraphs.
rightIndent?: boolean;
Property Value
boolean
Remarks
spaceAfter
Specifies the amount of spacing (in points) after the specified paragraph or text column.
spaceAfter?: boolean;
Property Value
boolean
Remarks
spaceBefore
Specifies the spacing (in points) before the specified paragraphs.
spaceBefore?: boolean;
Property Value
boolean
Remarks
widowControl
Specifies whether the first and last lines in the specified paragraph remain on the same page as the rest of the paragraph when Microsoft Word repaginates the document.
widowControl?: boolean;
Property Value
boolean
Remarks
Office Add-ins