Skip to content

Commit 5f62c22

Browse files
Add support for itext8 and .NET
1 parent 6703d77 commit 5f62c22

File tree

10 files changed

+2991
-1588
lines changed

10 files changed

+2991
-1588
lines changed

dotnet/src/dotnetcore/GxPdfReportsCS/GlobalSuppressions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@
1616
[assembly: SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "<Pending>", Scope = "member", Target = "~M:com.genexus.reports.NativeSharpFunctionsMS.getRegistrySubValues(System.String,System.String)~System.Collections.ArrayList")]
1717
[assembly: SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "<Pending>", Scope = "member", Target = "~M:com.genexus.reports.NativeSharpFunctionsMS.ReadRegKey(System.String)~System.String")]
1818
[assembly: SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "<Pending>", Scope = "member", Target = "~M:com.genexus.reports.MSPDFFontDescriptor.getTrueTypeFontLocation(System.String)~System.String")]
19+
[assembly: SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "<Pending>", Scope = "member", Target = "~M:com.genexus.reports.PDFReportItextBase.getAcrobatLocation~System.String")]
20+
[assembly: SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "<Pending>", Scope = "member", Target = "~M:com.genexus.reports.PDFReportItextBase.loadSubstituteTable")]

dotnet/src/dotnetcore/GxPdfReportsCS/GxPdfReportsCS.csproj

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,16 @@
99

1010
<ItemGroup>
1111
<Compile Include="..\..\dotnetframework\GxPdfReportsCS\PdfReportInterface.cs" Link="PdfReportInterface.cs" />
12-
<Compile Include="..\..\dotnetframework\GxPdfReportsCS\PDFReportItext.cs" Link="PDFReportItext.cs" />
12+
<Compile Include="..\..\dotnetframework\GxPdfReportsCS\PDFReportCommon.cs" Link="PDFReportCommon.cs" />
13+
<Compile Include="..\..\dotnetframework\GxPdfReportsCS\PDFReportItext4.cs" Link="PDFReportItext4.cs" />
1314
</ItemGroup>
1415

1516
<ItemGroup>
16-
<PackageReference Include="iTextSharp-LGPL" Version="4.1.6" />
17+
<PackageReference Include="itext7" Version="8.0.0" PrivateAssets="All" />
18+
<PackageReference Include="itext7.font-asian" Version="8.0.0" PrivateAssets="All" />
19+
<PackageReference Include="itext7.pdfhtml" Version="5.0.0" PrivateAssets="All"/>
20+
21+
<PackageReference Include="iTextSharp-LGPL" Version="4.1.6" PrivateAssets="All" />
1722
<PackageReference Include="log4net" Version="2.0.15" />
1823
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.2.12-alpha">
1924
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)