PDF2Office Components and Deployment
Estimated Reading Time: 3 MinutesThis article applies to Windows 64 and Linux x86_64 versions of Datalogics Adobe PDF Library (APDFL) 21. Feature availability, component filenames, file sizes, and deployment requirements may differ on other platforms or in other APDFL versions.
Description
PDF2Office converts PDF documents to Microsoft Word, Excel, and PowerPoint formats. It makes PDF content available in formats commonly used for editing and business work.
Typical uses include preparing a PDF document for revision, bringing tabular information into a spreadsheet, or reusing presentation content. This capability supports workflows that need editable Office output from existing PDFs.
Samples
The installed sample is located at:
CPlusPlus\Sample_Source\DocumentConversion\ConvertToOffice\ConvertToOffice.cpp
It converts the supplied Word.pdf, Excel.pdf, and PowerPoint.pdf inputs to DOCX, XLSX, and PPTX using ConvertPDFToWord, ConvertPDFToExcel, and ConvertPDFToPowerPoint.
Public sample (github): ConvertToOffice
Files
Paths are relative to the SDK root. Sizes are uncompressed file lengths, rounded to two decimal places. Sizes and savings may vary by SDK build.
Windows
| File or directory | Size (MB) |
| CPlusPlus\Binaries\fpdfconversionsdk_c_win64.dll | 114.12 |
This DLL provides the PDF-to-Office conversion backend. No additional exclusive runtime dependency was identified for omission with this DLL.
Linux x86_64
This library supplies the PDF2Office conversion backend used by the CPlusPlus conversion APIs. There is no separate Office conversion plug-in family in the tested Linux package.
All paths are relative to the SDK root. Sizes use 1 MB = 1,000,000 bytes; totals are calculated from exact byte counts before rounding. Symbolic links identify the same underlying binary and are not counted again.
| File or directory | Size (MB) |
| CPlusPlus/Binaries/libfpdfconversionsdk_c_linux64.so | 143.10 |
Omitting the Feature When Unused
Windows
If PDF-to-Office conversion is unused, omit fpdfconversionsdk_c_win64.dll to save 114.12 MB.
The DLL can be omitted when no retained workflow converts PDF to Word, Excel, or PowerPoint. Tested PDF opening, text extraction, rendering, saving, reopening, and library shutdown succeeded without it, with matching results across the supplied document and transparency inputs.
Positive tests generated all three Office formats. Their ZIP packages contained the expected Office document parts and parseable XML. These checks establish successful generation, rather than visual fidelity for every input.
Linux x86_64
When PDF-to-Office conversion is not used, omit:
- CPlusPlus/Binaries/libfpdfconversionsdk_c_linux64.so
This saves 143.10 MB. With the listed exclusive components absent, APDFL initialization, PDF opening, text extraction, rendering, saving, reopening, and termination succeeded on the tested inputs. Word counts, rendered-image hashes, and document measurements matched the corresponding baseline. No other component was removed for this feature.
Retain the APDFL core libraries and document resources. Removing this conversion backend does not remove the ability to process existing PDFs.
Application considerations
Windows
The conversion functions belong to the shared DLExtras interface. Its function table remains available when the Office conversion DLL is absent, so DLExtras availability is not a PDF2Office readiness test.
Calling a conversion function without the DLL raised APDFL error 0x300c0000: "Office conversion library not available." After the harness handled that error, core PDF processing continued successfully in the same process. A deployment without PDF2Office must avoid these conversion calls or handle unavailable-feature requests explicitly.
The backend may be loaded during APDFL initialization even when conversion is unused; a loaded-module listing alone does not establish that the DLL is required. Retain APDFL core dependencies and required font, CMap, Unicode, and color-profile resources. Validate the final product's retained workflows in an isolated deployment.
Linux x86_64
The CPlusPlus entry points `ConvertPDFToWord()`, `ConvertPDFToExcel()`, and `ConvertPDFToPowerPoint()` are accessed through DLExtras. Check that the DLExtras HFT and the required interface version are available, but do not treat that check as proof that the Office backend is installed. DLExtras remains present when this library is omitted.
With the backend absent, all three conversion requests raised the APDFL error “Office conversion library not available.” Exception handling allowed the same process to continue ordinary PDF processing. Gate conversion on the deployed capability, check its result, handle exceptions, and release documents and paths before APDFL termination.
How to Get Additional Help
Contact Datalogics Tech Support
Fetch the answers quickly using our AI assistant Scout, available for any language. Scout also opens access to our MCP server, connecting APDFL with your favorite AI tools for faster and easier coding.