Releases: itext/itext-pdfhtml-java
Releases · itext/itext-pdfhtml-java
pdfHTML 2.1.7
2.1.7
iText 7.1.10 brings the first quarterly release of 2020 for the iText 7 family, and coincidentally it's on the day that iText, as a project, turns 20! 🎂🥳
For pdfHTML in particular, we are bringing support for the <lang>
attribute, and it will also benefit from the <marker>
support that has been added to Core.
Tasks
- pdfHTML: convert "lang" attribute into Lang accessibility property for tagged PDF
pdfHTML 2.1.6
2.1.6
Bugs
- Fix an NPE while comparing two fonts on FontSelector level
- Font selector produces lines with unexpected multiple fonts when calligraphy fonts are present
- Explicitly setting dir="ltr" distorts the result of HTML to PDF conversion if pdfCalligraph is loaded for latin text and floating images
Tasks
- Exclude helper classes/methods for internal usage from the public API documentation
- Create tests for surrogate pairs in layout and html2pdf
- Make sure that all add-ons extend ExtendedITextTest
- Make it easier to override default font family for the descendants of BasicFontProvider and DefaultFontProvider
pdfHTML 2.1.5
Improvement
- Improve flushing of HtmlDocumentRenderer.
Bug
- Javadoc error in pdfHTML: missing CommonCssConstants#FONT_ABSOLUTE_SIZE_KEYWORDS.
- Incorrect total number of pages is calculated when counter(pages) is used with page-break-before:always on .
- Page size defined in @page rule is not parsed correctly for landscape/portrait orientations if the default size is landscape.
- Readme file has a bad link to releases.
pdfHTML 2.1.4
- Improve display: inline-block support
- Improve image support within list, div and table items
- Use the baseUri via ConverterProperties if the SVG is nested inside the html
- Support disabled pseudo class for textareas and inputs
- Support SVG images embedded as
<object>
pdfHTML 2.1.3
- Improve handling of inline blocks with display:block.
- Do not reset the alignment for RTL elements if it's present.
- Fix anchor links handling with destinations on elements.
pdfHTML 2.1.2
Features
- support for SVG encoded in a data-uri
- support for a table's caption element
- support for border-radius on img tags
- support for value in list items
Fixes
- incorrect page-margin box dimensions calculation
- bugs related to font providers, RTL, and property inheritance
- "!important" CSS attribute ignores "display:none"
[RELEASE] iText 7 pdfHTML - 2.1.1
/~https://github.com/itext/i7j-pdfhtml/releases/tag/2.1.1 * release/2.1.1: [RELEASE] 2.1.1-SNAPSHOT -> 2.1.1 Add test. DEVSIX-2335 Remove unneeded args from invoke method Update ProductInfo Add new test for handling SVG in <object> tag with inner resources Add test for check resources released after conversion Add processing of calligraphic indic and arabic fonts Free resources after reading them Add some new min/max width test. Update cmps. Fix tests not checking for enough logging messages Use ConverterProperties when converting SVG to PDF. RND-1108 Fixes and tests for Svgs without dimensions Add new ignored tests for vertical alignment of inline blocks Create tests for FontSelector with different font families Fix issues with additional separator in ResourceResolver Update cmp files Update the reset method of FontProvider. Update the default font and the default font-family for an input element. Add tests demonstrating background bug for inner inline elements Remove unnecessary html file. Add a test related to font-family processing. Add a new white-space test. [RELEASE] 2.1.0-SNAPSHOT -> 2.1.1-SNAPSHOT Fix incorrect class passed to logger creation Add a new test related to plain text processing Minor fix for a constant Javadoc Add test
[RELEASE] iText 7 pdfHTML - 2.1.0
/~https://github.com/itext/i7j-pdfhtml/releases/tag/2.1.0 * release/2.1.0: [RELEASE] 2.1.0-SNAPSHOT -> 2.1.0 Add missing copyright headers Implement unicode-range processing. Process li's inline children as inline elements. Process br inside oi correctly. Create test for DEVSIX-2002 SvgDrawContext: add ResourceResolver and FontProvider to constructor Remove collectCssDeclarations form ICssResolver interface RND-1056 Fix typo in test Inline svg integration Add tests for border radius Fix style inheritance change not applied Delete duplicate package that were moved to SXP Add test. DEVSIX-2024 Support event meta info Add a new border radius related test. Update cmps related to span's border radius. Add some new border radius tests. Update cmps. Change placeholder's default font color. Fix some cmps. Add a new test. Add generic event Fix applying page-break-before and page-break-after to tables Refactor time-based system utils to better represent there purpose Updates for autoport Support SVG processing in pdfHTML Update cmp files. DEVSIX-1966 Add ExtendedHtmlConversionITextTest class, refactor html2pdf tests Add missed @Category Support placeholder for textarea tag. Add support for display:block of `label` HTML element Process white-space css property for page margin boxes content Apply font styles in BodyTagCssApplier Remove body font-size from default.css Support background for <html> and <body> tags Fix bug in if-condition for align attribute resolving Implement placeholder. Add new input tests. Add new test for inline elements with border-radius Unignore test Update cmp file [RELEASE] 2.0.2-SNAPSHOT -> 2.0.3-SNAPSHOT
[RELEASE] iText 7 pdfHTML - 1.0.5
/~https://github.com/itext/i7j-pdfhtml/releases/tag/1.0.5 * release/1.0.5: [RELEASE] 1.0.5-SNAPSHOT -> 1.0.5 Add missing copyright headers Process white-space css property for page margin boxes content [RELEASE] 1.0.4-SNAPSHOT -> 1.0.5-SNAPSHOT
[RELEASE] iText 7 pdfHTML - 2.0.2
/~https://github.com/itext/i7j-pdfhtml/releases/tag/2.0.2 * release/2.0.2: [RELEASE] 2.0.2-SNAPSHOT -> 2.0.2 Add new uri resolver tests. Add new tests for border radius with dashed borders Add new ignored test for file sharing. Fix html resource for test Fix processing base url as file url. Major refactoring. Add new tests. Add warning logging for attempts of select field acroforms creation Fix issues with text alignment inside select fields Implement support of select, option and optgroup tags Add new tests for height resolving when height and min/max-height props do not conflict Add support for pseudo elements with display:inline-block Add tests for th scopes Support margins, borders and paddings for <body> and <html> tags Update cmp files Add null check for PdfDocument object. DEVSIX-1873 Add ignored test for absolute position Add tests to TagsInsideButtonTest Fix input's min width processing. Introduce radio input element. Fix checkbox and radio processing. Fix cmps. Process input's height properties as they are. Fix content clipping. Minor refactoring. Fix cmps. Fix javadoc Cast ByteBuffer instances to Buffer to solve compatibility issue Add a new test to demonstrate problem with justified text and word/char spacing Add required scope attribute to TH structElements Add tests for CssEmptySelectorTest and CssRootSelectorTest Add problematic tests Add support for buttons with inner tags Add tests for inline-blocks relative width Improve y-line calculation for elements with property overflow:hidden Add support for `a` tag display inline-block; add tests for inline blocks justification Update tests on text alignment applying when text is wrapping around floats Update cmp file Add basic tests for correct block formatting context handling Add new test for collapsing margins and floating elements Update cmp files Disable collapsing margins of page margin box with it's content Reset waitingElement in HtmlDocumentRenderer before triggerring addChild() Add floats with horizontal overflow and nested floats tests, update cmps Avoid matching of all pseudo-classes selector items for custom nodes and document nodes Add support for :empty pseudo-class Add support for :root pseudo-class Extract pseudo class selector item classes to separate class files Add method that inserts single child to jsoup element Open QueryParser class test updated: html2pdf.css.CssNthChildSelectorTest,CssNthOfTypeSelectorTest test updated: com.itextpdf.html2pdf.HyphenateTest test added: com.itextpdf.html2pdf.HtmlCommentedTest Update maven-javadoc-plugin version Fix javadoc Fix applying CSS styles to contents of counter(page(s)) occurred in "content" property Fix overwritten test resoruces Support nth-of-type, first-of-type, last-of-type pseudo-classes. Add new tests. Refactor minor mistypes and make source and destination pathes consistent. Fix page context features tagging, add tests Add tests with media queries for eliminating discrepancy between browser and pdfHTML rendering Fix floating elements inside links handling, add tests Make running elements empty inline-blocks instead of empty blocks Implement running elements support Fix handling of initial value for border-color properties Fix blocks display passing to other workers from ALinkTagWorker Add a test related to NPE while button rendering. Minor fixes in a view of c# port. Support input tag with "checkbox" type. Add a test. Fix some cmps. Process cellpadding attrubute. Set default border-spacing. Fix cmps. Map dotted border style with round dotted border. Fix cmps. Implement border-collapse. Fix cmps. Add a new forced placement test. Add test: html2pdf.element.TaggedPdfFormTest [RELEASE] 2.0.1-SNAPSHOT -> 2.0.2-SNAPSHOT Fix autoport Fix min-max width calculation for input fields Use correct pdfHTML version in comment Textarea, input, button improvements Add test for different display for form tags Add form fields directly to div Refactor baseline calculations for form fields Signed-off-by: iText Software (Community) <community@itextpdf.com>