OfficeIMO.Pdf.Excel
3.6.1
Prefix Reserved
dotnet add package OfficeIMO.Pdf.Excel --version 3.6.1
NuGet\Install-Package OfficeIMO.Pdf.Excel -Version 3.6.1
<PackageReference Include="OfficeIMO.Pdf.Excel" Version="3.6.1" />
<PackageVersion Include="OfficeIMO.Pdf.Excel" Version="3.6.1" />
<PackageReference Include="OfficeIMO.Pdf.Excel" />
paket add OfficeIMO.Pdf.Excel --version 3.6.1
#r "nuget: OfficeIMO.Pdf.Excel, 3.6.1"
#:package OfficeIMO.Pdf.Excel@3.6.1
#addin nuget:?package=OfficeIMO.Pdf.Excel&version=3.6.1
#tool nuget:?package=OfficeIMO.Pdf.Excel&version=3.6.1
OfficeIMO.Pdf.Excel
Reconstruct Excel content from supported PDF pages.
dotnet add package OfficeIMO.Pdf.Excel
Import structured PDF data
using OfficeIMO;
using OfficeIMO.Pdf.Excel;
using OfficeIMO.Pdf;
PdfDocument pdf = PdfDocument.Load("statement.pdf");
OfficeConversionReport report = pdf.SaveAsExcel("statement-tables.xlsx");
foreach (OfficeDiagnostic finding in report.Diagnostics) {
Console.WriteLine($"{finding.Code}: {finding.Message}");
}
Console.WriteLine($"Non-table page content detected: {report.HasLoss}");
Import only selected PDF pages
using OfficeIMO;
using OfficeIMO.Pdf.Excel;
using OfficeIMO.Pdf;
PdfDocument pdf = PdfDocument.Load("bank-statement.pdf");
OfficeConversionReport report = pdf.SaveAsExcel(
"bank-statement-q1.xlsx",
new PdfExcelExportOptions {
ReadOptions = new PdfLoadOptions {
PageSelection = PdfPageSelection.Parse("1-3")
},
MaxRows = 250
});
Console.WriteLine($"Imported {report.ItemsWritten} table(s).");
report.ThrowIfLoss(); // rejects row truncation and non-table page content
ReadOptions also exposes the canonical Fast/Structured profile and semantic work limits for large or deliberately bounded imports. It is ignored when the source is already a PdfDocumentReadResult.
Tables without explicit header evidence retain all source rows, with generated Excel column names. If you have reviewed the source and confirmed its first row as headers, set UseFirstRowAsHeader = true. This applies to each logical table with unknown schema; tables with an established header keep their existing body boundary. The import excludes the confirmed header from type detection and MaxRows. Recognition results from standalone images and scanned PDFs use this same importer.
Set PreserveColumnProportions = true to retain the detected table's relative column widths, including quarter-turn tables. With the default AutoFitColumns = true, auto-fit supplies the total width and detected proportions determine each column's share. With AutoFitColumns = false, the total comes from worksheet default widths. If a mapped column would exceed Excel's 255-character width limit, one common scale reduces the total while retaining the proportions. The option is off by default. Missing or invalid geometry keeps the existing widths; the reconstructed worksheet retains the mapped widths. These widths use Excel character units and can leave individual values unfitted. They do not guarantee physical PDF dimensions, authored ruling boundaries, or exact printer geometry. PDF-to-ODS uses the same policy through the shared importer, with approximate spreadsheet unit conversion.
Compatible table segments continue across adjacent pages by default. The shared PDF table analysis classifies Boolean, percentage, date-time, time-only, currency, numeric, and text columns with confidence; the import options decide which detected families become typed Excel cells. Consistent currency columns become decimal cells and retain their detected symbol or ISO 4217 code, prefix or suffix placement, source spacing, and each cell's visible fractional precision in the Excel number format. Mixed currency tokens or affix conventions remain text so the import does not silently normalize their meaning.
Generated capability summary
This table is generated from the package-neutral OfficeIMO operation catalog. The detailed source contracts remain authoritative for feature-level behavior and limitations.
| Operation | Supported | Partial | Preserved | Rejected | Unsupported | Not applicable |
|---|---|---|---|---|---|---|
| Convert | 0 | 1 | 0 | 0 | 0 | 0 |
The complete rows for OfficeIMO.Pdf.Excel are published in the generated operation contract.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- OfficeIMO.Core (>= 3.6.1)
- OfficeIMO.Excel (>= 3.6.1)
- OfficeIMO.Pdf (>= 3.6.1)
-
.NETStandard 2.0
- OfficeIMO.Core (>= 3.6.1)
- OfficeIMO.Excel (>= 3.6.1)
- OfficeIMO.Pdf (>= 3.6.1)
-
net10.0
- OfficeIMO.Core (>= 3.6.1)
- OfficeIMO.Excel (>= 3.6.1)
- OfficeIMO.Pdf (>= 3.6.1)
-
net8.0
- OfficeIMO.Core (>= 3.6.1)
- OfficeIMO.Excel (>= 3.6.1)
- OfficeIMO.Pdf (>= 3.6.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on OfficeIMO.Pdf.Excel:
| Package | Downloads |
|---|---|
|
OfficeIMO.OpenDocument.Ods.Pdf
Bidirectional, loss-aware ODS and PDF conversion through the Excel semantic engine. |
|
|
OfficeIMO
Document conversion and resumable batches over the OfficeIMO format libraries. |
GitHub repositories
This package is not used by any popular GitHub repositories.