Commit 692396a
Add support for itext8 and .NET (#828)
* Add support for itext8 and .NET
* HTML and Image rendering fixes
* Resolve merge with master and PDFA implementation.
* Fixed text wrapping
* Fixed justification error and code cleanup
* Code cleanup
* Register font provider for HTML elements.
Rename PDFReportItext7 to PDFReportItext8
* Remove unused fontProvider parameter.
* Set fontProvider for document.
Reorder ProcessHTMLElement conditions.
* Removed manual right alignment of list block element
* Avoid unnecessary casts.
* Some of the <div> elements generated by HtmlConverter.ConvertToElements do not contain any child elements; instead, they solely contain formatting properties (e.g., <h1>, horizontal rule <hr>). Rendering these <div> elements results in a format closer to the original HTML. However, these changes mean that if a <div> extends beyond the available drawing area, it won't be displayed. This was the previous behavior.
* Remove unused using.
* Remove unused usings.
* Improve HTML rendering.
Break page for long HTMLs.
* Add new test case for SAC# 47946
* The iText dependency needs to be added to DependencyContext.Default so that iText can locate resources like iText.IO.Font.Cmap.cjk_registry.properties when searching within DependencyContext.Default.GetRuntimeAssemblyNames(runtimeIdentifier).
---------
Co-authored-by: tomas-sexenian <tsexenian@genexus.com>1 parent 4310766 commit 692396a
File tree
21 files changed
+4477
-1641
lines changed- dotnet
- src
- dotnetcore
- GxNetCoreStartup
- GxPdfReportsCS
- dotnetframework
- GxClasses
- Core
- Model
- GxPdfReportsCS
- test
- DotNetCoreUnitTest
- DotNetPdfTest
- DotNetUnitTest/PDF
21 files changed
+4477
-1641
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
252 | 254 | | |
253 | 255 | | |
254 | 256 | | |
| |||
603 | 605 | | |
604 | 606 | | |
605 | 607 | | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
606 | 612 | | |
607 | 613 | | |
608 | 614 | | |
| |||
722 | 728 | | |
723 | 729 | | |
724 | 730 | | |
| 731 | + | |
725 | 732 | | |
726 | 733 | | |
727 | 734 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | | - | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
0 commit comments