com.aspose.html.converters

Class Converter

  • java.lang.Object
    • com.aspose.html.converters.Converter


  • public class Converter
    extends java.lang.Object

    Shared facade only for most often conversion scenarios. It includes template merging, html conversions as well as epub and svg conversion to XPS, PDF and Image files. More specific conversion (rendering, saving) user cases are presented by well known and documented low level API functions

    • Constructor Detail

      • Converter

        public Converter()
    • Method Detail

      • convertTemplate

        public static void convertTemplate(HTMLDocument template,
                                           TemplateData data,
                                           TemplateLoadOptions options,
                                           java.lang.String outputPath)

        Merge html template with user data. Result is html file.

        Parameters:
        template - Source skeleton html doc.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        outputPath - Output file path.
      • convertTemplate

        public static void convertTemplate(Url url,
                                           TemplateData data,
                                           TemplateLoadOptions options,
                                           java.lang.String outputPath)

        Merge html template with user data. Result is html file.

        Parameters:
        url - Template source document URL.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        outputPath - Output file path.
      • convertTemplate

        public static void convertTemplate(Url url,
                                           Configuration configuration,
                                           TemplateData data,
                                           TemplateLoadOptions options,
                                           java.lang.String outputPath)

        Merge html template with user data. Result is html file.

        Parameters:
        url - Template source document URL.
        configuration - The environment configuration.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        outputPath - Output file path.
      • convertTemplate

        public static void convertTemplate(java.lang.String sourcePath,
                                           TemplateData data,
                                           TemplateLoadOptions options,
                                           java.lang.String outputPath)

        Merge html template with user data. Result is html file.

        Parameters:
        sourcePath - Path to template source html file.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        outputPath - Output file path.
      • convertTemplate

        public static void convertTemplate(java.lang.String sourcePath,
                                           Configuration configuration,
                                           TemplateData data,
                                           TemplateLoadOptions options,
                                           java.lang.String outputPath)

        Merge html template with user data. Result is html file.

        Parameters:
        sourcePath - Path to template source html file.
        configuration - The environment configuration.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        outputPath - Output file path.
      • convertTemplate

        public static void convertTemplate(java.lang.String content,
                                           java.lang.String baseUrl,
                                           TemplateData data,
                                           TemplateLoadOptions options,
                                           java.lang.String outputPath)

        Merge html template with user data. Result is html file.

        Parameters:
        content - Inline html template - skeleton.
        baseUrl - Base URI of the html template.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        outputPath - Output file path.
      • convertTemplate

        public static void convertTemplate(java.lang.String content,
                                           java.lang.String baseUrl,
                                           Configuration configuration,
                                           TemplateData data,
                                           TemplateLoadOptions options,
                                           java.lang.String outputPath)

        Merge html template with user data. Result is html file.

        Parameters:
        content - Inline html template - skeleton.
        baseUrl - Base URI of the html template.
        configuration - The environment configuration.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        outputPath - Output file path.
      • convertTemplate

        public static HTMLDocument convertTemplate(HTMLDocument template,
                                                   TemplateData data,
                                                   TemplateLoadOptions options)

        Merge html template with user data. Result is HTMLDocument.

        Parameters:
        template - Source skeleton html doc.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        Returns:
        Conversion result HTMLDocument.
      • convertTemplate

        public static HTMLDocument convertTemplate(Url url,
                                                   TemplateData data,
                                                   TemplateLoadOptions options)

        Merge html template with user data. Result is HTMLDocument.

        Parameters:
        url - Template source document URL.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        Returns:
        Conversion result HTMLDocument.
      • convertTemplate

        public static HTMLDocument convertTemplate(Url url,
                                                   Configuration configuration,
                                                   TemplateData data,
                                                   TemplateLoadOptions options)

        Merge html template with user data. Result is HTMLDocument.

        Parameters:
        url - Template source document URL.
        configuration - The environment configuration.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        Returns:
        Conversion result HTMLDocument.
      • convertTemplate

        public static HTMLDocument convertTemplate(java.lang.String sourcePath,
                                                   TemplateData data,
                                                   TemplateLoadOptions options)

        Merge html template with user data. Result is HTMLDocument.

        Parameters:
        sourcePath - Path to template source html file.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        Returns:
        Conversion result HTMLDocument.
      • convertTemplate

        public static HTMLDocument convertTemplate(java.lang.String sourcePath,
                                                   Configuration configuration,
                                                   TemplateData data,
                                                   TemplateLoadOptions options)

        Merge html template with user data. Result is HTMLDocument.

        Parameters:
        sourcePath - Path to template source html file.
        configuration - The environment configuration.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        Returns:
        Conversion result HTMLDocument.
      • convertTemplate

        public static HTMLDocument convertTemplate(java.lang.String content,
                                                   java.lang.String baseUrl,
                                                   TemplateData data,
                                                   TemplateLoadOptions options)

        Merge html template with user data. Result is HTMLDocument.

        Parameters:
        content - Inline html template - skeleton.
        baseUrl - Base URI of the html template.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        Returns:
        Conversion result HTMLDocument.
      • convertTemplate

        public static HTMLDocument convertTemplate(java.lang.String content,
                                                   java.lang.String baseUrl,
                                                   Configuration configuration,
                                                   TemplateData data,
                                                   TemplateLoadOptions options)

        Merge html template with user data. Result is HTMLDocument.

        Parameters:
        content - Inline html template - skeleton.
        baseUrl - Base URI of the html template.
        configuration - The environment configuration.
        data - Data for merging (XML, JSON).
        options - Merging options object.
        Returns:
        Conversion result HTMLDocument.
      • convertHTML

        public static void convertHTML(HTMLDocument document,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        document - Conversion source HTMLDocument.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(Url url,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(Url url,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        sourcePath - Html file source path.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        sourcePath - Html file source path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(HTMLDocument document,
                                       PdfSaveOptions options,
                                       java.util.Collection<java.io.InputStream> source)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • convertHTML

        public static void convertHTML(Url url,
                                       PdfSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(Url url,
                                       PdfSaveOptions options,
                                       java.util.Collection<java.io.InputStream> source)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • convertHTML

        public static void convertHTML(Url url,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(Url url,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       java.util.Collection<java.io.InputStream> source)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       PdfSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        sourcePath - Html file source path.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        sourcePath - Html file source path.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       PdfSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source document to PDF. Result is pdf file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(HTMLDocument document,
                                       MHTMLSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to mhtml. Result is mhtml file.

        Parameters:
        document - Conversion source.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(Url url,
                                       MHTMLSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to mhtml. Result is mhtml file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(Url url,
                                       Configuration configuration,
                                       MHTMLSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to mhtml. Result is mhtml file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       MHTMLSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to mhtml. Result is mhtml file.

        Parameters:
        sourcePath - Html file source path.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       Configuration configuration,
                                       MHTMLSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to mhtml. Result is mhtml file.

        Parameters:
        sourcePath - Html file source path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       MHTMLSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to mhtml. Result is mhtml file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       Configuration configuration,
                                       MHTMLSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to mhtml. Result is mhtml file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(HTMLDocument document,
                                       MarkdownSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to markdown. Result is md file.

        Parameters:
        document - Conversion source.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(Url url,
                                       MarkdownSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source to markdown. Result is md file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(Url url,
                                       Configuration configuration,
                                       MarkdownSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source to markdown. Result is md file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       MarkdownSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source to markdown. Result is md file.

        Parameters:
        sourcePath - Html file source path.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       Configuration configuration,
                                       MarkdownSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source to markdown. Result is md file.

        Parameters:
        sourcePath - Html file source path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       MarkdownSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source to markdown. Result is md file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       Configuration configuration,
                                       MarkdownSaveOptions options,
                                       java.lang.String outputPath)

        Convert html source to markdown. Result is md file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(HTMLDocument document,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to xps. Result is xps file.

        Parameters:
        document - Conversion source.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(Url url,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to xps. Result is xps file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(Url url,
                                       Configuration configuration,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to xps. Result is xps file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to xps. Result is xps file.

        Parameters:
        sourcePath - Html file source path.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       Configuration configuration,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to xps. Result is xps file.

        Parameters:
        sourcePath - Html file source path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to xps. Result is xps file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       Configuration configuration,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to xps. Result is xps file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(HTMLDocument document,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to xps. Result is xps file.

        Parameters:
        document - Conversion source.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(HTMLDocument document,
                                       XpsSaveOptions options,
                                       java.util.Collection<java.io.InputStream> source)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • convertHTML

        public static void convertHTML(Url url,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to xps. Result is xps file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(Url url,
                                       Configuration configuration,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to xps. Result is xps file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to xps. Result is xps file.

        Parameters:
        sourcePath - Html file source path.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       Configuration configuration,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to xps. Result is xps file.

        Parameters:
        sourcePath - Html file source path.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to xps. Result is xps file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       Configuration configuration,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to xps. Result is xps file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(HTMLDocument document,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to image. Result is image file.

        Parameters:
        document - Conversion source.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(Url url,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to image. Result is image file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(Url url,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to image. Result is image file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to image. Result is image file.

        Parameters:
        sourcePath - Html file source path.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to image. Result is image file.

        Parameters:
        sourcePath - Html file source path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to image. Result is image file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert html document to image. Result is image file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertHTML

        public static void convertHTML(HTMLDocument document,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to image. Result is image file.

        Parameters:
        document - Conversion source.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(HTMLDocument document,
                                       ImageSaveOptions options,
                                       java.util.Collection<java.io.InputStream> source)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • convertHTML

        public static void convertHTML(Url url,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to image. Result is image file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(Url url,
                                       ImageSaveOptions options,
                                       java.util.Collection<java.io.InputStream> source)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • convertHTML

        public static void convertHTML(Url url,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to image. Result is image file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(Url url,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       java.util.Collection<java.io.InputStream> source)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to image. Result is image file.

        Parameters:
        sourcePath - Html file source path.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       ImageSaveOptions options,
                                       java.util.Collection<java.io.InputStream> source)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • convertHTML

        public static void convertHTML(java.lang.String sourcePath,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to image. Result is image file.

        Parameters:
        sourcePath - Html file source path.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to image. Result is image file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertHTML

        public static void convertHTML(java.lang.String content,
                                       java.lang.String baseUri,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert html source to image. Result is image file.

        Parameters:
        content - Inline string html content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(SVGDocument source,
                                      XpsSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg document to xps.Result is xps file.

        Parameters:
        source - Conversion source.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(Url url,
                                      XpsSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to xps. Result is xps file.

        Parameters:
        url - Source document URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(Url url,
                                      Configuration configuration,
                                      XpsSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to xps. Result is xps file.

        Parameters:
        url - Source document URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(java.lang.String sourcePath,
                                      XpsSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to xps. Result is xps file.

        Parameters:
        sourcePath - Svg file source path.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(java.lang.String sourcePath,
                                      Configuration configuration,
                                      XpsSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to xps. Result is xps file.

        Parameters:
        sourcePath - Svg file source path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(java.lang.String content,
                                      java.lang.String baseUri,
                                      XpsSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to xps. Result is xps file.

        Parameters:
        content - Inline string svg content.
        baseUri - The base URI of the document.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(java.lang.String content,
                                      java.lang.String baseUri,
                                      Configuration configuration,
                                      XpsSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to xps. Result is xps file.

        Parameters:
        content - Inline string svg content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(SVGDocument document,
                                      XpsSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to xps. Result is xps file.

        Parameters:
        document - Conversion source.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(Url url,
                                      XpsSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to xps. Result is xps file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(Url url,
                                      Configuration configuration,
                                      XpsSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to xps. Result is xps file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(java.lang.String sourcePath,
                                      XpsSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to xps. Result is xps file.

        Parameters:
        sourcePath - Svg file source path.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(java.lang.String sourcePath,
                                      Configuration configuration,
                                      XpsSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to xps. Result is xps file.

        Parameters:
        sourcePath - Svg file source path.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(java.lang.String content,
                                      java.lang.String baseUri,
                                      XpsSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to xps. Result is xps file.

        Parameters:
        content - Inline string svg content.
        baseUri - The base URI of the document.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(java.lang.String content,
                                      java.lang.String baseUri,
                                      Configuration configuration,
                                      XpsSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to xps. Result is xps file.

        Parameters:
        content - Inline string svg content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(SVGDocument source,
                                      PdfSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        source - Conversion source.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(Url url,
                                      PdfSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(Url url,
                                      Configuration configuration,
                                      PdfSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(java.lang.String sourcePath,
                                      PdfSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        sourcePath - Svg file source path.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(java.lang.String sourcePath,
                                      Configuration configuration,
                                      PdfSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        sourcePath - Svg file source path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(java.lang.String content,
                                      java.lang.String baseUri,
                                      PdfSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        content - Inline string svg content.
        baseUri - The base URI of the document.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(java.lang.String content,
                                      java.lang.String baseUri,
                                      Configuration configuration,
                                      PdfSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        content - Inline string svg content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(SVGDocument document,
                                      PdfSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        document - Conversion source.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(SVGDocument document,
                                      PdfSaveOptions options,
                                      java.util.Collection<java.io.InputStream> providedInputStreams)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • convertSVG

        public static void convertSVG(Url url,
                                      PdfSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(Url url,
                                      Configuration configuration,
                                      PdfSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(java.lang.String sourcePath,
                                      PdfSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        sourcePath - Svg file source path.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(java.lang.String sourcePath,
                                      Configuration configuration,
                                      PdfSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        sourcePath - Svg file source path.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(java.lang.String content,
                                      java.lang.String baseUri,
                                      PdfSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        content - Source document content.
        baseUri - The base URI of the document.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(java.lang.String content,
                                      java.lang.String baseUri,
                                      Configuration configuration,
                                      PdfSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to pdf. Result is pdf file.

        Parameters:
        content - Inline string svg content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(SVGDocument source,
                                      ImageSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg document to image. Result is image file.

        Parameters:
        source - Conversion source.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(Url url,
                                      ImageSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg document to image. Result is image file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(Url url,
                                      Configuration configuration,
                                      ImageSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg document to image. Result is image file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(java.lang.String sourcePath,
                                      ImageSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg document to image. Result is image file.

        Parameters:
        sourcePath - Svg file source path.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(java.lang.String sourcePath,
                                      Configuration configuration,
                                      ImageSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg document to image. Result is image file.

        Parameters:
        sourcePath - Svg file source path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(java.lang.String content,
                                      java.lang.String baseUri,
                                      ImageSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg document to image. Result is image file.

        Parameters:
        content - Inline string svg content.
        baseUri - The base URI of the document.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(java.lang.String content,
                                      java.lang.String baseUri,
                                      Configuration configuration,
                                      ImageSaveOptions options,
                                      java.lang.String outputPath)

        Convert svg document to image. Result is image file.

        Parameters:
        content - Inline string svg content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertSVG

        public static void convertSVG(SVGDocument document,
                                      ImageSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to image. Result is image file.

        Parameters:
        document - Conversion source.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(Url url,
                                      ImageSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to image. Result is image file.

        Parameters:
        url - The document URL.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(Url url,
                                      Configuration configuration,
                                      ImageSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to image. Result is image file.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(java.lang.String sourcePath,
                                      ImageSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to image. Result is image file.

        Parameters:
        sourcePath - Svg file source path.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(java.lang.String sourcePath,
                                      Configuration configuration,
                                      ImageSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to image. Result is image file.

        Parameters:
        sourcePath - Svg file source path.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(java.lang.String content,
                                      java.lang.String baseUri,
                                      ImageSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to image. Result is image file.

        Parameters:
        content - Inline string svg content.
        baseUri - The base URI of the document.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(java.lang.String content,
                                      java.lang.String baseUri,
                                      Configuration configuration,
                                      ImageSaveOptions options,
                                      ICreateStreamProvider provider)

        Convert svg source to image. Result is image file.

        Parameters:
        content - Inline string svg content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertSVG

        public static void convertSVG(SVGDocument document,
                                      XpsSaveOptions options,
                                      java.util.Collection<java.io.InputStream> source)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • convertSVG

        public static void convertSVG(SVGDocument document,
                                      ImageSaveOptions options,
                                      java.util.Collection<java.io.InputStream> source)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • convertEPUB

        public static void convertEPUB(java.io.InputStream stream,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to xps. Result is xps file.

        Parameters:
        stream - Conversion source.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(java.lang.String sourcePath,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to xps. Result is xps file.

        Parameters:
        sourcePath - Conversion source path.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(Url sourceUrl,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to xps. Result is xps file.

        Parameters:
        sourceUrl - The source URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(java.io.InputStream stream,
                                       Configuration configuration,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to xps. Result is xps file.

        Parameters:
        stream - Conversion source.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(java.lang.String sourcePath,
                                       Configuration configuration,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to xps. Result is xps file.

        Parameters:
        sourcePath - Conversion epub source file path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(Url sourceUrl,
                                       Configuration configuration,
                                       XpsSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to xps. Result is xps file.

        Parameters:
        sourceUrl - The source URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(java.io.InputStream stream,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to xps. Result is xps file.

        Parameters:
        stream - Conversion source.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(java.lang.String sourcePath,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to xps. Result is xps file.

        Parameters:
        sourcePath - Conversion epub source file path.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(Url sourceUrl,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to xps. Result is xps file.

        Parameters:
        sourceUrl - The source URL.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(java.io.InputStream stream,
                                       Configuration configuration,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to xps. Result is xps file.

        Parameters:
        stream - Conversion source.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(java.lang.String sourcePath,
                                       Configuration configuration,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to xps. Result is xps file.

        Parameters:
        sourcePath - Conversion epub source file path.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(Url sourceUrl,
                                       Configuration configuration,
                                       XpsSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to xps. Result is xps file.

        Parameters:
        sourceUrl - The source URL.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(java.io.InputStream stream,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to pdf. Result is pdf file.

        Parameters:
        stream - Conversion source.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(java.lang.String sourcePath,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to pdf. Result is pdf file.

        Parameters:
        sourcePath - Conversion epub source file path.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(Url sourceUrl,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to pdf. Result is pdf file.

        Parameters:
        sourceUrl - The source URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(java.io.InputStream stream,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to pdf. Result is pdf file.

        Parameters:
        stream - Conversion source.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(java.lang.String sourcePath,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to pdf. Result is pdf file.

        Parameters:
        sourcePath - Conversion epub source file path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(Url sourceUrl,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to pdf. Result is pdf file.

        Parameters:
        sourceUrl - The source URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(java.io.InputStream stream,
                                       PdfSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to pdf. Result is pdf file.

        Parameters:
        stream - Conversion source.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(java.lang.String sourcePath,
                                       PdfSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to pdf. Result is pdf file.

        Parameters:
        sourcePath - Conversion epub source file path.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(Url sourceUrl,
                                       PdfSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to pdf. Result is pdf file.

        Parameters:
        sourceUrl - The source URL.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(java.io.InputStream stream,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to pdf. Result is pdf file.

        Parameters:
        stream - Conversion source.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(java.lang.String sourcePath,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to pdf. Result is pdf file.

        Parameters:
        sourcePath - Conversion epub source file path.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(Url sourceUrl,
                                       Configuration configuration,
                                       PdfSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to pdf. Result is pdf file.

        Parameters:
        sourceUrl - The source URL.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(java.io.InputStream stream,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to image. Result is image file.

        Parameters:
        stream - Conversion source.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(java.lang.String sourcePath,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to image. Result is image file.

        Parameters:
        sourcePath - Conversion epub source file path.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(Url sourceUrl,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to image. Result is image file.

        Parameters:
        sourceUrl - The source URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(java.io.InputStream stream,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to image. Result is image file.

        Parameters:
        stream - Conversion source.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(java.lang.String sourcePath,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to image. Result is image file.

        Parameters:
        sourcePath - Conversion epub source file path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(Url sourceUrl,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       java.lang.String outputPath)

        Convert epub source to image. Result is image file.

        Parameters:
        sourceUrl - The source URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertEPUB

        public static void convertEPUB(java.io.InputStream stream,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to image. Result is image file.

        Parameters:
        stream - Conversion source.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(java.lang.String sourcePath,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to image. Result is image file.

        Parameters:
        sourcePath - Conversion epub source file path.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(Url sourceUrl,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to image. Result is image file.

        Parameters:
        sourceUrl - The source URL.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(java.io.InputStream stream,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to image. Result is image file.

        Parameters:
        stream - Conversion source.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(java.lang.String sourcePath,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to image. Result is image file.

        Parameters:
        sourcePath - Conversion epub source file path.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(Url sourceUrl,
                                       Configuration configuration,
                                       ImageSaveOptions options,
                                       ICreateStreamProvider provider)

        Convert epub source to image. Result is image file.

        Parameters:
        sourceUrl - The source URL.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertEPUB

        public static void convertEPUB(java.io.InputStream inputStream,
                                       PdfSaveOptions options,
                                       java.util.Collection<java.io.InputStream> source)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • convertEPUB

        public static void convertEPUB(java.io.InputStream inputStream,
                                       XpsSaveOptions options,
                                       java.util.Collection<java.io.InputStream> source)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • convertEPUB

        public static void convertEPUB(java.io.InputStream inputStream,
                                       ImageSaveOptions options,
                                       java.util.Collection<java.io.InputStream> source)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • convertMarkdown

        public static HTMLDocument convertMarkdown(java.io.InputStream stream,
                                                   java.lang.String baseUri)

        Convert Markdown source to html. Result is HTMLDocument.

        Parameters:
        stream - Conversion source.
        baseUri - The base URI of the document.
        Returns:
        Conversion result HTMLDocument.
      • convertMarkdown

        public static HTMLDocument convertMarkdown(java.io.InputStream stream,
                                                   java.lang.String baseUri,
                                                   Configuration configuration)

        Convert Markdown source to html. Result is HTMLDocument.

        Parameters:
        stream - Conversion source.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        Returns:
        Conversion result HTMLDocument.
      • convertMarkdown

        public static void convertMarkdown(java.io.InputStream stream,
                                           java.lang.String baseUri,
                                           java.lang.String outputPath)

        Convert Markdown source to html. Result is html file.

        Parameters:
        stream - Conversion source.
        baseUri - The base URI of the document.
        outputPath - Output file path.
      • convertMarkdown

        public static void convertMarkdown(java.io.InputStream stream,
                                           java.lang.String baseUri,
                                           Configuration configuration,
                                           java.lang.String outputPath)

        Convert Markdown source to html. Result is html file.

        Parameters:
        stream - Conversion source.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
        outputPath - Output file path.
      • convertMarkdown

        public static HTMLDocument convertMarkdown(java.lang.String sourcePath)

        Convert Markdown source to html. Result is HTMLDocument.

        Parameters:
        sourcePath - Path to source Markdown file.
        Returns:
        Conversion result HTMLDocument.
      • convertMarkdown

        public static HTMLDocument convertMarkdown(java.lang.String sourcePath,
                                                   Configuration configuration)

        Convert Markdown source to html. Result is HTMLDocument.

        Parameters:
        sourcePath - Path to source Markdown file.
        configuration - The environment configuration.
        Returns:
        Conversion result HTMLDocument.
      • convertMarkdown

        public static void convertMarkdown(java.lang.String sourcePath,
                                           java.lang.String outputPath)

        Convert Markdown source to html. Result is html file.

        Parameters:
        sourcePath - Path to source Markdown file.
        outputPath - Output file path.
      • convertMarkdown

        public static void convertMarkdown(java.lang.String sourcePath,
                                           Configuration configuration,
                                           java.lang.String outputPath)

        Convert Markdown source to html. Result is html file.

        Parameters:
        sourcePath - Path to source Markdown file.
        configuration - The environment configuration.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream stream,
                                        XpsSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to xps. Result is xps file.

        Parameters:
        stream - Conversion source stream.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.lang.String sourcePath,
                                        XpsSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to xps. Result is xps file.

        Parameters:
        sourcePath - Conversion mhtml source file path.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(Url sourceUrl,
                                        XpsSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to xps. Result is xps file.

        Parameters:
        sourceUrl - The source URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream stream,
                                        Configuration configuration,
                                        XpsSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to xps. Result is xps file.

        Parameters:
        stream - Conversion source stream.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.lang.String sourcePath,
                                        Configuration configuration,
                                        XpsSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to xps. Result is xps file.

        Parameters:
        sourcePath - Conversion mhtml source file path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(Url sourceUrl,
                                        Configuration configuration,
                                        XpsSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to xps. Result is xps file.

        Parameters:
        sourceUrl - The source URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream stream,
                                        XpsSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to xps. Result is xps file.

        Parameters:
        stream - Conversion source stream.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(java.lang.String sourcePath,
                                        XpsSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to xps. Result is xps file.

        Parameters:
        sourcePath - Conversion mhtml source file path.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(Url sourceUrl,
                                        XpsSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to xps. Result is xps file.

        Parameters:
        sourceUrl - The source URL.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream stream,
                                        Configuration configuration,
                                        XpsSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to xps. Result is xps file.

        Parameters:
        stream - Conversion source stream.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(java.lang.String sourcePath,
                                        Configuration configuration,
                                        XpsSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to xps. Result is xps file.

        Parameters:
        sourcePath - Conversion mhtml source file path.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(Url sourceUrl,
                                        Configuration configuration,
                                        XpsSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to xps. Result is xps file.

        Parameters:
        sourceUrl - The source URL.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream stream,
                                        PdfSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to pdf. Result is pdf file.

        Parameters:
        stream - Conversion source stream.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.lang.String sourcePath,
                                        PdfSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to pdf. Result is pdf file.

        Parameters:
        sourcePath - Conversion mhtml source file path.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(Url sourceUrl,
                                        PdfSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to pdf. Result is pdf file.

        Parameters:
        sourceUrl - The source URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream stream,
                                        Configuration configuration,
                                        PdfSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to pdf. Result is pdf file.

        Parameters:
        stream - Conversion source stream.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.lang.String sourcePath,
                                        Configuration configuration,
                                        PdfSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to pdf. Result is pdf file.

        Parameters:
        sourcePath - Conversion mhtml source file path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(Url sourceUrl,
                                        Configuration configuration,
                                        PdfSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to pdf. Result is pdf file.

        Parameters:
        sourceUrl - The source URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream stream,
                                        PdfSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to pdf. Result is pdf file.

        Parameters:
        stream - Conversion source stream.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(java.lang.String sourcePath,
                                        PdfSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to pdf. Result is pdf file.

        Parameters:
        sourcePath - Conversion mhtml source file path.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(Url sourceUrl,
                                        PdfSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to pdf. Result is pdf file.

        Parameters:
        sourceUrl - The source URL.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream stream,
                                        Configuration configuration,
                                        PdfSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to pdf. Result is pdf file.

        Parameters:
        stream - Conversion source stream.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(java.lang.String sourcePath,
                                        Configuration configuration,
                                        PdfSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to pdf. Result is pdf file.

        Parameters:
        sourcePath - Conversion mhtml source file path.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(Url sourceUrl,
                                        Configuration configuration,
                                        PdfSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to pdf. Result is pdf file.

        Parameters:
        sourceUrl - The source URL.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream stream,
                                        ImageSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to image. Result is image file.

        Parameters:
        stream - Conversion source stream.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.lang.String sourcePath,
                                        ImageSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to image. Result is image file.

        Parameters:
        sourcePath - Conversion mhtml source file path.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(Url sourceUrl,
                                        ImageSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to image. Result is image file.

        Parameters:
        sourceUrl - The source URL.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream stream,
                                        Configuration configuration,
                                        ImageSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to image. Result is image file.

        Parameters:
        stream - Conversion source stream.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.lang.String sourcePath,
                                        Configuration configuration,
                                        ImageSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to image. Result is image file.

        Parameters:
        sourcePath - Conversion mhtml source file path.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(Url sourceUrl,
                                        Configuration configuration,
                                        ImageSaveOptions options,
                                        java.lang.String outputPath)

        Convert mhtml source to image. Result is image file.

        Parameters:
        sourceUrl - The source URL.
        configuration - The environment configuration.
        options - Conversion options.
        outputPath - Output file path.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream stream,
                                        ImageSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to image. Result is image file.

        Parameters:
        stream - Conversion source stream.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(java.lang.String sourcePath,
                                        ImageSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to image. Result is image file.

        Parameters:
        sourcePath - Conversion mhtml source file path.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(Url sourceUrl,
                                        ImageSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to image. Result is image file.

        Parameters:
        sourceUrl - The source URL.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream stream,
                                        Configuration configuration,
                                        ImageSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to image. Result is image file.

        Parameters:
        stream - Conversion source stream.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(java.lang.String sourcePath,
                                        Configuration configuration,
                                        ImageSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to image. Result is image file.

        Parameters:
        sourcePath - Conversion mhtml source file path.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(Url sourceUrl,
                                        Configuration configuration,
                                        ImageSaveOptions options,
                                        ICreateStreamProvider provider)

        Convert mhtml source to image. Result is image file.

        Parameters:
        sourceUrl - The source URL.
        configuration - The environment configuration.
        options - Conversion options.
        provider - Implementation of the ICreateStreamProvider interface, which will be used to get an output stream.
      • convertMHTML

        public static void convertMHTML(java.io.InputStream fileInputStream,
                                        PdfSaveOptions options,
                                        java.util.Collection<java.io.InputStream> source)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • convertMHTML

        public static void convertMHTML(java.io.InputStream fileInputStream,
                                        XpsSaveOptions options,
                                        java.util.Collection<java.io.InputStream> source)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • convertMHTML

        public static void convertMHTML(java.io.InputStream fileInputStream,
                                        ImageSaveOptions options,
                                        java.util.Collection<java.io.InputStream> source)
                                 throws java.io.IOException
        Throws:
        java.io.IOException