API Reference

Cmdlet

New-OfficePdfWordImportOptions

Namespace PSWriteOffice
Inputs
None
Outputs
OfficeIMO.Word.Pdf.PdfWordImportOptions

Creates discoverable PDF-to-Word reconstruction settings.

Remarks

Creates discoverable PDF-to-Word reconstruction settings.

Examples

Authored help example

Reconstruct headings, paragraphs, lists, and tables.

PS>


$options = New-OfficePdfWordImportOptions -ImportHeadings -ImportParagraphs -ImportLists -ImportTables
            ConvertTo-OfficePdfWord -Path .\Source.pdf -OutputPath .\Rebuilt.docx -Options $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-OfficePdfWordImportOptions [-AlignNumericColumns] [-AllowedHyperlinkUriScheme <String[]>] [-BookmarkPrefix <String>] [-EmptyDocumentMessage <String>] [-FitTablesToPageWidth] [-ImportHeadings] [-ImportImages] [-ImportInternalLinks] [-ImportLists] [-ImportParagraphs] [-ImportTables] [-ImportUriLinks] [-IncludeEmptyPages] [-IncludeFormFieldPlaceholders] [-IncludeImagePlaceholders] [-IncludeMetadata] [-MaxTableRows <Int32>] [-PreserveImagePlacementSize] [-PreservePageBreaks] [-RepeatHeaderRows] [-TablesOnly] [-TableStyle <TableNormal>] [-UseSharedPageReadingOrder] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

AlignNumericColumns SwitchParameter optionalposition: namedpipeline: False
Right-align inferred numeric columns.
AllowedHyperlinkUriScheme String[] optionalposition: namedpipeline: False
Allowed absolute hyperlink URI schemes.
BookmarkPrefix String optionalposition: namedpipeline: False
Prefix for generated Word bookmarks.
EmptyDocumentMessage String optionalposition: namedpipeline: False
Text used when no supported content is detected.
FitTablesToPageWidth SwitchParameter optionalposition: namedpipeline: False
Fit imported tables to page width.
ImportHeadings SwitchParameter optionalposition: namedpipeline: False
Import detected headings.
ImportImages SwitchParameter optionalposition: namedpipeline: False
Import supported embedded images.
ImportInternalLinks SwitchParameter optionalposition: namedpipeline: False
Import supported internal links.
ImportLists SwitchParameter optionalposition: namedpipeline: False
Import detected lists.
ImportParagraphs SwitchParameter optionalposition: namedpipeline: False
Import detected paragraphs.
ImportTables SwitchParameter optionalposition: namedpipeline: False
Import detected tables.
ImportUriLinks SwitchParameter optionalposition: namedpipeline: False
Import safe URI links.
IncludeEmptyPages SwitchParameter optionalposition: namedpipeline: False
Represent empty PDF pages.
IncludeFormFieldPlaceholders SwitchParameter optionalposition: namedpipeline: False
Represent AcroForm widgets with editable placeholders.
IncludeImagePlaceholders SwitchParameter optionalposition: namedpipeline: False
Use paragraphs when an image cannot be embedded.
IncludeMetadata SwitchParameter optionalposition: namedpipeline: False
Copy PDF metadata into Word properties.
MaxTableRows Int32 optionalposition: namedpipeline: False
Maximum body rows imported per table; zero means unlimited.
PreserveImagePlacementSize SwitchParameter optionalposition: namedpipeline: False
Preserve detected image placement size.
PreservePageBreaks SwitchParameter optionalposition: namedpipeline: False
Represent source pages with Word page breaks.
RepeatHeaderRows SwitchParameter optionalposition: namedpipeline: False
Repeat inferred table header rows.
TablesOnly SwitchParameter optionalposition: namedpipeline: False
Use the built-in tables-only import profile.
TableStyle WordTableStyle optionalposition: namedpipeline: Falsevalues: 105
Word table style for imported tables.
Possible values: TableNormal, TableGrid, PlainTable1, PlainTable2, PlainTable3, PlainTable4, PlainTable5, GridTable1Light, GridTable1LightAccent1, GridTable1LightAccent2, GridTable1LightAccent3, GridTable1LightAccent4, GridTable1LightAccent5, GridTable1LightAccent6, GridTable2, GridTable2Accent1, GridTable2Accent2, GridTable2Accent3, GridTable2Accent4, GridTable2Accent5, GridTable2Accent6, GridTable3, GridTable3Accent1, GridTable3Accent2, GridTable3Accent3, GridTable3Accent4, GridTable3Accent5, GridTable3Accent6, GridTable4, GridTable4Accent1, GridTable4Accent2, GridTable4Accent3, GridTable4Accent4, GridTable4Accent5, GridTable4Accent6, GridTable5Dark, GridTable5DarkAccent1, GridTable5DarkAccent2, GridTable5DarkAccent3, GridTable5DarkAccent4, GridTable5DarkAccent5, GridTable5DarkAccent6, GridTable6Colorful, GridTable6ColorfulAccent1, GridTable6ColorfulAccent2, GridTable6ColorfulAccent3, GridTable6ColorfulAccent4, GridTable6ColorfulAccent5, GridTable6ColorfulAccent6, GridTable7Colorful, GridTable7ColorfulAccent1, GridTable7ColorfulAccent2, GridTable7ColorfulAccent3, GridTable7ColorfulAccent4, GridTable7ColorfulAccent5, GridTable7ColorfulAccent6, ListTable1Light, ListTable1LightAccent1, ListTable1LightAccent2, ListTable1LightAccent3, ListTable1LightAccent4, ListTable1LightAccent5, ListTable1LightAccent6, ListTable2, ListTable2Accent1, ListTable2Accent2, ListTable2Accent3, ListTable2Accent4, ListTable2Accent5, ListTable2Accent6, ListTable3, ListTable3Accent1, ListTable3Accent2, ListTable3Accent3, ListTable3Accent4, ListTable3Accent5, ListTable3Accent6, ListTable4, ListTable4Accent1, ListTable4Accent2, ListTable4Accent3, ListTable4Accent4, ListTable4Accent5, ListTable4Accent6, ListTable5Dark, ListTable5DarkAccent1, ListTable5DarkAccent2, ListTable5DarkAccent3, ListTable5DarkAccent4, ListTable5DarkAccent5, ListTable5DarkAccent6, ListTable6Colorful, ListTable6ColorfulAccent1, ListTable6ColorfulAccent2, ListTable6ColorfulAccent3, ListTable6ColorfulAccent4, ListTable6ColorfulAccent5, ListTable6ColorfulAccent6, ListTable7Colorful, ListTable7ColorfulAccent1, ListTable7ColorfulAccent2, ListTable7ColorfulAccent3, ListTable7ColorfulAccent4, ListTable7ColorfulAccent5, ListTable7ColorfulAccent6
UseSharedPageReadingOrder SwitchParameter optionalposition: namedpipeline: False
Use the crop-, rotation-, and column-aware reading order.

Outputs

OfficeIMO.Word.Pdf.PdfWordImportOptions