API Reference

Cmdlet

ConvertTo-OfficePdfWord

Aliases: ConvertTo-PdfWord
Namespace PSWriteOffice
Aliases
ConvertTo-PdfWord
Inputs
System.String
Outputs
System.IO.FileInfo OfficeIMO.Word.Pdf.PdfWordConversionReport

Reconstructs editable Word content from a PDF.

Remarks

Uses OfficeIMO's semantic PDF reader to recover supported headings, paragraphs, lists, tables, links, images, metadata, and page breaks.

Examples

Authored help example

Convert a PDF to an editable Word document.

PS>


ConvertTo-OfficePdfWord -Path .\Report.pdf -OutputPath .\Report.docx
        

Writes a DOCX document and returns its file information.

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

ConvertTo-OfficePdfWord [-Force] [-IgnorePermissionRestrictions] [-Open] [-Options <PdfWordImportOptions>] -OutputPath <String> [-PassThruReport] [-Password <String>] -Path <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Force SwitchParameter optionalposition: namedpipeline: False
Overwrite an existing output file.
IgnorePermissionRestrictions SwitchParameter optionalposition: namedpipeline: False
After successful authentication, explicitly ignore owner-imposed extraction restrictions.
Open SwitchParameter optionalposition: namedpipeline: False
Open the converted document after saving.
Options PdfWordImportOptions optionalposition: namedpipeline: False
Advanced OfficeIMO PDF-to-Word reconstruction options.
OutputPath String requiredposition: 1pipeline: Falsealiases: OutPath
Output DOCX path.
PassThruReport SwitchParameter optionalposition: namedpipeline: False
Return the detailed conversion report instead of file information.
Password String optionalposition: namedpipeline: False
Password used to authenticate an encrypted PDF.
Path String requiredposition: 0pipeline: True (ByValue)aliases: FilePath
Input PDF path.

Outputs

System.IO.FileInfo, OfficeIMO.Word.Pdf.PdfWordConversionReport