Cmdlet
Add-OfficeOpenDocumentHeading
Adds a heading to an OpenDocument text document.
Syntax
Add-OfficeOpenDocumentHeading
[-Alignment <OfficeAlignment>]
[-Bold]
[-Color <OfficeColor>]
[-Document <OdtDocument>]
[-Font <String>]
[-Italic]
[-Level <Int32>]
[-PassThru]
[-Size <OfficeLength>]
[-Strikethrough]
[-Text] <String>
[-Underline <OdfTextDecorationStyle>]
[<CommonParameters>]#Parameter set:
DefaultExamples
Add a level-two heading inside an OpenDocument DSL.
Add-OfficeOpenDocumentHeading -Text 'Results' -Level 2Parameters
- -Alignment OfficeAlignment
- Paragraph horizontal alignment.
- Possible values:
Left,Center,Right,Justify,Start,End - -Bold SwitchParameter
- Apply bold text; explicit false clears it.
- -Color OfficeColor
- Opaque RGB text color, including CSS names and theme roles.
- -Document OdtDocument
- OpenDocument text document. Omit inside New-OfficeOpenDocument -Content.
- -Font String
- Font family.
- -Italic SwitchParameter
- Apply italic text; explicit false clears it.
- -Level Int32
- Heading level from 1 through 10.
- -PassThru SwitchParameter
- Emit the created heading paragraph.
- -Size OfficeLength
- Font size; a number means points.
- -Strikethrough SwitchParameter
- Apply strikethrough; explicit false clears it.
- -Text String
- Heading text.
- -Underline OdfTextDecorationStyle
- Native ODF underline line style.
- Possible values:
Solid,Dotted,Dash,LongDash,DotDash,DotDotDash,Wave
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.