# New-OfficeWordOpenDocumentOptions

Creates Word/OpenDocument conversion settings. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice Cmdlet Reference.

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`None`

**Outputs**

`OfficeIMO.Word.OpenDocument.WordOpenDocumentConversionOptions`

**Source**

[NewOfficeWordOpenDocumentOptionsCommand.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/OpenDocument/NewOfficeWordOpenDocumentOptionsCommand.cs#L16) 

Creates Word/OpenDocument conversion settings.

## Syntax

```
New-OfficeWordOpenDocumentOptions
[-LossPolicy <ReportOnly|ThrowOnSkippedOrUnsupported|ThrowOnAnyLoss>]
[-NoHeadersAndFooters]
[-NoImages]
[<CommonParameters>]
```

[#](#method-new-officewordopendocumentoptions-odfconversionlosspolicy-switchparameter-switchparameter)

Parameter set: `Default`

## Guides & Samples

Authored walkthroughs and practical samples linked to this command.

- [Open Formats and Text Automation](/docs/pswriteoffice/open-text-formats/) Guide
  
  Use the smaller PSWriteOffice families for text, interchange, open formats, and managed message workflows. Includes examples and cmdlet links.
- [Convert OpenDocument to and from Office](/docs/open-document/convert-office/) Guide
  
  Convert ODT to DOCX, ODS to XLSX and ODP to PPTX and back, and read the per-feature report of what was mapped, approximated or lost.

## Examples

### Include Word images and headers during conversion.

```powershell
$options = New-OfficeWordOpenDocumentOptions -NoImages -NoHeadersAndFooters
Convert-OfficeDocument -Path .\Report.docx -To OpenDocument -OutputPath .\Report.odt -Options $options
```

## Parameters

**-LossPolicy OdfConversionLossPolicy optional**

Whether conversion loss is reported or rejected.

Possible values: `ReportOnly`, `ThrowOnSkippedOrUnsupported`, `ThrowOnAnyLoss`

**-NoHeadersAndFooters SwitchParameter optional**

Copy default headers and footers.

**-NoImages SwitchParameter optional**

Copy supported inline images.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:0056BC920AB8720008CA848818125399A9EAAB8CA92C86C1A9105AC155A7A05E -->
