API Reference
Cmdlet
ConvertTo-OfficePdfWord
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
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 SetsParameters
- Force SwitchParameter
- Overwrite an existing output file.
- IgnorePermissionRestrictions SwitchParameter
- After successful authentication, explicitly ignore owner-imposed extraction restrictions.
- Open SwitchParameter
- Open the converted document after saving.
- Options PdfWordImportOptions
- Advanced OfficeIMO PDF-to-Word reconstruction options.
- OutputPath String
- Output DOCX path.
- PassThruReport SwitchParameter
- Return the detailed conversion report instead of file information.
- Password String
- Password used to authenticate an encrypted PDF.
- Path String
- Input PDF path.
Outputs
System.IO.FileInfo, OfficeIMO.Word.Pdf.PdfWordConversionReport