Skip to content

Commit 98a4d0d

Browse files
committed
EPPlus is no longer LGPL. JanKallman/EPPlus#609 (comment)
1 parent 770da0a commit 98a4d0d

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

src/PdfRpt.Core.FunctionalTests/HtmlHeaderPdfReport.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public IPdfReportData CreateHtmlHeaderPdfReport()
2727
doc.Orientation(PageOrientation.Portrait);
2828
doc.PageSize(PdfPageSize.A4);
2929
doc.DocumentMetadata(new DocumentMetadata { Author = "Vahid", Application = "PdfRpt", Keywords = "Test", Subject = "Test Rpt", Title = "Test" });
30+
doc.DocumentMargins(new DocumentMargins { Bottom = 50, Left = 36, Right = 36, Top = 36 });
3031
doc.Compression(new CompressionSettings
3132
{
3233
EnableCompression = true,
@@ -62,8 +63,8 @@ public IPdfReportData CreateHtmlHeaderPdfReport()
6263
<td align='center' bgcolor='#00FF00' colspan='2'>Hello</td>
6364
</tr>
6465
<tr>
65-
<td width='50%' align='center'>{0}</td>
66-
<td width='50%' align='center'>{1}</td>
66+
<td width='50%' align='left'>{0}</td>
67+
<td width='50%' align='right'>{1}</td>
6768
</tr>
6869
</table>", page, date);
6970
});

src/PdfRpt.Core.FunctionalTests/HtmlHeaderRtlPdfReport.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ public IPdfReportData CreateHtmlHeaderRtlPdfReport()
6464
<td align='center' bgcolor='#00FF00' colspan='2'>آزمايش</td>
6565
</tr>
6666
<tr>
67-
<td width='50%' align='center'>{0}</td>
68-
<td width='50%' align='center'>{1}</td>
67+
<td width='50%' align='left'>{0}</td>
68+
<td width='50%' align='right'>{1}</td>
6969
</tr>
7070
</table>", page, date);
7171
});

src/PdfRpt.Core.FunctionalTests/PdfRpt.Core.FunctionalTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />
1818
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.1" />
1919
<PackageReference Include="OxyPlot.Core" Version="2.0.0" />
20-
<PackageReference Include="EPPlus" Version="4.5.3.3" />
20+
<PackageReference Include="EPPlus" Version="[4.5.3.3, 5)" />
2121
<PackageReference Include="System.Drawing.Common" Version="4.7.0" />
2222
</ItemGroup>
2323
<ItemGroup>

src/PdfRpt.Core/PdfRpt.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
<PackageReference Include="System.Xml.XPath.XDocument" Version="4.3.0" />
4242
<PackageReference Include="Portable.BouncyCastle" Version="1.8.5.2" />
4343
<PackageReference Include="iTextSharp.LGPLv2.Core" Version="1.6.2" />
44-
<PackageReference Include="EPPlus" Version="4.5.3.3" />
44+
<PackageReference Include="EPPlus" Version="[4.5.3.3, 5)" />
4545
</ItemGroup>
4646
<ItemGroup Condition=" '$(TargetFramework)' == 'net40' ">
4747
<Reference Include="System.ComponentModel.DataAnnotations" />
4848
<PackageReference Include="Portable.BouncyCastle" Version="1.8.5.2" />
4949
<PackageReference Include="iTextSharp.LGPLv2.Core" Version="1.6.2" />
50-
<PackageReference Include="EPPlus" Version="4.5.3.3" />
50+
<PackageReference Include="EPPlus" Version="[4.5.3.3, 5)" />
5151
</ItemGroup>
5252
<PropertyGroup Condition="'$(TargetFramework)' == 'net40'">
5353
<DefineConstants>NET40</DefineConstants>

0 commit comments

Comments
 (0)