YaHP Converter

Software Screenshot:
YaHP Converter
Software Details:
Version: 1.3
Upload Date: 15 Apr 15
Developer: Quentin Anciaux
Distribution Type: Freeware
Downloads: 3

Rating: nan/5 (Total Votes: 0)

YaHP Converter is a Java library that can convert an HTML document into a PDF document.

YaHP is licensed under the LGPL (GNU).

Method Summary

void convertToPdf(java.lang.String content, IHtmlToPdfTransformer.PageSize size, java.util.List hf, java.lang.String urlForBase, java.io.OutputStream out)

Convert the document in content in a PDF file.

void convertToPdf(java.net.URL url, IHtmlToPdfTransformer.PageSize size, java.util.List hf, java.io.OutputStream out)

Convert the document pointed by url in a PDF file.

private java.net.URL copyToTemp(java.net.URL url)

Copy the file pointed to url in the temp directory

private void init()

initialize the classloader, and the transforme.

What is new in this release:

  • This version updates third party libraries to their latest or most compliant version: Flying Saucer 16/04/2011, iText 2.1.7, Apache Log4j 1.2.16, JTidy r938, Shanidom 1.4.17, and Jaxen 1.1.1.
  • It removes the Apache Commons IO and Apache Commons Log libraries, which are not needed anymore.
  • It removes extra calls in charge of adding a document producer, since they are no longer applicable, and gets rid of deprecated constants.
  • The source code has moved to github.

What is new in version 1.2.20c:

  • Reverted to the previous itext and flying saucer librairies due to a licensing problem.
  • This version is LGPL; the previous is licensed as a whole under the AGPL.

What is new in version 1.2.20b:

  • This version will not validate HTML and will not download the XHTML DTD from the W3 site.
  • A bug has been fixed in entities normalization.
  • Remote CSS has been inlined into a style element inside the document.
  • itext and flying saucer libraries have been updated to the latest versions.

What is new in version 1.2.20:

  • Better handling of ms word generated html.
  • Html document is normalized (entities are translated in characters) before rendering.
  • Handle page break tag even if namespace declaration is missing

What is new in version 1.2.19c:

  • Can change page size and orientation after a page break.
  • If the title tag is set in the html, it is used for the pdf title.
  • Added LEGAL and LETTER constant for page size

What is new in version 1.2.19b:

  • Fixed Out Of Memory Error when a textarea was present in the html source.

What is new in version 1.2.19a:

  • This release fixes incorrect page size when a page break is inserted.

What is new in version 1.2.19:

  • Headers and footers can contain HTML.
  • There are updated samples.
  • Old renderers have been removed.

Requirements:

  • Java 2 Standard Edition Runtime Environment

Similar Software

xslet / xsltester
xslet / xsltester

14 Apr 15

Apache XML-RPC
Apache XML-RPC

14 Apr 15

JCAM Engine
JCAM Engine

3 Jun 15

eLML
eLML

14 Apr 15

Comments to YaHP Converter

Comments not found
Add Comment
Turn on images!