Skip to content

Commit b1f539d

Browse files
committed
[RELEASE] iText 8.0.5
2 parents 5e81e0b + 9684221 commit b1f539d

File tree

1,107 files changed

+25713
-3912
lines changed

Some content is hidden

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

1,107 files changed

+25713
-3912
lines changed

doxyfile

+2-2
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.4 API"
35+
PROJECT_NAME = "iText 8.0.5 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
@@ -485,7 +485,7 @@ EXTRACT_PRIV_VIRTUAL = NO
485485
# scope will be included in the documentation.
486486
# The default value is: NO.
487487

488-
EXTRACT_PACKAGE = NO
488+
EXTRACT_PACKAGE = YES
489489

490490
# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be
491491
# included in the documentation.

itext.nuspec

+3-3
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.4</version>
5+
<version>8.0.5</version>
66
<title>iText Community</title>
77
<authors>Apryse Software</authors>
88
<owners>Apryse Software</owners>
@@ -19,11 +19,11 @@
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.4" />
22+
<dependency id="itext.commons" version="8.0.5" />
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.4" />
26+
<dependency id="itext.commons" version="8.0.5" />
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" />

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

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

17-
[assembly: AssemblyVersion("8.0.4.0")]
18-
[assembly: AssemblyFileVersion("8.0.4.0")]
19-
[assembly: AssemblyInformationalVersion("8.0.4")]
17+
[assembly: AssemblyVersion("8.0.5.0")]
18+
[assembly: AssemblyFileVersion("8.0.5.0")]
19+
[assembly: AssemblyInformationalVersion("8.0.5")]
2020

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

itext.tests/itext.commons.tests/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

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

18-
[assembly: AssemblyVersion("8.0.4.0")]
19-
[assembly: AssemblyFileVersion("8.0.4.0")]
20-
[assembly: AssemblyInformationalVersion("8.0.4")]
18+
[assembly: AssemblyVersion("8.0.5.0")]
19+
[assembly: AssemblyFileVersion("8.0.5.0")]
20+
[assembly: AssemblyInformationalVersion("8.0.5")]
2121

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

itext.tests/itext.commons.tests/itext/commons/actions/AbstractITextConfigurationEventTest.cs

+6
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,15 @@ public virtual void GetEventsTest() {
106106
));
107107
}
108108

109+
//\cond DO_NOT_DOCUMENT
109110
internal class TestAbstractITextConfigurationEvent : AbstractITextConfigurationEvent {
110111
protected internal override void DoAction() {
111112
}
112113
// Empty method.
113114
}
115+
//\endcond
114116

117+
//\cond DO_NOT_DOCUMENT
115118
internal class TestAbstractProductProcessITextEvent : AbstractProductProcessITextEvent {
116119
public TestAbstractProductProcessITextEvent()
117120
: base(new SequenceId(), new ProductData("test public product name", "test product name", "test version",
@@ -122,7 +125,9 @@ public override String GetEventType() {
122125
return "test event type";
123126
}
124127
}
128+
//\endcond
125129

130+
//\cond DO_NOT_DOCUMENT
126131
internal class TestITextProductEventProcessor : ITextProductEventProcessor {
127132
public virtual void OnEvent(AbstractProductProcessITextEvent @event) {
128133
}
@@ -140,5 +145,6 @@ public virtual String GetProducer() {
140145
return "test producer";
141146
}
142147
}
148+
//\endcond
143149
}
144150
}

itext.tests/itext.commons.tests/itext/commons/actions/AbstractStatisticsEventTest.cs

+4
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,18 @@ public virtual void CreateStatisticsAggregatorFromNameTest() {
5050
NUnit.Framework.Assert.IsNull(dummyEvent.CreateStatisticsAggregatorFromName("statisticsName"));
5151
}
5252

53+
//\cond DO_NOT_DOCUMENT
5354
internal class DummyStatisticsEvent : AbstractStatisticsEvent {
55+
//\cond DO_NOT_DOCUMENT
5456
internal DummyStatisticsEvent(ProductData data)
5557
: base(data) {
5658
}
59+
//\endcond
5760

5861
public override IList<String> GetStatisticsNames() {
5962
return null;
6063
}
6164
}
65+
//\endcond
6266
}
6367
}

itext.tests/itext.commons.tests/itext/commons/actions/processors/DefaultITextProductEventProcessorTest.cs

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public TestDefaultITextProductEventProcessor()
7171
: base("test product") {
7272
}
7373

74+
//\cond DO_NOT_DOCUMENT
7475
internal override long AcquireRepeatLevel(int lvl) {
7576
switch (lvl) {
7677
case 0: {
@@ -87,6 +88,7 @@ internal override long AcquireRepeatLevel(int lvl) {
8788
}
8889
return 0;
8990
}
91+
//\endcond
9092
}
9193
}
9294
}

itext.tests/itext.commons.tests/itext/commons/actions/producer/ProducerBuilderTest.cs

+33
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,39 @@ public virtual void UnknownPlaceHoldersTest() {
164164
NUnit.Framework.Assert.AreEqual("||", newProducerLine);
165165
}
166166

