PdfToHtmlConverter

PdfToHtmlConverter

Overview

PdfToHtmlConverter is a class in Aspose.PDF FOSS for Java.

Converts a PDF {@link Document} to HTML markup.

This class provides 3 methods for working with PdfToHtmlConverter objects in Java programs. Available methods include: convert, escapeHtml, mapFontToCSS. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.

Methods

SignatureDescription
convert(document: Document, options: HtmlSaveOptions)StringConverts the given PDF document to an HTML string.
mapFontToCSS(pdfFontName: String)StringMaps a PDF font name to a CSS font-family string.
escapeHtml(text: String)StringEscapes special HTML characters in text.

See Also

 English