Summary: Methods | Inherited Methods | [Expand All]
public static class

# PDFCompat.HTML2PDF

extends Object

java.lang.Object
↳ | com.pdftron.pdf.PDFCompat.HTML2PDF

## Summary

Public Methods
static boolean | Convert(long doc, String url, long settings)
static boolean | Convert(long impl, long doc)
static boolean | Convert(long doc, String url)
static void | Destroy(long impl)
static void | DumpOutline(long impl, String xml_file)
static int | GetHTTPErrorCode(long impl)
static String | GetLog(long impl)
static long | HTML2PDFCreate()
static void | InsertFromHtmlString(long impl, String html, long settings)
static void | InsertFromHtmlString(long impl, String html)
static void | InsertFromURL(long impl, String url, long settings)
static void | InsertFromURL(long impl, String url)
static void | InsertTOC(long impl, long settings)
static void | InsertTOC(long impl)
static long | ProxyCreate()
static void | ProxyDestroy(long impl)
static void | ProxySetHost(long impl, String host)
static void | ProxySetPassword(long impl, String password)
static void | ProxySetPort(long impl, int port)
static void | ProxySetType(long impl, int type)
static void | ProxySetUsername(long impl, String username)
static void | SetAllowJavaScript(long impl, boolean enable)
static void | SetAllowPlugins(long impl, boolean enable)
static void | SetBlockLocalFileAccess(long impl, boolean block)
static void | SetCaptionText(long impl, String caption)
static void | SetCookieJar(long impl, String path)
static void | SetDPI(long impl, int dpi)
static void | SetDebugJavaScriptOutput(long impl, boolean forward)
static void | SetDefaultEncoding(long impl, String encoding)
static void | SetDottedLines(long impl, boolean enable)
static void | SetExternalLinks(long impl, boolean convert)
static void | SetImageDPI(long impl, int dpi)
static void | SetImageQuality(long impl, int quality)
static void | SetIncludeInOutline(long impl, boolean include)
static void | SetInternalLinks(long impl, boolean convert)
static void | SetJavaScriptDelay(long impl, int msec)
static void | SetLandscape(long impl, boolean enable)
static void | SetLevelIndentation(long impl, int indentation)
static void | SetLinks(long impl, boolean enable)
static void | SetLoadErrorHandling(long impl, int type)
static void | SetLoadImages(long impl, boolean load)
static void | SetMargins(long impl, String top, String bottom, String left, String right)
static void | SetMinimumFontSize(long impl, int size)
static void | SetModulePath(String path)
static void | SetOutline(long impl, boolean enable, int depth)
static void | SetPDFCompression(long impl, boolean enable)
static void | SetPaperSize(long impl, String width, String height)
static void | SetPaperSize(long impl, int size)
static void | SetPassword(long impl, String password)
static void | SetPrintBackground(long impl, boolean background)
static void | SetPrintMediaType(long impl, boolean print)
static void | SetProduceForms(long impl, boolean forms)
static void | SetProxy(long impl, long proxy)
static void | SetQuiet(long impl, boolean quiet)
static void | SetSmartShrinking(long impl, boolean enable)
static void | SetStopSlowScripts(long impl, boolean stop)
static void | SetTextSizeShrink(long impl, double shrink)
static void | SetUserStyleSheet(long impl, String url)
static void | SetUsername(long impl, String username)
static void | SetXsl(long impl, String style_sheet)
static void | SetZoom(long impl, double zoom)
static long | TOCCreate()
static void | TOCDestroy(long impl)
static long | WebPageSettingsCreate()
static void | WebPageSettingsDestroy(long impl)

[Expand] Inherited Methods
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Methods

#### public static boolean Convert (long doc, String url, long settings)

##### Throws

PDFNetException |

#### public static boolean Convert (long impl, long doc)

##### Throws

PDFNetException |

#### public static boolean Convert (long doc, String url)

##### Throws

PDFNetException |

#### public static void Destroy (long impl)

##### Throws

PDFNetException |

#### public static void DumpOutline (long impl, String xml_file)

##### Throws

PDFNetException |

#### public static int GetHTTPErrorCode (long impl)

##### Throws

PDFNetException |

#### public static String GetLog (long impl)

##### Throws

PDFNetException |

#### public static long HTML2PDFCreate ()

##### Throws

PDFNetException |

#### public static void InsertFromHtmlString (long impl, String html, long settings)

##### Throws

PDFNetException |

#### public static void InsertFromHtmlString (long impl, String html)

##### Throws

PDFNetException |

#### public static void InsertFromURL (long impl, String url, long settings)

##### Throws

PDFNetException |

#### public static void InsertFromURL (long impl, String url)

##### Throws

PDFNetException |

#### public static void InsertTOC (long impl, long settings)

##### Throws

PDFNetException |

