Word.Interfaces.ParagraphFormatUpdateData interface
An interface for updating data on the ParagraphFormat
object, for use in paragraphFormat.set({ ... })
.
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. |
Specifies the alignment for the specified paragraphs.
alignment?: Word.Alignment | "Mixed" | "Unknown" | "Left" | "Centered" | "Right" | "Justified";
Property Value
Word.Alignment | "Mixed" | "Unknown" | "Left" | "Centered" | "Right" | "Justified"
Remarks
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?: number;
Property Value
number
Remarks
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
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
Specifies the left indent.
leftIndent?: number;
Property Value
number
Remarks
Specifies the line spacing (in points) for the specified paragraphs.
lineSpacing?: number;
Property Value
number
Remarks
Specifies the amount of spacing (in gridlines) after the specified paragraphs.
lineUnitAfter?: number;
Property Value
number
Remarks
Specifies the amount of spacing (in gridlines) before the specified paragraphs.
lineUnitBefore?: number;
Property Value
number
Remarks
Specifies whether left and right indents are the same width.
mirrorIndents?: boolean;
Property Value
boolean
Remarks
Specifies the outline level for the specified paragraphs.
outlineLevel?: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4" | "OutlineLevel5" | "OutlineLevel6" | "OutlineLevel7" | "OutlineLevel8" | "OutlineLevel9" | "OutlineLevelBodyText";
Property Value
Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4" | "OutlineLevel5" | "OutlineLevel6" | "OutlineLevel7" | "OutlineLevel8" | "OutlineLevel9" | "OutlineLevelBodyText"
Remarks
Specifies the right indent (in points) for the specified paragraphs.
rightIndent?: number;
Property Value
number
Remarks
Specifies the amount of spacing (in points) after the specified paragraph or text column.
spaceAfter?: number;
Property Value
number
Remarks
Specifies the spacing (in points) before the specified paragraphs.
spaceBefore?: number;
Property Value
number
Remarks
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 feedback
Office Add-ins is an open source project. Select a link to provide feedback: