Skip to content

Commit f1cff09

Browse files
iText-CIintrofog
authored andcommitted
[RELEASE] iText 8.0.3
2 parents 9b86c94 + 41dec27 commit f1cff09

File tree

3,531 files changed

+25394
-5858
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,531 files changed

+25394
-5858
lines changed

BUILDING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ environment variables. Examples of paths on Windows:
1414
If you have a new version of ImageMagick, then there is no compare.exe utility there, wrap the path to magick.exe in quotes and call compare command:
1515
ITEXT_MAGICK_COMPARE_EXEC=`"C:\Program Files\ImageMagick-7.0.9-Q16\magick.exe" compare`
1616

17-
[1]: http://www.ghostscript.com/
18-
[2]: http://www.imagemagick.org/
17+
[1]: https://www.ghostscript.com/
18+
[2]: https://www.imagemagick.org/

CODE_OF_CONDUCT.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at http://itextpdf.com/contact. All
58+
reported by contacting the project team at https://itextpdf.com/contact. All
5959
complaints will be reviewed and investigated and will result in a response that
6060
is deemed necessary and appropriate to the circumstances. The project team is
6161
obligated to maintain confidentiality with regard to the reporter of an incident.
@@ -68,7 +68,7 @@ members of the project's leadership.
6868
## Attribution
6969

