| external help file | PSWriteOffice-help.xml |
|---|---|
| Module Name | PSWriteOffice |
| online version | https://github.com/EvotecIT/PSWriteOffice |
| schema | 2.0.0 |
Sets properties on a table of contents in a Word document.
Set-OfficeWordTableOfContent [-TableOfContent <WordTableOfContent>] [-Text <string>] [-TextNoContent <string>] [-PassThru] [<CommonParameters>]Set-OfficeWordTableOfContent [-Document <WordDocument>] [-Text <string>] [-TextNoContent <string>] [-PassThru] [<CommonParameters>]Sets properties on a table of contents in a Word document.
PS>Set-OfficeWordTableOfContent -Text 'Contents' -TextNoContent 'No entries'Updates the table of contents display text.
Document to update when provided explicitly.
Type: WordDocument
Parameter Sets: Document
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: TrueEmit the updated table of contents.
Type: SwitchParameter
Parameter Sets: TableOfContent, Document
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueTable of contents to update.
Type: WordTableOfContent
Parameter Sets: TableOfContent
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: TrueHeading text for the table of contents.
Type: String
Parameter Sets: TableOfContent, Document
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueText shown when the table of contents has no entries.
Type: String
Parameter Sets: TableOfContent, Document
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
OfficeIMO.Word.WordTableOfContent OfficeIMO.Word.WordDocument
OfficeIMO.Word.WordTableOfContent
- None