Cmdlet
Add-OfficeOpenDocumentHeading
Adds a heading to an OpenDocument text document.
Syntax
Add-OfficeOpenDocumentHeading
[-Document <OdtDocument>]
[-Level <Int32>]
[-PassThru]
[-Text] <String>
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Add a level-two heading inside an OpenDocument DSL.
Add-OfficeOpenDocumentHeading -Text 'Results' -Level 2Parameters
- -Document OdtDocument
- OpenDocument text document. Omit inside New-OfficeOpenDocument -Content.
- -Level Int32
- Heading level from 1 through 10.
- -PassThru SwitchParameter
- Emit the created heading paragraph.
- -Text String
- Heading text.
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.