OfficeIMO

API Reference

Command

Add-OfficeWordList

Namespace PSWriteOffice
Inputs
None
Outputs
System.Object

Starts a list inside the current section or paragraph anchor.

Remarks

Starts a list inside the current section or paragraph anchor.

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 Sets

Parameters

Content ScriptBlock optionalposition: 0pipeline: False
Scriptblock executed within the list scope.
Style WordListStyle optionalposition: 1pipeline: Falsealiases: Typevalues: 14
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