Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

New-OfficeOpenDocumentSaveOptions

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.OpenDocument.OdfSaveOptions

Creates native OdfSaveOptions settings for document operations.

Syntax

New-OfficeOpenDocumentSaveOptions
[-CompatibilityProfile <Odf14|Odf13|PreserveSource>]
[-EncryptionHandling <Preserve|Remove>]
[-NoDeterministic]
[-SignatureHandling <RejectInvalidation|RemoveInvalidated>]
[<CommonParameters>]
#
Parameter set: Default

Examples

Create default settings.

$options = New-OfficeOpenDocumentSaveOptions

Parameters

-CompatibilityProfile OdfCompatibilityProfile optional
CompatibilityProfile override; omission preserves the native default.
Possible values: Odf14, Odf13, PreserveSource
-EncryptionHandling OdfEncryptionHandling optional
EncryptionHandling override; omission preserves the native default.
Possible values: Preserve, Remove
-NoDeterministic SwitchParameter optional
NoDeterministic override; omission preserves the native default.
-SignatureHandling OdfSignatureHandling optional
SignatureHandling override; omission preserves the native default.
Possible values: RejectInvalidation, RemoveInvalidated

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.