Skip to content

Commit

Permalink
[RELEASE] iText 7 pdfOCR 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iText-CI committed Apr 26, 2023
2 parents 34d0ba6 + 9f19a69 commit 394a1c6
Show file tree
Hide file tree
Showing 111 changed files with 362 additions and 378 deletions.
2 changes: 1 addition & 1 deletion doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.

PROJECT_NAME = "pdfOCR 2.0.2 API"
PROJECT_NAME = "pdfOCR 3.0.0 API"

# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
Expand Down
10 changes: 5 additions & 5 deletions itext.tests/itext.pdfocr.api.tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
[assembly: AssemblyTitle("iText.Pdfocr.Api.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("iText Group NV")]
[assembly: AssemblyCompany("Apryse Group NV")]
[assembly: AssemblyProduct("iText")]
[assembly: AssemblyCopyright ("Copyright (c) 1998-2022 iText Group NV")]
[assembly: AssemblyCopyright ("Copyright (c) 1998-2023 Apryse Group NV")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: Guid("d6a6ea97-1f23-448f-b700-eff62971d234")]

[assembly: AssemblyVersion("2.0.2.0")]
[assembly: AssemblyFileVersion("2.0.2.0")]
[assembly: AssemblyInformationalVersion("2.0.2")]
[assembly: AssemblyVersion("3.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
[assembly: AssemblyInformationalVersion("3.0.0")]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup>
<RootNamespace>itext.pdfocr.api.tests</RootNamespace>
Expand All @@ -25,7 +25,9 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')" />
<PackageReference Include="itext7.pdftest" Version="7.2.4" Condition="!Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')" />
<PackageReference Include="itext7.pdftest" Version="8.0.0" Condition="!Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')" />
<ProjectReference Include="..\..\..\itextcore\itext\itext.bouncy-castle-adapter\itext.bouncy-castle-adapter.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.bouncy-castle-adapter\itext.bouncy-castle-adapter.csproj')" />
<PackageReference Include="itext7.bouncy-castle-adapter" Version="8.0.0" Condition="!Exists('..\..\..\itextcore\itext\itext.bouncy-castle-adapter\itext.bouncy-castle-adapter.csproj')" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.0" />
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1">
Expand Down
6 changes: 3 additions & 3 deletions itext.tests/itext.pdfocr.api.tests/itext/pdfocr/ApiTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down Expand Up @@ -37,7 +37,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Attributes;

namespace iText.Pdfocr {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class ApiTest : ExtendedITextTest {
public static readonly String DESTINATION_FOLDER = NUnit.Framework.TestContext.CurrentContext.TestDirectory
+ "/test/itext/pdfocr";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down Expand Up @@ -33,7 +33,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test;

namespace iText.Pdfocr {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class OcrPdfCreatorEventHelperTest : ExtendedITextTest {
private static readonly ProductData DUMMY_PRODUCT_DATA = new ProductData("test-product", "inner_product",
"1.0.0", 1900, 2100);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand All @@ -26,7 +26,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test;

namespace iText.Pdfocr {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class OcrProcessContextTest : ExtendedITextTest {
[NUnit.Framework.Test]
public virtual void SetOcrEventHelperTest() {
Expand Down
6 changes: 3 additions & 3 deletions itext.tests/itext.pdfocr.api.tests/itext/pdfocr/PdfA3uTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down Expand Up @@ -36,7 +36,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Attributes;

namespace iText.Pdfocr {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class PdfA3uTest : ExtendedITextTest {
[NUnit.Framework.Test]
public virtual void TestPdfA3uWithNullIntent() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down Expand Up @@ -31,7 +31,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Attributes;

namespace iText.Pdfocr {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class PdfCreatorUtilTest : ExtendedITextTest {
[NUnit.Framework.Test]
public virtual void GetImageDataFromValidSinglePagedTiffTest() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down Expand Up @@ -34,7 +34,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Attributes;

namespace iText.Pdfocr {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class PdfFontTest : ExtendedITextTest {
[NUnit.Framework.Test]
public virtual void TestFontColor() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down Expand Up @@ -29,7 +29,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Attributes;

namespace iText.Pdfocr {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class PdfInputImageTest : ExtendedITextTest {
[LogMessage(PdfOcrLogMessageConstant.CANNOT_READ_INPUT_IMAGE)]
[NUnit.Framework.Test]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down Expand Up @@ -30,7 +30,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test;

namespace iText.Pdfocr {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class PdfLayersTest : ExtendedITextTest {
[NUnit.Framework.Test]
public virtual void TestPdfLayersWithDefaultNames() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand All @@ -24,7 +24,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test;

namespace iText.Pdfocr {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class PdfOcrMetaInfoContainerTest : ExtendedITextTest {
[NUnit.Framework.Test]
public virtual void Test() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down Expand Up @@ -30,7 +30,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test;

namespace iText.Pdfocr {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class ScaleModeTest : ExtendedITextTest {
private const float DELTA = 1e-4f;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand All @@ -24,7 +24,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test;

namespace iText.Pdfocr.Exceptions {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class PdfOcrExceptionTest : ExtendedITextTest {
[NUnit.Framework.Test]
public virtual void OcrExceptionThrowableConstructorTest() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand All @@ -27,7 +27,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test;

namespace iText.Pdfocr.Statistics {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class PdfOcrOutputTypeStatisticsAggregatorTest : ExtendedITextTest {
private static readonly ProductData DUMMY_PRODUCT_DATA = new ProductData("test-product", "inner_product",
"1.0.0", 1900, 2100);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand All @@ -27,7 +27,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Attributes;

namespace iText.Pdfocr.Statistics {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class PdfOcrOutputTypeStatisticsEventTest : ExtendedITextTest {
private static readonly ProductData DUMMY_PRODUCT_DATA = new ProductData("test-product", "inner_product",
"1.0.0", 1900, 2100);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
[assembly: AssemblyTitle("iText.Pdfocr.Tesseract4.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("iText Group NV")]
[assembly: AssemblyCompany("Apryse Group NV")]
[assembly: AssemblyProduct("iText")]
[assembly: AssemblyCopyright ("Copyright (c) 1998-2022 iText Group NV")]
[assembly: AssemblyCopyright ("Copyright (c) 1998-2023 Apryse Group NV")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: Guid("d6a6ea97-1f23-448f-b700-eff62971d234")]

[assembly: AssemblyVersion("2.0.2.0")]
[assembly: AssemblyFileVersion("2.0.2.0")]
[assembly: AssemblyInformationalVersion("2.0.2")]
[assembly: AssemblyVersion("3.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
[assembly: AssemblyInformationalVersion("3.0.0")]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup>
<RootNamespace>itext.pdfocr.tesseract4.tests</RootNamespace>
Expand Down Expand Up @@ -26,7 +26,9 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')" />
<PackageReference Include="itext7.pdftest" Version="7.2.4" Condition="!Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')" />
<PackageReference Include="itext7.pdftest" Version="8.0.0" Condition="!Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')" />
<ProjectReference Include="..\..\..\itextcore\itext\itext.bouncy-castle-adapter\itext.bouncy-castle-adapter.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.bouncy-castle-adapter\itext.bouncy-castle-adapter.csproj')" />
<PackageReference Include="itext7.bouncy-castle-adapter" Version="8.0.0" Condition="!Exists('..\..\..\itextcore\itext\itext.bouncy-castle-adapter\itext.bouncy-castle-adapter.csproj')" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.0" />
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
Copyright (c) 1998-2023 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
Expand Down Expand Up @@ -38,7 +38,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Pdfocr.Tesseract4.Actions.Events;

namespace iText.Pdfocr {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public abstract class IntegrationEventHandlingTestHelper : IntegrationTestHelper {
protected internal readonly AbstractTesseract4OcrEngine tesseractReader;

Expand Down
Loading

0 comments on commit 394a1c6

Please sign in to comment.