Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

New-OfficePowerPointHtmlOptions

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.PowerPoint.Html.PowerPointHtmlExportOptions

Creates native PowerPoint-to-HTML settings for Convert-OfficeDocument.

Syntax

New-OfficePowerPointHtmlOptions
[-IncludeHiddenShapes]
[-IncludeHiddenSlides]
[-NoDefaultStyles]
[-NoExtractionProof]
[-NoHeading]
[-NoMasterInventory]
[-NoNotes]
[-NoRenderDiagnostics]
[-NoSlideHeadings]
[-NoTables]
[-Profile <SemanticSlides|VisualReview>]
[-Theme <OfficeThemeInput>]
[-Title <String>]
[<CommonParameters>]
#
Parameter set: Default

Examples

Publish a deck with the Modern document theme.

$options = New-OfficePowerPointHtmlOptions -Theme Modern -NoNotes
Convert-OfficeDocument -Path ./Review.pptx -To Html -OutputPath ./Review.html -Options $options

Export a visual review without inventories or extraction proof.

$options = New-OfficePowerPointHtmlOptions -Profile VisualReview -NoMasterInventory -NoExtractionProof
Convert-OfficeDocument -Path ./Review.pptx -To Html -OutputPath ./Review.visual.html -Options $options

Parameters

-IncludeHiddenShapes SwitchParameter optional
Include shapes marked hidden.
-IncludeHiddenSlides SwitchParameter optional
Include slides marked hidden.
-NoDefaultStyles SwitchParameter optional
Omit the shared HTML stylesheet.
-NoExtractionProof SwitchParameter optional
Omit slide-aligned extraction proof.
-NoHeading SwitchParameter optional
Omit the visible document heading; the HTML title is retained.
-NoMasterInventory SwitchParameter optional
Omit the master, layout and theme inventory.
-NoNotes SwitchParameter optional
Omit speaker notes.
-NoRenderDiagnostics SwitchParameter optional
Omit visible visual-review render diagnostics.
-NoSlideHeadings SwitchParameter optional
Omit the heading before each slide.
-NoTables SwitchParameter optional
Omit table content.
-Profile PowerPointHtmlExportProfile optional
Semantic slide content or positioned visual review.
Possible values: SemanticSlides, VisualReview
-Theme OfficeThemeInput optional
Shared HTML theme: a built-in name, OfficeTheme or Office document template path. Defaults to Modern.
-Title String optional
Optional HTML document title.

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.