Skip to content

Commit

Permalink
[RELEASE] iText 7 7.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
iText-CI committed Jan 4, 2023
2 parents 03020c7 + e86cbb2 commit f6098a4
Show file tree
Hide file tree
Showing 2,401 changed files with 5,367 additions and 3,521 deletions.
2 changes: 1 addition & 1 deletion doxyfile
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 = "iText 7 7.2.4 API"
PROJECT_NAME = "iText 7 7.2.5 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
8 changes: 4 additions & 4 deletions itext.tests/itext.barcodes.tests/Properties/AssemblyInfo.cs
Expand Up @@ -6,17 +6,17 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("iText Group NV")]
[assembly: AssemblyProduct("iText")]
[assembly: AssemblyCopyright("Copyright (c) 1998-2022 iText Group NV")]
[assembly: AssemblyCopyright("Copyright (c) 1998-2023 iText Group NV")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: Guid("d015a3aa-613c-45d9-b908-7d47c4b613af")]

[assembly: AssemblyVersion("7.2.4.0")]
[assembly: AssemblyFileVersion("7.2.4.0")]
[assembly: AssemblyInformationalVersion("7.2.4")]
[assembly: AssemblyVersion("7.2.5.0")]
[assembly: AssemblyFileVersion("7.2.5.0")]
[assembly: AssemblyInformationalVersion("7.2.5")]

