Skip to content

Commit 5f33028

Browse files
committed
[RELEASE] iText 7 pdfHTML 4.0.4
2 parents 5f92da6 + 434d287 commit 5f33028

File tree

287 files changed

+920
-461
lines changed

Some content is hidden

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

287 files changed

+920
-461
lines changed

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 = "pdfHTML 4.0.3 API"
35+
PROJECT_NAME = "pdfHTML 4.0.4 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

itext.tests/itext.html2pdf.tests/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
[assembly: Guid("ae4e5743-0665-4705-9a33-07ea57cdd269")]
1717

18-
[assembly: AssemblyVersion("4.0.3.0")]
19-
[assembly: AssemblyFileVersion("4.0.3.0")]
20-
[assembly: AssemblyInformationalVersion("4.0.3")]
18+
[assembly: AssemblyVersion("4.0.4.0")]
19+
[assembly: AssemblyFileVersion("4.0.4.0")]
20+
[assembly: AssemblyInformationalVersion("4.0.4")]
2121

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

itext.tests/itext.html2pdf.tests/itext.html2pdf.tests.csproj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,18 @@
4444
<Reference Include="System.Core" />
4545
</ItemGroup>
4646
<ItemGroup>
47-
<ProjectReference Include="..\..\..\itextcore\itext\itext.io\itext.io.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.io\itext.io.netstandard.csproj')" />
48-
<PackageReference Include="itext7" Version="7.2.3" Condition="!Exists('..\..\..\itextcore\itext\itext.io\itext.io.netstandard.csproj')" />
49-
<ProjectReference Include="..\..\..\itextcore\itext\itext.kernel\itext.kernel.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.kernel\itext.kernel.netstandard.csproj')" />
50-
<ProjectReference Include="..\..\..\itextcore\itext\itext.layout\itext.layout.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.layout\itext.layout.netstandard.csproj')" />
51-
<ProjectReference Include="..\..\..\itextcore\itext\itext.forms\itext.forms.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.forms\itext.forms.netstandard.csproj')" />
52-
<ProjectReference Include="..\..\..\itextcore\itext\itext.pdfa\itext.pdfa.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.pdfa\itext.pdfa.netstandard.csproj')" />
53-
<ProjectReference Include="..\..\..\itextcore\itext\itext.hyph\itext.hyph.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.hyph\itext.hyph.netstandard.csproj')" />
54-
<PackageReference Include="itext7.hyph" Version="7.2.3" Condition="!Exists('..\..\..\itextcore\itext\itext.hyph\itext.hyph.netstandard.csproj')" />
55-
<ProjectReference Include="..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.netstandard.csproj')" />
56-
<PackageReference Include="itext7.pdftest" Version="7.2.3" Condition="!Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.netstandard.csproj')" />
57-
<ProjectReference Include="..\..\..\itextcore\itext\itext.styledxmlparser\itext.styledxmlparser.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.styledxmlparser\itext.styledxmlparser.netstandard.csproj')" />
58-
<ProjectReference Include="..\..\..\itextcore\itext\itext.svg\itext.svg.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.svg\itext.svg.netstandard.csproj')" />
47+
<ProjectReference Include="..\..\..\itextcore\itext\itext.io\itext.io.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.io\itext.io.csproj')" />
48+
<PackageReference Include="itext7" Version="7.2.4" Condition="!Exists('..\..\..\itextcore\itext\itext.io\itext.io.csproj')" />
49+
<ProjectReference Include="..\..\..\itextcore\itext\itext.kernel\itext.kernel.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.kernel\itext.kernel.csproj')" />
50+
<ProjectReference Include="..\..\..\itextcore\itext\itext.layout\itext.layout.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.layout\itext.layout.csproj')" />
51+
<ProjectReference Include="..\..\..\itextcore\itext\itext.forms\itext.forms.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.forms\itext.forms.csproj')" />
52+
<ProjectReference Include="..\..\..\itextcore\itext\itext.pdfa\itext.pdfa.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.pdfa\itext.pdfa.csproj')" />
53+
<ProjectReference Include="..\..\..\itextcore\itext\itext.hyph\itext.hyph.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.hyph\itext.hyph.csproj')" />
54+
<PackageReference Include="itext7.hyph" Version="7.2.4" Condition="!Exists('..\..\..\itextcore\itext\itext.hyph\itext.hyph.csproj')" />
55+
<ProjectReference Include="..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')" />
56+
<PackageReference Include="itext7.pdftest" Version="7.2.4" Condition="!Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')" />
57+
<ProjectReference Include="..\..\..\itextcore\itext\itext.styledxmlparser\itext.styledxmlparser.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.styledxmlparser\itext.styledxmlparser.csproj')" />
58+
<ProjectReference Include="..\..\..\itextcore\itext\itext.svg\itext.svg.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.svg\itext.svg.csproj')" />
5959
<ProjectReference Include="..\..\itext\itext.html2pdf\itext.html2pdf.csproj" />
6060
</ItemGroup>
6161
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">

