| external help file | PSWriteOffice-help.xml |
|---|---|
| Module Name | PSWriteOffice |
| online version | https://github.com/EvotecIT/PSWriteOffice |
| schema | 2.0.0 |
Updates the table of contents in a Word document.
Update-OfficeWordTableOfContent [-TableOfContent <WordTableOfContent>] [-Regenerate] [-PassThru] [<CommonParameters>]Update-OfficeWordTableOfContent [-Document <WordDocument>] [-Regenerate] [-PassThru] [<CommonParameters>]Updates the table of contents in a Word document.
PS>Update-OfficeWordTableOfContentMarks TOC fields as dirty and updates the document settings.
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: TrueRebuild the table of contents before updating.
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: 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