#if !NETSTANDARD2_0
[assembly: NUnit.Framework.Timeout(300000)]
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -48,7 +48,7 @@ source product.
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class Barcode128Test : ExtendedITextTest {
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
.CurrentContext.TestDirectory) + "/resources/itext/barcodes/";
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -49,7 +49,7 @@ source product.
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class Barcode39Test : ExtendedITextTest {
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
.CurrentContext.TestDirectory) + "/resources/itext/barcodes/";
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -49,7 +49,7 @@ source product.
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class BarcodeCodabarTest : ExtendedITextTest {
private static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
.CurrentContext.TestDirectory) + "/resources/itext/barcodes/";
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -48,7 +48,7 @@ source product.
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class BarcodeDataMatrixTest : ExtendedITextTest {
public static readonly String destinationFolder = NUnit.Framework.TestContext.CurrentContext.TestDirectory
+ "/test/itext/barcodes/BarcodeDataMatrix/";
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -48,7 +48,7 @@ source product.
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class BarcodeEANTest : ExtendedITextTest {
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
.CurrentContext.TestDirectory) + "/resources/itext/barcodes/";
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -48,7 +48,7 @@ source product.
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class BarcodeEANUnitTest : ExtendedITextTest {
public const float EPS = 0.0001f;

Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -48,7 +48,7 @@ source product.
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class BarcodeInter25Test : ExtendedITextTest {
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
.CurrentContext.TestDirectory) + "/resources/itext/barcodes/";
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -49,7 +49,7 @@ source product.
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class BarcodeMSITest : ExtendedITextTest {
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
.CurrentContext.TestDirectory) + "/resources/itext/barcodes/";
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -43,6 +43,8 @@ source product.
using System;
using System.IO;
using iText.Barcodes.Exceptions;
using iText.IO.Codec;
using iText.IO.Image;
using iText.Kernel.Colors;
using iText.Kernel.Exceptions;
using iText.Kernel.Pdf;
Expand All @@ -52,7 +54,7 @@ source product.
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class BarcodePDF417Test : ExtendedITextTest {
private static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
.CurrentContext.TestDirectory) + "/resources/itext/barcodes/";
Expand Down Expand Up @@ -357,6 +359,27 @@ public class BarcodePDF417Test : ExtendedITextTest {
NUnit.Framework.Assert.AreEqual(BarcodeExceptionMessageConstant.INVALID_CODEWORD_SIZE, exception.Message);
}

[NUnit.Framework.Test]
public virtual void CcittImageFromBarcodeTest() {
String filename = "ccittImage01.pdf";
PdfWriter writer = new PdfWriter(DESTINATION_FOLDER + filename);
PdfDocument document = new PdfDocument(writer);
PdfPage page = document.AddNewPage();
PdfCanvas canvas = new PdfCanvas(page);
String text = "Call me Ishmael. Some years ago--never mind how long " + "precisely --having little or no money in my purse, and nothing "
+ "particular to interest me on shore, I thought I would sail about " + "a little and see the watery part of the world.";
BarcodePDF417 barcode = new BarcodePDF417();
barcode.SetCode(text);
barcode.PaintCode();
byte[] g4 = CCITTG4Encoder.Compress(barcode.GetOutBits(), barcode.GetBitColumns(), barcode.GetCodeRows());
ImageData img = ImageDataFactory.Create(barcode.GetBitColumns(), barcode.GetCodeRows(), false, RawImageData
.CCITTG4, 0, g4, null);
canvas.AddImageAt(img, 100, 100, false);
document.Close();
NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(DESTINATION_FOLDER + filename, SOURCE_FOLDER
+ "cmp_" + filename, DESTINATION_FOLDER, "diff_"));
}

private PdfFormXObject CreateMacroBarcodePart(PdfDocument document, String text, float mh, float mw, int segmentId
) {
BarcodePDF417 pf = new BarcodePDF417();
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -44,7 +44,7 @@ source product.
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class BarcodePDF417UnitTest : ExtendedITextTest {
[NUnit.Framework.Test]
public virtual void Barcode417CodeRowsTest() {
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -47,7 +47,7 @@ source product.
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class BarcodePostnetTest : ExtendedITextTest {
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
.CurrentContext.TestDirectory) + "/resources/itext/barcodes/";
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -50,7 +50,7 @@ source product.
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Integration test")]
[NUnit.Framework.Category("IntegrationTest")]
public class BarcodeQRCodeTest : ExtendedITextTest {
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
.CurrentContext.TestDirectory) + "/resources/itext/barcodes/";
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
Expand All @@ -26,7 +26,7 @@
using iText.Test;

namespace iText.Barcodes {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class BarcodeUnitTest : ExtendedITextTest {
private const double EPS = 0.0001;

Expand Down
Binary file not shown.
8 changes: 4 additions & 4 deletions itext.tests/itext.commons.tests/Properties/AssemblyInfo.cs
Expand Up @@ -7,17 +7,17 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("iText Group NV")]
[assembly: AssemblyProduct("iText")]
[assembly: AssemblyCopyright("Copyright (c) 1998-2022 iText Group NV")]
[assembly: AssemblyCopyright("Copyright (c) 1998-2023 iText Group NV")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: ComVisible(false)]

[assembly: Guid("502eda37-c014-4822-8e5c-4e5d21b085e9")]

[assembly: AssemblyVersion("7.2.4.0")]
[assembly: AssemblyFileVersion("7.2.4.0")]
[assembly: AssemblyInformationalVersion("7.2.4")]
[assembly: AssemblyVersion("7.2.5.0")]
[assembly: AssemblyFileVersion("7.2.5.0")]
[assembly: AssemblyInformationalVersion("7.2.5")]

#if !NETSTANDARD2_0
[assembly: NUnit.Framework.Timeout(300000)]
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
Expand All @@ -26,7 +26,7 @@
using iText.Test;

namespace iText.Commons.Actions {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class AbstractContextBasedEventHandlerTest : ExtendedITextTest {
[NUnit.Framework.Test]
public virtual void CoreEventProcessedByHandlerTest() {
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
Expand All @@ -26,7 +26,7 @@
using iText.Test;

namespace iText.Commons.Actions {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class AbstractContextBasedITextEventTest : ExtendedITextTest {
[NUnit.Framework.Test]
public virtual void SetMetaInfoTest() {
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
Expand Down Expand Up @@ -29,7 +29,7 @@
using iText.Test;

namespace iText.Commons.Actions {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class AbstractITextConfigurationEventTest : ExtendedITextTest {
[NUnit.Framework.TearDown]
public virtual void After() {
Expand Down
@@ -1,6 +1,6 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Copyright (c) 1998-2023 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
Expand All @@ -25,7 +25,7 @@
using iText.Test;

namespace iText.Commons.Actions {
[NUnit.Framework.Category("Unit test")]
[NUnit.Framework.Category("UnitTest")]
public class AbstractProductITextEventTest : ExtendedITextTest {
[NUnit.Framework.Test]
public virtual void NullProductDataTest() {
Expand Down

0 comments on commit f6098a4

Please sign in to comment.