OfficeConverter 1.8.6
dotnet add package OfficeConverter --version 1.8.6
NuGet\Install-Package OfficeConverter -Version 1.8.6
<PackageReference Include="OfficeConverter" Version="1.8.6" />
<PackageVersion Include="OfficeConverter" Version="1.8.6" />
<PackageReference Include="OfficeConverter" />
paket add OfficeConverter --version 1.8.6
#r "nuget: OfficeConverter, 1.8.6"
#:package OfficeConverter@1.8.6
#addin nuget:?package=OfficeConverter&version=1.8.6
#tool nuget:?package=OfficeConverter&version=1.8.6
OfficeConverter
Convert Microsoft Office document to PDF (Office 2007 - 2016)
- Converts .DOC, .DOCM, .DOCX, .DOT, .DOTM, .ODT, .XLS, .XLSB, .XLSM, .XLSX, .XLT, .XLTM, .XLTX, .XLW, .ODS, .POT, .PPT, .POTM, .POTX, .PPS, .PPSM, .PPSX, .PPTM, .PPTX and .ODP files to PDF with the use of Microsoft Office
- Checks if the files are password protected without using Microsoft Office to speed up conversion
License Information
OfficeConverter is Copyright (C)2014-2025 Kees van Spelde and is licensed under the MIT license:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Installing via NuGet
The easiest way to install OfficeConverter is via NuGet.
In Visual Studio's Package Manager Console, simply enter the following command:
Install-Package OfficeConverter
Converting a file from code
using (var converter = new Converter())
{
converter.Convert(<inputfile>, <outputfile>);
}
Logging
From version 1.7.0 OfficeConverter uses the Microsoft ILogger interface (https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.ilogger?view=dotnet-plat-ext-5.0). You can use any logging library that uses this interface.
OfficeConverter has some build in loggers that can be found in the OfficeConverter.Logger namespace.
For example
var logger = !string.IsNullOrWhiteSpace(<some logfile>)
? new OfficeConverter.Loggers.Stream(File.OpenWrite(<some logfile>))
: new OfficeConverter.Loggers.Console();
Core Team
Sicos1977 (Kees van Spelde)
Support
If you like my work then please consider a donation as a thank you.
Reporting Bugs
Have a bug or a feature request? Please open a new issue.
Before opening a new issue, please search for existing issues to avoid submitting duplicates.
| 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 was computed. 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 was computed. 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 | net is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 is compatible. |
| 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.8.1
- Microsoft.Extensions.Logging (>= 10.0.3)
- Microsoft.Win32.Registry (>= 5.0.0)
- OpenMcdf (>= 3.1.0)
- PasswordProtectedChecker (>= 2.1.4)
- System.Drawing.Common (>= 10.0.3)
- System.Security.Cryptography.Pkcs (>= 10.0.3)
-
.NETStandard 2.0
- Microsoft.AspNetCore.SystemWebAdapters (>= 2.3.0)
- Microsoft.Extensions.Logging (>= 10.0.3)
- Microsoft.Win32.Registry (>= 5.0.0)
- OpenMcdf (>= 3.1.0)
- PasswordProtectedChecker (>= 2.1.4)
- System.Drawing.Common (>= 10.0.3)
- System.Security.Cryptography.Pkcs (>= 10.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Updated nuget packages
- Converted to .netstandard 2.0 package