API Reference
Cmdlet
Add-OfficeWordList
Starts a list inside the current section or paragraph anchor.
Remarks
Creates a temporary anchor paragraph, spawns an OfficeIMO list, and runs child WordListItem commands.
Examples
Numbered checklist.
PS>
Add-OfficeWordList -Style 'Numbered' { Add-OfficeWordListItem -Text 'Plan'; Add-OfficeWordListItem -Text 'Execute' }
Creates a numbered list with two steps.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Add-OfficeWordList [-Content <ScriptBlock>] [-Style <Bulleted>] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- Content ScriptBlock
- Scriptblock executed within the list scope.
- Style WordListStyle
- Built-in list style or custom numbering scheme.
- Possible values:
Bulleted,ArticleSections,Headings111,HeadingIA1,Chapters,BulletedChars,Heading1ai,Headings111Shifted,LowerLetterWithBracket,LowerLetterWithDot,UpperLetterWithDot,UpperLetterWithBracket,Custom,Numbered
Outputs
System.Object