public class CHtmlConverter
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CHtmlConverter.CErrorCode |
static class |
CHtmlConverter.GeneratorLicenseErrorCode |
| Constructor and Description |
|---|
CHtmlConverter() |
| Modifier and Type | Method and Description |
|---|---|
static CHtmlConverter.CErrorCode |
ConvertToPdf(java.io.File html,
java.io.File pdfFile) |
static CHtmlConverter.CErrorCode |
ConvertToPdf(java.io.File html,
java.io.File pdfFile,
CConverterProperties converterProperties) |
static CHtmlConverter.CErrorCode |
ConvertToPdf(java.io.InputStream htmlStream,
java.io.OutputStream pdfStream) |
static CHtmlConverter.CErrorCode |
ConvertToPdf(java.io.InputStream htmlStream,
java.io.OutputStream pdfStream,
CConverterProperties converterProperties) |
static CHtmlConverter.CErrorCode |
ConvertToPdf(java.lang.String html,
java.io.OutputStream stream)
Convert HTML string to PDF stream.
|
static CHtmlConverter.CErrorCode |
ConvertToPdf(java.lang.String html,
java.io.OutputStream stream,
CConverterProperties converterProperties)
Convert HTML string to PDF stream.
|
static CHtmlConverter.CErrorCode |
ConvertToPdf(java.lang.String htmlPath,
java.lang.String pdfPath) |
static CHtmlConverter.CErrorCode |
ConvertToPdf(java.lang.String htmlPath,
java.lang.String pdfPath,
CConverterProperties converterProperties) |
static CHtmlConverter.CErrorCode |
HtmlRenderTemplate(java.io.File htmlFile,
java.io.File jsonFile,
java.io.File renderHtmlFile) |
static CHtmlConverter.CErrorCode |
HtmlRenderTemplate(java.io.InputStream htmlStream,
java.io.InputStream jsonStream,
java.io.OutputStream renderHtmlStream) |
static CHtmlConverter.CErrorCode |
HtmlRenderTemplate(java.lang.String htmlPath,
java.lang.String jsonPath,
java.lang.String renderHtmlPath) |
static java.lang.String |
HtmlStrRenderTemplate(java.lang.String html,
java.lang.String json) |
static CHtmlConverter.CErrorCode |
RenderAndConvertToPdf(java.io.File htmlFile,
java.io.File jsonFile,
java.io.File pdfFile) |
static CHtmlConverter.CErrorCode |
RenderAndConvertToPdf(java.io.File htmlFile,
java.io.File jsonFile,
java.io.File pdfFile,
CConverterProperties converterProperties) |
static CHtmlConverter.CErrorCode |
RenderAndConvertToPdf(java.io.InputStream htmlStream,
java.io.InputStream jsonStream,
java.io.OutputStream pdfStream) |
static CHtmlConverter.CErrorCode |
RenderAndConvertToPdf(java.io.InputStream htmlStream,
java.io.InputStream jsonStream,
java.io.OutputStream pdfStream,
CConverterProperties converterProperties) |
static CHtmlConverter.CErrorCode |
RenderAndConvertToPdf(java.lang.String html,
java.lang.String json,
java.io.OutputStream pdfStream) |
static CHtmlConverter.CErrorCode |
RenderAndConvertToPdf(java.lang.String html,
java.lang.String json,
java.io.OutputStream pdfStream,
CConverterProperties converterProperties) |
static CHtmlConverter.CErrorCode |
RenderAndConvertToPdf(java.lang.String htmlPath,
java.lang.String jsonPath,
java.lang.String pdfPath) |
static CHtmlConverter.CErrorCode |
RenderAndConvertToPdf(java.lang.String htmlPath,
java.lang.String jsonPath,
java.lang.String pdfPath,
CConverterProperties converterProperties) |
public static CHtmlConverter.CErrorCode ConvertToPdf(java.lang.String html, java.io.OutputStream stream)
html - HTML contentstream - PDF output stream.public static CHtmlConverter.CErrorCode ConvertToPdf(java.lang.String html, java.io.OutputStream stream, CConverterProperties converterProperties)
html - HTML contentstream - The pdf output stream.converterProperties - ConverterProperties instancepublic static CHtmlConverter.CErrorCode ConvertToPdf(java.io.File html, java.io.File pdfFile)
html - HTML filepdfFile - PDF file that contains result.public static CHtmlConverter.CErrorCode ConvertToPdf(java.io.File html, java.io.File pdfFile, CConverterProperties converterProperties)
html - HTML filepdfFile - PDF file that contains result.converterProperties - ConverterProperties instancepublic static CHtmlConverter.CErrorCode ConvertToPdf(java.io.InputStream htmlStream, java.io.OutputStream pdfStream)
htmlStream - HTML input streampdfStream - PDF output streampublic static CHtmlConverter.CErrorCode ConvertToPdf(java.io.InputStream htmlStream, java.io.OutputStream pdfStream, CConverterProperties converterProperties)
htmlStream - HTML input streampdfStream - PDF output streamconverterProperties - ConverterProperties instancepublic static CHtmlConverter.CErrorCode ConvertToPdf(java.lang.String htmlPath, java.lang.String pdfPath)
htmlPath - HTML file pathpdfPath - PDF file pathpublic static CHtmlConverter.CErrorCode ConvertToPdf(java.lang.String htmlPath, java.lang.String pdfPath, CConverterProperties converterProperties)
htmlPath - HTML file pathpdfPath - PDF file pathconverterProperties - ConverterProperties instancepublic static java.lang.String HtmlStrRenderTemplate(java.lang.String html,
java.lang.String json)
html - HTML content stringjson - JSON stringpublic static CHtmlConverter.CErrorCode HtmlRenderTemplate(java.io.File htmlFile, java.io.File jsonFile, java.io.File renderHtmlFile)
htmlFile - HTML filejsonFile - JSON filerenderHtmlFile - Render html filepublic static CHtmlConverter.CErrorCode HtmlRenderTemplate(java.io.InputStream htmlStream, java.io.InputStream jsonStream, java.io.OutputStream renderHtmlStream)
htmlStream - HTML input streamjsonStream - JSON input streamrenderHtmlStream - Reender html streampublic static CHtmlConverter.CErrorCode HtmlRenderTemplate(java.lang.String htmlPath, java.lang.String jsonPath, java.lang.String renderHtmlPath)
htmlPath - HTML pathjsonPath - JSON pathrenderHtmlPath - Render html pathpublic static CHtmlConverter.CErrorCode RenderAndConvertToPdf(java.lang.String html, java.lang.String json, java.io.OutputStream pdfStream)
html - HTML content stringjson - JSON stringpdfStream - PDF output streampublic static CHtmlConverter.CErrorCode RenderAndConvertToPdf(java.lang.String html, java.lang.String json, java.io.OutputStream pdfStream, CConverterProperties converterProperties)
html - HTML content stringjson - JSON stringpdfStream - PDF output streamconverterProperties - CConverterProperties instancepublic static CHtmlConverter.CErrorCode RenderAndConvertToPdf(java.io.File htmlFile, java.io.File jsonFile, java.io.File pdfFile)
htmlFile - HTML filejsonFile - JSON filepdfFile - PDF filepublic static CHtmlConverter.CErrorCode RenderAndConvertToPdf(java.io.File htmlFile, java.io.File jsonFile, java.io.File pdfFile, CConverterProperties converterProperties)
htmlFile - HTML filejsonFile - JSON filepdfFile - PDF fileconverterProperties - CConverterProperties instancepublic static CHtmlConverter.CErrorCode RenderAndConvertToPdf(java.io.InputStream htmlStream, java.io.InputStream jsonStream, java.io.OutputStream pdfStream)
htmlStream - HTML input streamjsonStream - JSON input streampdfStream - PDF output streampublic static CHtmlConverter.CErrorCode RenderAndConvertToPdf(java.io.InputStream htmlStream, java.io.InputStream jsonStream, java.io.OutputStream pdfStream, CConverterProperties converterProperties)
htmlStream - HTML input streamjsonStream - JSON input streampdfStream - PDF output streamconverterProperties - CConverterProperties instancepublic static CHtmlConverter.CErrorCode RenderAndConvertToPdf(java.lang.String htmlPath, java.lang.String jsonPath, java.lang.String pdfPath)
htmlPath - HTML pathjsonPath - JSON pathpdfPath - PDF pathpublic static CHtmlConverter.CErrorCode RenderAndConvertToPdf(java.lang.String htmlPath, java.lang.String jsonPath, java.lang.String pdfPath, CConverterProperties converterProperties)
htmlPath - HTML pathjsonPath - JSON pathpdfPath - PDF pathconverterProperties - CConverterProperties instance