Codeuctivity.PdfAValidator
3.0.245
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Codeuctivity.PdfAValidator --version 3.0.245
NuGet\Install-Package Codeuctivity.PdfAValidator -Version 3.0.245
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Codeuctivity.PdfAValidator" Version="3.0.245" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Codeuctivity.PdfAValidator --version 3.0.245
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Codeuctivity.PdfAValidator, 3.0.245"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Codeuctivity.PdfAValidator as a Cake Addin #addin nuget:?package=Codeuctivity.PdfAValidator&version=3.0.245 // Install Codeuctivity.PdfAValidator as a Cake Tool #tool nuget:?package=Codeuctivity.PdfAValidator&version=3.0.245
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- System.IO.Compression.ZipFile (>= 4.3.0)
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.258 | 2 | 9/30/2024 |
3.0.253 | 1 | 9/29/2024 |
3.0.248 | 1 | 8/27/2024 |
3.0.245 | 0 | 8/21/2024 |
3.0.242 | 0 | 8/20/2024 |
3.0.237 | 0 | 8/2/2024 |
3.0.234 | 1 | 5/22/2024 |
3.0.231 | 1 | 5/15/2024 |
3.0.228 | 0 | 5/13/2024 |
3.0.225 | 1 | 5/2/2024 |
3.0.222 | 1 | 3/26/2024 |
3.0.217 | 1 | 1/21/2024 |
3.0.214 | 1 | 12/12/2023 |
3.0.211 | 1 | 12/5/2023 |
3.0.206 | 1 | 11/17/2023 |
3.0.199 | 2 | 11/14/2023 |
3.0.195 | 0 | 10/24/2023 |
3.0.192 | 1 | 10/16/2023 |
3.0.187 | 2 | 9/30/2023 |
3.0.183 | 2 | 9/30/2023 |
2.4.173 | 2 | 9/19/2023 |
2.4.170 | 1 | 9/7/2023 |
2.4.167 | 2 | 9/7/2023 |
2.4.164 | 2 | 9/5/2023 |
2.4.161 | 2 | 7/17/2023 |
2.4.158 | 2 | 7/16/2023 |
2.4.149 | 1 | 5/13/2023 |
2.4.137 | 2 | 3/27/2023 |
2.4.134 | 2 | 2/13/2023 |
2.4.129 | 2 | 2/12/2023 |
2.4.127 | 2 | 2/12/2023 |
2.3.121 | 2 | 1/12/2023 |
2.3.118 | 1 | 12/26/2022 |
2.3.115 | 4 | 11/15/2022 |
2.3.111 | 2 | 11/13/2022 |
2.3.102 | 2 | 10/29/2022 |
2.3.99 | 2 | 10/28/2022 |
2.3.97 | 2 | 10/7/2022 |
2.3.92 | 5 | 9/27/2022 |
2.2.89-beta | 1 | 9/26/2022 |
2.2.82-beta | 2 | 9/16/2022 |
2.2.73 | 2 | 9/15/2022 |
2.2.59 | 2 | 7/28/2022 |
2.2.34 | 2 | 5/31/2022 |
2.2.31 | 2 | 5/31/2022 |
2.2.30 | 2 | 5/31/2022 |
2.2.24 | 2 | 4/6/2022 |
2.2.23 | 2 | 4/6/2022 |
2.2.22 | 2 | 4/6/2022 |
2.2.21 | 2 | 4/6/2022 |
2.2.13 | 2 | 2/2/2022 |
2.2.12 | 2 | 2/2/2022 |
2.2.11 | 2 | 1/28/2022 |
2.2.10 | 1 | 1/28/2022 |
2.2.7 | 1 | 1/21/2022 |
2.2.6 | 2 | 1/21/2022 |
2.2.4 | 1 | 1/21/2022 |
2.2.3 | 1 | 1/21/2022 |
2.0.15 | 2 | 2/15/2022 |
Merge pull request #111 from Codeuctivity/dependabot/nuget/Swashbuckle.AspNetCore-6.7.1
Bump Swashbuckle.AspNetCore from 6.7.0 to 6.7.1