itext.tests/itext.html2pdf.tests/itext/html2pdf/ConverterPropertiesTest.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ source product.
4545
using iText.Test;
4646

4747
namespace iText.Html2pdf {
48+
[NUnit.Framework.Category("Unit test")]
4849
public class ConverterPropertiesTest : ExtendedITextTest {
4950
[NUnit.Framework.Test]
5051
public virtual void GetDefaultMetaInfoTest() {
@@ -62,6 +63,21 @@ public virtual void SetEventMetaInfoAndGetTest() {
6263
NUnit.Framework.Assert.AreSame(testMetaInfo, metaInfo);
6364
}
6465

66+
[NUnit.Framework.Test]
67+
public virtual void CheckDefaultsTest() {
68+
ConverterProperties properties = new ConverterProperties();
69+
NUnit.Framework.Assert.IsTrue(properties.IsImmediateFlush());
70+
NUnit.Framework.Assert.IsFalse(properties.IsCreateAcroForm());
71+
NUnit.Framework.Assert.AreEqual(10, properties.GetLimitOfLayouts());
72+
properties.SetImmediateFlush(false);
73+
properties.SetCreateAcroForm(true);
74+
properties.SetLimitOfLayouts(20);
75+
ConverterProperties propertiesCopied = new ConverterProperties(properties);
76+
NUnit.Framework.Assert.IsFalse(propertiesCopied.IsImmediateFlush());
77+
NUnit.Framework.Assert.IsTrue(propertiesCopied.IsCreateAcroForm());
78+
NUnit.Framework.Assert.AreEqual(20, propertiesCopied.GetLimitOfLayouts());
79+
}
80+
6581
private class TestMetaInfo : IMetaInfo {
6682
}
6783
}

itext.tests/itext.html2pdf.tests/itext/html2pdf/FontProviderTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ source product.
5151

5252
namespace iText.Html2pdf {
5353
// Actually the results are invalid because there is no pdfCalligraph.
54+
[NUnit.Framework.Category("Integration test")]
5455
public class FontProviderTest : ExtendedITextTest {
5556
public static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
5657
.CurrentContext.TestDirectory) + "/resources/itext/html2pdf/FontProviderTest/";

itext.tests/itext.html2pdf.tests/itext/html2pdf/Html2ElementsTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ source product.
6060
using iText.Test.Attributes;
6161

6262
namespace iText.Html2pdf {
63+
[NUnit.Framework.Category("Integration test")]
6364
public class Html2ElementsTest : ExtendedITextTest {
6465
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
6566
.CurrentContext.TestDirectory) + "/resources/itext/html2pdf/Html2ElementsTest/";

itext.tests/itext.html2pdf.tests/itext/html2pdf/Html2PdfTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ source product.
4545
using iText.Test.Attributes;
4646

4747
namespace iText.Html2pdf {
48+
[NUnit.Framework.Category("Integration test")]
4849
public class Html2PdfTest : ExtendedHtmlConversionITextTest {
4950
public static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
5051
.CurrentContext.TestDirectory) + "/resources/itext/html2pdf/Html2PdfTest/";

itext.tests/itext.html2pdf.tests/itext/html2pdf/HtmlConverterMetaInfoTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ You should have received a copy of the GNU Affero General Public License
3636
using iText.Test;
3737

3838
namespace iText.Html2pdf {
39+
[NUnit.Framework.Category("Unit test")]
3940
public class HtmlConverterMetaInfoTest : ExtendedITextTest {
4041
[NUnit.Framework.Test]
4142
public virtual void MetaInfoShouldBePresentTest() {

itext.tests/itext.html2pdf.tests/itext/html2pdf/HtmlConverterTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ You should have received a copy of the GNU Affero General Public License
2727
using iText.Test;
2828

2929
namespace iText.Html2pdf {
30+
[NUnit.Framework.Category("Integration test")]
3031
public class HtmlConverterTest : ExtendedITextTest {
3132
[NUnit.Framework.Test]
3233
public virtual void CannotConvertHtmlToDocumentInReadingModeTest() {

itext.tests/itext.html2pdf.tests/itext/html2pdf/HtmlResourceResolverUnitTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ You should have received a copy of the GNU Affero General Public License
2828
using iText.Test.Attributes;
2929

3030
namespace iText.Html2pdf {
31+
[NUnit.Framework.Category("Unit test")]
3132
public class HtmlResourceResolverUnitTest : ExtendedITextTest {
3233
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
3334
.CurrentContext.TestDirectory) + "/resources/itext/html2pdf/ResourceResolverTest/";

0 commit comments

Comments
 (0)