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
| Signature | Description |
|---|---|
convert(document: Document, options: HtmlSaveOptions) → String | Converts the given PDF document to an HTML string. |
mapFontToCSS(pdfFontName: String) → String | Maps a PDF font name to a CSS font-family string. |
escapeHtml(text: String) → String | Escapes special HTML characters in text. |