Codeuctivity.PdfAValidator
3.0.189
Prefix Reserved
See the version list below for details.
dotnet add package Codeuctivity.PdfAValidator --version 3.0.189
NuGet\Install-Package Codeuctivity.PdfAValidator -Version 3.0.189
<PackageReference Include="Codeuctivity.PdfAValidator" Version="3.0.189" />
paket add Codeuctivity.PdfAValidator --version 3.0.189
#r "nuget: Codeuctivity.PdfAValidator, 3.0.189"
// Install Codeuctivity.PdfAValidator as a Cake Addin #addin nuget:?package=Codeuctivity.PdfAValidator&version=3.0.189 // Install Codeuctivity.PdfAValidator as a Cake Tool #tool nuget:?package=Codeuctivity.PdfAValidator&version=3.0.189
Codeuctivity.PdfAValidator
PdfAValidatorApi wraps calls to VeraPdf in a .net standard assembly and as WebApi. Access VeraPdf from your unit tests. Works on Windows, Linux and MacOs.
Sample - e.g. use it in your unit test to check compliance of some pdf:
public static async Task ShouldDetectCompliantPdfA()
{
using var pdfAValidator = new PdfAValidator();
var result = await pdfAValidator.ValidateAsync("./TestPdfFiles/FromLibreOffice.pdf");
Assert.True(result);
}
Sample - e.g. use it in your unit test to check the used sub standard of some pdf:
public static async Task ShouldGetDetailedReportFromPdfA()
{
using var pdfAValidator = new PdfAValidator();
var result = await pdfAValidator.ValidateWithDetailedReportAsync("./TestPdfFiles/FromLibreOffice.pdf");
Assert.True(result.Jobs.Job.ValidationReport.IsCompliant);
Assert.True(result.Jobs.Job.ValidationReport.ProfileName == "PDF/A-1A validation profile");
}
Sample - e.g. use it in your unit test to check PDF meta data:
public static async Task ShouldGetFeaturesReportWhenAskingForIt()
{
using var pdfAValidator = new PdfAValidator();
var result = await pdfAValidator.ValidateWithDetailedReportAsync("./TestPdfFiles/FromLibreOffice.pdf", "--extract informationDict");
var producerEntry = result.Jobs.Job.FeaturesReport.InformationDict.Entries.Single(e => e.Key == "Producer");
Assert.Equal("LibreOffice 6.1", producerEntry.Value);
}
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. |
.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 was computed. 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. |
-
.NETStandard 2.0
- System.IO.Compression.ZipFile (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.208 | 1,622 | 11/17/2023 |
3.0.189 | 1,108 | 9/30/2023 |
2.4.131 | 2,550 | 2/12/2023 |
2.3.104 | 8,690 | 10/29/2022 |
2.3.94 | 738 | 9/27/2022 |
2.2.84-beta | 274 | 9/19/2022 |
2.2.79-beta | 318 | 9/15/2022 |
2.2.32 | 1,185 | 5/31/2022 |
2.2.25 | 967 | 4/6/2022 |
2.2.14 | 918 | 2/2/2022 |
2.2.8 | 785 | 1/21/2022 |
2.0.16 | 1,288 | 2/15/2022 |
Bumped VeraPdf 1.22.3 -> 1.24.1
Breaking change - extract options are now mandatory e.g. use '--extract informationDict' instead of '--extract'
Max supported temp path length increased
- .net 4.x: 55 chars
- .net 6.x windows: 201 chars
- .net 6.x linux: 260 chars