7070
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71-
available at [http://contributor-covenant.org/version/1/4][version]
71+
available at [https://contributor-covenant.org/version/1/4][version]
7272

73-
[homepage]: http://contributor-covenant.org
74-
[version]: http://contributor-covenant.org/version/1/4/
73+
[homepage]: https://contributor-covenant.org
74+
[version]: https://contributor-covenant.org/version/1/4/

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Please note that this project is released with a [Contributor Code of Conduct][c
159159

160160
We use the [Stack Exchange][stackoverflow] network for free support and [GitHub][github] for code hosting. By using these services, you agree to abide by their terms:
161161

162-
* StackExchange: [http://stackexchange.com/legal](http://stackexchange.com/legal)
162+
* StackExchange: [https://stackexchange.com/legal](https://stackexchange.com/legal)
163163
* Github: [https://help.github.com/articles/github-terms-of-service/](https://help.github.com/articles/github-terms-of-service/)
164164

165165
[cla]: https://itextpdf.com/en/how-buy/legal/itext-contributor-license-agreement
@@ -168,7 +168,7 @@ We use the [Stack Exchange][stackoverflow] network for free support and [GitHub]
168168
[java-style-guide]: https://www.oracle.com/technetwork/java/codeconvtoc-136057.html
169169
[javadocs]: https://itextpdf.com/api
170170
[pull]: https://github.com/itext/itext7-dotnet/pulls
171-
[sscce]: http://sscce.org/
171+
[sscce]: https://sscce.org/
172172
[stackoverflow]: https://stackoverflow.com/questions/tagged/itext
173173
[good-questions]: https://stackoverflow.com/help/how-to-ask
174174
[mcve]: https://stackoverflow.com/help/mcve
@@ -180,4 +180,4 @@ We use the [Stack Exchange][stackoverflow] network for free support and [GitHub]
180180
[git-commit-end]: https://chris.beams.io/posts/git-commit/#end
181181
[git-commit-imperative]: https://chris.beams.io/posts/git-commit/#imperative
182182
[git-commit-wrap-72]: https://chris.beams.io/posts/git-commit/#wrap-72
183-
[git-commit-why-not-how]: https://chris.beams.io/posts/git-commit/#why-not-how
183+
[git-commit-why-not-how]: https://chris.beams.io/posts/git-commit/#why-not-how

Jenkinsfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
def repoName = "itextcore"
55
def dependencyRegex = ""
66
def solutionFile = "iTextCore.sln"
7-
def frameworksToTest = "net461;netcoreapp2.0"
7+
def frameworksToTest = "net461"
8+
def frameworksToTestForMainBranches = "net461;netcoreapp2.0"
89

9-
automaticDotnetBuild(repoName, dependencyRegex, solutionFile, frameworksToTest)
10+
automaticDotnetBuild(repoName, dependencyRegex, solutionFile, frameworksToTest, frameworksToTestForMainBranches)

README.md

Lines changed: 171 additions & 44 deletions
Large diffs are not rendered by default.

assets/iText_Logo_Small.png

9.56 KB
Loading

doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
3232
# title of most generated pages and in a few other places.
3333
# The default value is: My Project.
3434

35-
PROJECT_NAME = "iText 8.0.2 API"
35+
PROJECT_NAME = "iText 8.0.3 API"
3636

3737
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
3838
# could be handy for archiving the generated documentation or if some version

iTextCore.sln

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "itext.bouncy-castle-fips-ad
5757
EndProject
5858
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "itext.bouncy-castle-connector.netstandard", "itext\itext.bouncy-castle-connector\itext.bouncy-castle-connector.csproj", "{C68E3329-A2E4-4B33-BADE-0521B8E832AD}"
5959
EndProject
60+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "itext.pdfua", "itext\itext.pdfua\itext.pdfua.csproj", "{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}"
61+
EndProject
62+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "itext.pdfua.tests", "itext.tests\itext.pdfua.tests\itext.pdfua.tests.csproj", "{5580E076-BD41-47D6-B241-513E7B76C426}"
63+
EndProject
6064
Global
6165
GlobalSection(SolutionConfigurationPlatforms) = preSolution
6266
Debug|Any CPU = Debug|Any CPU
@@ -391,6 +395,30 @@ Global
391395
{C68E3329-A2E4-4B33-BADE-0521B8E832AD}.Release|x64.Build.0 = Release|Any CPU
392396
{C68E3329-A2E4-4B33-BADE-0521B8E832AD}.Release|x86.ActiveCfg = Release|Any CPU
393397
{C68E3329-A2E4-4B33-BADE-0521B8E832AD}.Release|x86.Build.0 = Release|Any CPU
398+
{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
399+
{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}.Debug|Any CPU.Build.0 = Debug|Any CPU
400+
{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}.Debug|x64.ActiveCfg = Debug|Any CPU
401+
{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}.Debug|x64.Build.0 = Debug|Any CPU
402+
{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}.Debug|x86.ActiveCfg = Debug|Any CPU
403+
{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}.Debug|x86.Build.0 = Debug|Any CPU
404+
{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}.Release|Any CPU.ActiveCfg = Release|Any CPU
405+
{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}.Release|Any CPU.Build.0 = Release|Any CPU
406+
{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}.Release|x64.ActiveCfg = Release|Any CPU
407+
{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}.Release|x64.Build.0 = Release|Any CPU
408+
{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}.Release|x86.ActiveCfg = Release|Any CPU
409+
{9E785EC2-E32B-4C02-AFB4-84F99C587DEF}.Release|x86.Build.0 = Release|Any CPU
410+
{5580E076-BD41-47D6-B241-513E7B76C426}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
411+
{5580E076-BD41-47D6-B241-513E7B76C426}.Debug|Any CPU.Build.0 = Debug|Any CPU
412+
{5580E076-BD41-47D6-B241-513E7B76C426}.Debug|x64.ActiveCfg = Debug|Any CPU
413+
{5580E076-BD41-47D6-B241-513E7B76C426}.Debug|x64.Build.0 = Debug|Any CPU
414+
{5580E076-BD41-47D6-B241-513E7B76C426}.Debug|x86.ActiveCfg = Debug|Any CPU
415+
{5580E076-BD41-47D6-B241-513E7B76C426}.Debug|x86.Build.0 = Debug|Any CPU
416+
{5580E076-BD41-47D6-B241-513E7B76C426}.Release|Any CPU.ActiveCfg = Release|Any CPU
417+
{5580E076-BD41-47D6-B241-513E7B76C426}.Release|Any CPU.Build.0 = Release|Any CPU
418+
{5580E076-BD41-47D6-B241-513E7B76C426}.Release|x64.ActiveCfg = Release|Any CPU
419+
{5580E076-BD41-47D6-B241-513E7B76C426}.Release|x64.Build.0 = Release|Any CPU
420+
{5580E076-BD41-47D6-B241-513E7B76C426}.Release|x86.ActiveCfg = Release|Any CPU
421+
{5580E076-BD41-47D6-B241-513E7B76C426}.Release|x86.Build.0 = Release|Any CPU
394422
EndGlobalSection
395423
GlobalSection(SolutionProperties) = preSolution
396424
HideSolutionNode = FALSE

itext.nuspec

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
33
<metadata>
44
<id>itext</id>
5-
<version>8.0.2</version>
5+
<version>8.0.3</version>
66
<title>iText Community</title>
77
<authors>Apryse Software</authors>
88
<owners>Apryse Software</owners>
@@ -13,17 +13,17 @@
1313
<description>iText represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText can be a boon to nearly every workflow. iText allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in .NET.</description>
1414
<summary>iText for .NET is a library for PDF generation written entirely in C# for the .NET platform.</summary>
1515
<releaseNotes>https://itextpdf.com/itext7release</releaseNotes>
16-
<copyright>Copyright (c) 1998-2023 Apryse Group NV</copyright>
16+
<copyright>Copyright (c) 1998-2024 Apryse Group NV</copyright>
1717
<language>en-US</language>
1818
<tags>itext itext7 itextsharp c# .net csharp pdf itextcore core fdf xfa acroform forms svg digital-signatures signing security accessibility opensource open source</tags>
1919
<repository type="git" url="https://github.com/itext/itext7-dotnet.git" />
2020
<dependencies>
2121
<group targetFramework="net461">
22-
<dependency id="itext.commons" version="8.0.2" />
22+
<dependency id="itext.commons" version="8.0.3" />
2323
<dependency id="Microsoft.Extensions.Logging" version="5.0.0" />
2424
</group>
2525
<group targetFramework="netstandard2.0">
26-
<dependency id="itext.commons" version="8.0.2" />
26+
<dependency id="itext.commons" version="8.0.3" />
2727
<dependency id="Microsoft.Extensions.Logging" version="5.0.0" />
2828
<dependency id="System.Diagnostics.Process" version="4.3.0" />
2929
<dependency id="System.Globalization.Extensions" version="4.3.0" />
@@ -50,6 +50,8 @@
5050
<file src="itext\itext.layout\bin\Release\net461\itext.layout.xml" target="lib\net461" />
5151
<file src="itext\itext.pdfa\bin\Release\net461\itext.pdfa.dll" target="lib\net461" />
5252
<file src="itext\itext.pdfa\bin\Release\net461\itext.pdfa.xml" target="lib\net461" />
53+
<file src="itext\itext.pdfua\bin\Release\net461\itext.pdfua.dll" target="lib\net461" />
54+
<file src="itext\itext.pdfua\bin\Release\net461\itext.pdfua.xml" target="lib\net461" />
5355
<file src="itext\itext.forms\bin\Release\net461\itext.forms.dll" target="lib\net461" />
5456
<file src="itext\itext.forms\bin\Release\net461\itext.forms.xml" target="lib\net461" />
5557
<file src="itext\itext.barcodes\bin\Release\net461\itext.barcodes.dll" target="lib\net461" />
@@ -70,6 +72,8 @@
7072
<file src="itext\itext.layout\bin\Release\netstandard2.0\itext.layout.xml" target="lib\netstandard2.0" />
7173
<file src="itext\itext.pdfa\bin\Release\netstandard2.0\itext.pdfa.dll" target="lib\netstandard2.0" />
7274
<file src="itext\itext.pdfa\bin\Release\netstandard2.0\itext.pdfa.xml" target="lib\netstandard2.0" />
75+
<file src="itext\itext.pdfua\bin\Release\netstandard2.0\itext.pdfua.dll" target="lib\netstandard2.0" />
76+
<file src="itext\itext.pdfua\bin\Release\netstandard2.0\itext.pdfua.xml" target="lib\netstandard2.0" />
7377
<file src="itext\itext.forms\bin\Release\netstandard2.0\itext.forms.dll" target="lib\netstandard2.0" />
7478
<file src="itext\itext.forms\bin\Release\netstandard2.0\itext.forms.xml" target="lib\netstandard2.0" />
7579
<file src="itext\itext.barcodes\bin\Release\netstandard2.0\itext.barcodes.dll" target="lib\netstandard2.0" />

itext.tests/itext.barcodes.tests/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
[assembly: AssemblyConfiguration("")]
77
[assembly: AssemblyCompany("Apryse Group NV")]
88
[assembly: AssemblyProduct("iText")]
9-
[assembly: AssemblyCopyright("Copyright (c) 1998-2023 Apryse Group NV")]
9+
[assembly: AssemblyCopyright("Copyright (c) 1998-2024 Apryse Group NV")]
1010
[assembly: AssemblyTrademark("")]
1111
[assembly: AssemblyCulture("")]
1212

1313
[assembly: ComVisible(false)]
1414

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

17-
[assembly: AssemblyVersion("8.0.2.0")]
18-
[assembly: AssemblyFileVersion("8.0.2.0")]
19-
[assembly: AssemblyInformationalVersion("8.0.2")]
17+
[assembly: AssemblyVersion("8.0.3.0")]
18+
[assembly: AssemblyFileVersion("8.0.3.0")]
19+
[assembly: AssemblyInformationalVersion("8.0.3")]
2020

2121
#if !NETSTANDARD2_0
2222
[assembly: NUnit.Framework.Timeout(300000)]

itext.tests/itext.barcodes.tests/itext.barcodes.tests.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup Label="Configuration">
33
<SignAssembly>True</SignAssembly>
44
<DelaySign>False</DelaySign>
5-
<WarningLevel>4</WarningLevel>
5+
<WarningLevel>0</WarningLevel>
66
</PropertyGroup>
77
<PropertyGroup>
88
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
@@ -33,7 +33,6 @@
3333
<Reference Include="System.Core" />
3434
</ItemGroup>
3535
<ItemGroup>
36-
<PackageReference Include="TeamCity.VSTest.TestAdapter" Version="1.0.0" />
3736
<PackageReference Include="NUnit" Version="3.7.1" />
3837
<PackageReference Include="NUnit3TestAdapter" Version="3.10.0" />
3938
</ItemGroup>

itext.tests/itext.barcodes.tests/itext/barcodes/Barcode128Test.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2023 Apryse Group NV
3+
Copyright (c) 1998-2024 Apryse Group NV
44
Authors: Apryse Software.
55
66
This program is offered under a commercial and under the AGPL license.
@@ -41,10 +41,15 @@ public static void BeforeClass() {
4141
CreateDestinationFolder(destinationFolder);
4242
}
4343

44+
[NUnit.Framework.OneTimeTearDown]
45+
public static void AfterClass() {
46+
CompareTool.Cleanup(destinationFolder);
47+
}
48+
4449
[NUnit.Framework.Test]
4550
public virtual void Barcode01Test() {
4651
String filename = "barcode128_01.pdf";
47-
PdfWriter writer = new PdfWriter(destinationFolder + filename);
52+
PdfWriter writer = CompareTool.CreateTestPdfWriter(destinationFolder + filename);
4853
PdfDocument document = new PdfDocument(writer);
4954
PdfPage page = document.AddNewPage();
5055
PdfCanvas canvas = new PdfCanvas(page);
@@ -61,7 +66,7 @@ public virtual void Barcode01Test() {
6166
[NUnit.Framework.Test]
6267
public virtual void Barcode02Test() {
6368
String filename = "barcode128_02.pdf";
64-
PdfWriter writer = new PdfWriter(destinationFolder + filename);
69+
PdfWriter writer = CompareTool.CreateTestPdfWriter(destinationFolder + filename);
6570
PdfReader reader = new PdfReader(sourceFolder + "DocumentWithTrueTypeFont1.pdf");
6671
PdfDocument document = new PdfDocument(reader, writer);
6772
PdfCanvas canvas = new PdfCanvas(document.GetLastPage());

itext.tests/itext.barcodes.tests/itext/barcodes/Barcode39Test.cs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2023 Apryse Group NV
3+
Copyright (c) 1998-2024 Apryse Group NV
44
Authors: Apryse Software.
55
66
This program is offered under a commercial and under the AGPL license.
@@ -42,10 +42,15 @@ public static void BeforeClass() {
4242
CreateDestinationFolder(destinationFolder);
4343
}
4444

45+
[NUnit.Framework.OneTimeTearDown]
46+
public static void AfterClass() {
47+
CompareTool.Cleanup(destinationFolder);
48+
}
49+
4550
[NUnit.Framework.Test]
4651
public virtual void Barcode01Test() {
4752
String filename = "barcode39_01.pdf";
48-
PdfDocument document = new PdfDocument(new PdfWriter(destinationFolder + filename));
53+
PdfDocument document = new PdfDocument(CompareTool.CreateTestPdfWriter(destinationFolder + filename));
4954
PdfPage page = document.AddNewPage();
5055
PdfCanvas canvas = new PdfCanvas(page);
5156
Barcode1D barcode = new Barcode39(document);
@@ -60,8 +65,8 @@ public virtual void Barcode01Test() {
6065
[NUnit.Framework.Test]
6166
public virtual void Barcode02Test() {
6267
String filename = "barcode39_02.pdf";
63-
PdfDocument document = new PdfDocument(new PdfReader(sourceFolder + "DocumentWithTrueTypeFont1.pdf"), new
64-
PdfWriter(destinationFolder + filename));
68+
PdfDocument document = new PdfDocument(new PdfReader(sourceFolder + "DocumentWithTrueTypeFont1.pdf"), CompareTool
69+
.CreateTestPdfWriter(destinationFolder + filename));
6570
PdfCanvas canvas = new PdfCanvas(document.GetLastPage());
6671
Barcode1D barcode = new Barcode39(document);
6772
barcode.SetCode("9781935182610");

itext.tests/itext.barcodes.tests/itext/barcodes/BarcodeCodabarTest.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2023 Apryse Group NV
3+
Copyright (c) 1998-2024 Apryse Group NV
44
Authors: Apryse Software.
55
66
This program is offered under a commercial and under the AGPL license.
@@ -42,10 +42,15 @@ public static void BeforeClass() {
4242
CreateDestinationFolder(DESTINATION_FOLDER);
4343
}
4444

45+
[NUnit.Framework.OneTimeTearDown]
46+
public static void AfterClass() {
47+
CompareTool.Cleanup(DESTINATION_FOLDER);
48+
}
49+
4550
[NUnit.Framework.Test]
4651
public virtual void Barcode01Test() {
4752
String filename = "codabar.pdf";
48-
PdfWriter writer = new PdfWriter(DESTINATION_FOLDER + filename);
53+
PdfWriter writer = CompareTool.CreateTestPdfWriter(DESTINATION_FOLDER + filename);
4954
PdfDocument document = new PdfDocument(writer);
5055
PdfPage page = document.AddNewPage();
5156
PdfCanvas canvas = new PdfCanvas(page);

0 commit comments

Comments
 (0)