167+
[NUnit.Framework.Test]
168+
public virtual void ModifiedUsingEqualsCurrentProducerTest() {
169+
IList<ConfirmedEventWrapper> events = GetEvents("some Author", 1, 2, 3);
170+
String newProducerLine = ProducerBuilder.ModifyProducer(events, "Old producer; modified using some Author"
171+
);
172+
NUnit.Framework.Assert.AreEqual("Old producer; modified using some Author", newProducerLine);
173+
}
174+
175+
[NUnit.Framework.Test]
176+
public virtual void PrevModifiedUsingEqualsCurrentProducerTest() {
177+
IList<ConfirmedEventWrapper> events = GetEvents("some Author", 1, 2, 3);
178+
String newProducerLine = ProducerBuilder.ModifyProducer(events, "Old producer; modified using some Author; modified using another tool"
179+
);
180+
NUnit.Framework.Assert.AreEqual("Old producer; modified using some Author; modified using another tool; "
181+
+ "modified using some Author", newProducerLine);
182+
}
183+
184+
[NUnit.Framework.Test]
185+
public virtual void SeveralModifiedUsingEqualsCurrentProducerTest() {
186+
IList<ConfirmedEventWrapper> events = GetEvents("some Author", 1, 2, 3);
187+
String newProducerLine = ProducerBuilder.ModifyProducer(events, "Old producer; modified using some Author; modified using some Author"
188+
);
189+
NUnit.Framework.Assert.AreEqual("Old producer; modified using some Author; modified using some Author", newProducerLine
190+
);
191+
}
192+
193+
[NUnit.Framework.Test]
194+
public virtual void OldProducerEqualsCurrentProducerTest() {
195+
IList<ConfirmedEventWrapper> events = GetEvents("some Author", 1, 2, 3);
196+
String newProducerLine = ProducerBuilder.ModifyProducer(events, "some Author");
197+
NUnit.Framework.Assert.AreEqual("some Author", newProducerLine);
198+
}
199+
167200
private IList<ConfirmedEventWrapper> GetEvents(String initialProducerLine, params int[] indexes) {
168201
IList<ConfirmedEventWrapper> events = new List<ConfirmedEventWrapper>();
169202
for (int ind = 0; ind < indexes.Length; ind++) {

itext.tests/itext.forms.tests/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
[assembly: Guid("6fe2f714-6b3e-4b20-8c70-28bfce084ed2")]
1616

17-
[assembly: AssemblyVersion("8.0.4.0")]
18-
[assembly: AssemblyFileVersion("8.0.4.0")]
19-
[assembly: AssemblyInformationalVersion("8.0.4")]
17+
[assembly: AssemblyVersion("8.0.5.0")]
18+
[assembly: AssemblyFileVersion("8.0.5.0")]
19+
[assembly: AssemblyInformationalVersion("8.0.5")]
2020

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

itext.tests/itext.forms.tests/itext/forms/PdfEncryptionTest.cs

+4
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,14 @@ public static void BeforeClass() {
4949
CreateOrClearDestinationFolder(destinationFolder);
5050
}
5151

52+
//\cond DO_NOT_DOCUMENT
5253
// Custom entry in Info dictionary is used because standard entried are gone into metadata in PDF 2.0
5354
internal const String customInfoEntryKey = "Custom";
55+
//\endcond
5456

57+
//\cond DO_NOT_DOCUMENT
5558
internal const String customInfoEntryValue = "String";
59+
//\endcond
5660

5761
[NUnit.Framework.Test]
5862
[LogMessage(KernelLogMessageConstant.MD5_IS_NOT_FIPS_COMPLIANT, Ignore = true)]

itext.tests/itext.forms.tests/itext/forms/PdfFormFieldTest.cs

+6
Original file line numberDiff line numberDiff line change
@@ -1586,21 +1586,26 @@ public virtual void PdfWithSignatureAndFontInBuilderFieldTest() {
15861586
, destinationFolder, "diff_"));
15871587
}
15881588

1589+
//\cond DO_NOT_DOCUMENT
15891590
internal class CustomButtonFormField : PdfButtonFormField {
15901591
private int counter = 0;
15911592

1593+
//\cond DO_NOT_DOCUMENT
15921594
internal CustomButtonFormField(PdfDocument pdfDocument, String formFieldName)
15931595
: base(pdfDocument) {
15941596
SetPushButton(true);
15951597
SetFieldName(formFieldName);
15961598
}
1599+
//\endcond
15971600

1601+
//\cond DO_NOT_DOCUMENT
15981602
internal CustomButtonFormField(PdfWidgetAnnotation annotation, PdfDocument pdfDocument, String formFieldName
15991603
)
16001604
: base(annotation, pdfDocument) {
16011605
SetPushButton(true);
16021606
SetFieldName(formFieldName);
16031607
}
1608+
//\endcond
16041609

16051610
public virtual int GetCounter() {
16061611
return counter;
@@ -1614,5 +1619,6 @@ public override bool RegenerateField() {
16141619
return isRegenerated;
16151620
}
16161621
}
1622+
//\endcond
16171623
}
16181624
}

0 commit comments

Comments
 (0)