#### public static void InsertTOC (long impl)

##### Throws

PDFNetException |

#### public static long ProxyCreate ()

##### Throws

PDFNetException |

#### public static void ProxyDestroy (long impl)

##### Throws

PDFNetException |

#### public static void ProxySetHost (long impl, String host)

##### Throws

PDFNetException |

#### public static void ProxySetPassword (long impl, String password)

##### Throws

PDFNetException |

#### public static void ProxySetPort (long impl, int port)

##### Throws

PDFNetException |

#### public static void ProxySetType (long impl, int type)

##### Throws

PDFNetException |

#### public static void ProxySetUsername (long impl, String username)

##### Throws

PDFNetException |

#### public static void SetAllowJavaScript (long impl, boolean enable)

##### Throws

PDFNetException |

#### public static void SetAllowPlugins (long impl, boolean enable)

##### Throws

PDFNetException |

#### public static void SetBlockLocalFileAccess (long impl, boolean block)

##### Throws

PDFNetException |

#### public static void SetCaptionText (long impl, String caption)

##### Throws

PDFNetException |

#### public static void SetCookieJar (long impl, String path)

##### Throws

PDFNetException |

#### public static void SetDPI (long impl, int dpi)

##### Throws

PDFNetException |

#### public static void SetDebugJavaScriptOutput (long impl, boolean forward)

##### Throws

PDFNetException |

#### public static void SetDefaultEncoding (long impl, String encoding)

##### Throws

PDFNetException |

#### public static void SetDottedLines (long impl, boolean enable)

##### Throws

PDFNetException |

#### public static void SetExternalLinks (long impl, boolean convert)

##### Throws

PDFNetException |

#### public static void SetImageDPI (long impl, int dpi)

##### Throws

PDFNetException |

#### public static void SetImageQuality (long impl, int quality)

##### Throws

PDFNetException |

#### public static void SetIncludeInOutline (long impl, boolean include)

##### Throws

PDFNetException |

#### public static void SetInternalLinks (long impl, boolean convert)

##### Throws

PDFNetException |

#### public static void SetJavaScriptDelay (long impl, int msec)

##### Throws

PDFNetException |

#### public static void SetLandscape (long impl, boolean enable)

##### Throws

PDFNetException |

#### public static void SetLevelIndentation (long impl, int indentation)

##### Throws

PDFNetException |

#### public static void SetLinks (long impl, boolean enable)

##### Throws

PDFNetException |

#### public static void SetLoadErrorHandling (long impl, int type)

##### Throws

PDFNetException |

#### public static void SetLoadImages (long impl, boolean load)

##### Throws

PDFNetException |

#### public static void SetMargins (long impl, String top, String bottom, String left, String right)

##### Throws

PDFNetException |

#### public static void SetMinimumFontSize (long impl, int size)

##### Throws

PDFNetException |

#### public static void SetModulePath (String path)

##### Throws

PDFNetException |

#### public static void SetOutline (long impl, boolean enable, int depth)

##### Throws

PDFNetException |

#### public static void SetPDFCompression (long impl, boolean enable)

##### Throws

PDFNetException |

#### public static void SetPaperSize (long impl, String width, String height)

##### Throws

PDFNetException |

#### public static void SetPaperSize (long impl, int size)

##### Throws

PDFNetException |

#### public static void SetPassword (long impl, String password)

##### Throws

PDFNetException |

#### public static void SetPrintBackground (long impl, boolean background)

##### Throws

PDFNetException |

#### public static void SetPrintMediaType (long impl, boolean print)

##### Throws

PDFNetException |

#### public static void SetProduceForms (long impl, boolean forms)

##### Throws

PDFNetException |

#### public static void SetProxy (long impl, long proxy)

##### Throws

PDFNetException |

#### public static void SetQuiet (long impl, boolean quiet)

##### Throws

PDFNetException |

#### public static void SetSmartShrinking (long impl, boolean enable)

##### Throws

PDFNetException |

#### public static void SetStopSlowScripts (long impl, boolean stop)

##### Throws

PDFNetException |

#### public static void SetTextSizeShrink (long impl, double shrink)

##### Throws

PDFNetException |

#### public static void SetUserStyleSheet (long impl, String url)

##### Throws

PDFNetException |

#### public static void SetUsername (long impl, String username)

##### Throws

PDFNetException |

#### public static void SetXsl (long impl, String style_sheet)

##### Throws

PDFNetException |

#### public static void SetZoom (long impl, double zoom)

##### Throws

PDFNetException |

#### public static long TOCCreate ()

##### Throws

PDFNetException |

#### public static void TOCDestroy (long impl)

##### Throws

PDFNetException |

#### public static long WebPageSettingsCreate ()

##### Throws

PDFNetException |

#### public static void WebPageSettingsDestroy (long impl)

##### Throws

PDFNetException |