API Reference

Cmdlet

New-OfficePowerPointOpenDocumentOptions

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

Creates PowerPoint/OpenDocument conversion settings.

Remarks

Creates PowerPoint/OpenDocument conversion settings.

Examples

Authored help example

Include slide images, notes, and basic formatting.

PS>


$options = New-OfficePowerPointOpenDocumentOptions -IncludeImages -IncludeSpeakerNotes -IncludeBasicFormatting
            ConvertTo-OfficeOpenDocument -Path .\Deck.pptx -OutputPath .\Deck.odp -PowerPointOptions $options
        

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.

Syntax

New-OfficePowerPointOpenDocumentOptions [-IncludeBasicFormatting] [-IncludeImages] [-IncludeSpeakerNotes] [-LossPolicy <ReportOnly|ThrowOnSkippedOrUnsupported|ThrowOnAnyLoss>] [-MaxTableColumns <Int32>] [-MaxTableRows <Int32>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

IncludeBasicFormatting SwitchParameter optionalposition: namedpipeline: False
Copy common fills, outlines, and text-run formatting.
IncludeImages SwitchParameter optionalposition: namedpipeline: False
Copy supported embedded images.
IncludeSpeakerNotes SwitchParameter optionalposition: namedpipeline: False
Copy plain speaker-note text.
LossPolicy OdfConversionLossPolicy optionalposition: namedpipeline: Falsevalues: 3
Whether conversion loss is reported or rejected.
Possible values: ReportOnly, ThrowOnSkippedOrUnsupported, ThrowOnAnyLoss
MaxTableColumns Int32 optionalposition: namedpipeline: False
Maximum columns in converted presentation tables.
MaxTableRows Int32 optionalposition: namedpipeline: False
Maximum rows in converted presentation tables.

Outputs

OfficeIMO.PowerPoint.OpenDocument.PowerPointOpenDocumentConversionOptions