Some test text!

Discord Logo

Chat with us

PDFTron is now Apryse, learn more here.

Go / Guides

Platform


Documentation


PDFTron is now Apryse, learn more here.

Convert PDF to Office in Go

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 := NewWordOutputOptions()

// Optionally convert only the first page
wordOutputOptions.SetPages(1, 1)

// Requires the Structured Output module
ConvertToWord(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 := NewExcelOutputOptions()

// Optionally convert only the first page
excelOutputOptions.SetPages(1, 1)

// Requires the Structured Output module
ConvertToExcel(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 := NewPowerPointOutputOptions()

// Optionally convert only the first page
powerPointOutputOptions.SetPages(1, 1)

// Requires the Structured Output module
ConvertToPowerPoint(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