Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

New-OfficePowerPointOpenDocumentOptions

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions

Creates PowerPoint/OpenDocument conversion settings.

Syntax

New-OfficePowerPointOpenDocumentOptions
[-LossPolicy <ReportOnly|ThrowOnSkippedOrUnsupported|ThrowOnAnyLoss>]
[-MaxTableColumns <Int32>]
[-MaxTableRows <Int32>]
[-NoBasicFormatting]
[-NoImages]
[-NoSpeakerNotes]
[<CommonParameters>]
#
Parameter set: Default

Examples

Omit notes from an OpenDocument presentation.

$options = New-OfficePowerPointOpenDocumentOptions -NoSpeakerNotes
Convert-OfficeDocument -Path ./Review.pptx -To OpenDocument -Options $options

Parameters

-LossPolicy OdfConversionLossPolicy optional
Gets or sets the ODF threshold: report only, reject skipped or unsupported content, or reject any degradation; omission retains the adapter default.
Possible values: ReportOnly, ThrowOnSkippedOrUnsupported, ThrowOnAnyLoss
-MaxTableColumns Int32 optional
Gets or sets the maximum number of columns in a converted table.
-MaxTableRows Int32 optional
Gets or sets the maximum number of rows in a converted table.
-NoBasicFormatting SwitchParameter optional
Gets or sets whether common fill, outline and run formatting is omitted.
-NoImages SwitchParameter optional
Gets or sets whether embedded images are omitted.
-NoSpeakerNotes SwitchParameter optional
Gets or sets whether speaker notes are omitted.

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.