iText 7.1.8 is the quarterly release for iText 7 Core/Community. This release includes support for XFDF, a much anticipated .NET documentation improvement, a community produced Pull Request (thank you JorisJ!), and improvements to the p dfHTML, pdfXFA and pdf2Data add-ons.
We’re pleased to announce iText 7.1.8, our latest quarterly release. Despite the minor release number, we think it counts as a pretty significant update as in addition to various improvements and bug fixes in our layout and kernel modules, iText 7.1.8 adds support for XFDF and better SVG handling.
In addition there's also a new and improved layout for our API page including the highly anticipated .NET API documentation (we are also adding more and more .NET examples on our GitHub repo).
Please be advised that we did a tiny bit of API breakage on PdfPolyGeomAnnotation, where we had to remove getType(), so if you inherit it, you must override it (sorry!).
A special shout out to JorisJ, who submitted a Pull Request that was incorporated into this release.
XFDF examples
To demonstrate the new XFDF functionality we've created the following Java and .NET examples for creating and filling forms:
Java
Creating an XFDF file
Filling a form
Filling a form from a list
.NET
Creating an XFDF file
Filling a form
Filling a form from a list
New features
Improvement
- SVG: use structural comparison instead of visual comparison in tests.
- Build configuration for porting (with pushing ported branches) custom branches in all autoportable repositories.
- Improve flushing of HtmlDocumentRenderer.
- Expose TypographyUtils#isPdfCalligraphAvailable to allow an easy check of whether layout is aware of pdfCallighraph.
- itext7 PR #41: Use starting bytes to check if byte[] is WmfImage.
- Update tests ignored because of SNAPSHOT being written to extracted images.
Bug
- SVG: Incorrect path closing leads to incorrect filling.
- PdfXFA does not evaluate the javascript attached to a text field that sets the text field to that file's name.
- pdfXFA: Invisible element's occupied area is not taken into account.
- pdfXFA: implement JsDoc#getDataObject.
- Javadoc error in pdfHTML: missing CommonCssConstants#FONT_ABSOLUTE_SIZE_KEYWORDS.
- pdfHTML: Incorrect total number of pages is calculated when counter(pages) is used with page-break-before:always on <body>.
- Page size defined in @page rule is not parsed correctly for landscape/portrait orientations if the default size is landscape.
- pdfHTML Readme file has a bad link to releases.
- HyphenateResultTest#hindiHyphResult fails on Jenkins on Linux with StackOverflowError.
- IndexOutOfBoundsException in Table widths calculation.
- layout: NPE while splitting a row (applying vertical alignment on a splitted cell).
- PdfLayer#getIntents fails in case of multiple intents for the layer instance.
- RegexBasedLocationExtractionStrategy returns height of 0 on rotated page.
- kernel: incorrect page boundary keys are used for VIEW_CLIP, PRINT_AREA, PRINT_CLIP constants.
- Reduce stack size requirements when hyphenating strings in some of the languages.
Tasks
- Exclude private parameterless constructors from code coverage analysis.