Some test text!

Loading...
Guides

Convert PDF to Office in Ruby

To convert PDF Documents to Word format.

The Structured Output module is an optional add-on
Only available on Desktop and Server (Windows, Linux, or Mac)
You can find more details about how to install the Structured Output module here .
$wordOutputOptions = Convert::WordOutputOptions.new()

# Optionally convert only the first page
$wordOutputOptions.SetPages(1, 1);

# Requires the Structured Output module
Convert.toWord(filename, output_filename, $wordOutputOptions)

To convert PDF Documents to Excel format.

The Structured Output module is an optional add-on
Only available on Desktop and Server (Windows, Linux, or Mac)
You can find more details about how to install the Structured Output module here .
$excelOutputOptions = Convert::ExcelOutputOptions.new()

# Optionally convert only the first page
$excelOutputOptions.SetPages(1, 1);

# Requires the Structured Output module
Convert.toExcel(filename, output_filename, $excelOutputOptions)

To convert PDF Documents to PowerPoint format.

The Structured Output module is an optional add-on
Only available on Desktop and Server (Windows, Linux, or Mac)
You can find more details about how to install the Structured Output module here .
$powerPointOutputOptions = Convert::PowerPointOutputOptions.new()

# Optionally convert only the first page
$powerPointOutputOptions.SetPages(1, 1);

# Requires the Structured Output module
Convert.toPowerPoint(filename, output_filename, $powerPointOutputOptions)

Convert PDF to Office
Full sample code which shows how to convert generic PDF documents to Word, Excel, PowerPoint format

Get the answers you need: Support

Upcoming Webinar: SDK Features Preview and Live Run-Through | July 14, 2022 at 11 am PT

PDFTron SDK

The Platform

NEW

© 2022 PDFTron Systems Inc. All rights reserved.

Privacy

Terms of Use