Modifier and Type | Method and Description |
---|---|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setAuthor(java.lang.String author)
Set the author of the PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setBlockAds(boolean blockAds)
Try to block ads.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setCenterWindow(boolean centerWindow)
Specify whether to position the document's window in the center of the screen.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setClientCertificate(java.lang.String clientCertificate)
A client certificate to authenticate Pdfcrowd converter on your web server.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setClientCertificatePassword(java.lang.String clientCertificatePassword)
A password for PKCS12 file with a client certificate if it is needed.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setContentArea(java.lang.String x,
java.lang.String y,
java.lang.String width,
java.lang.String height)
Set the content area position and size.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setContentAreaHeight(java.lang.String contentAreaHeight)
Set the height of the content area.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setContentAreaWidth(java.lang.String contentAreaWidth)
Set the width of the content area.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setContentAreaX(java.lang.String contentAreaX)
Set the top left X coordinate of the content area.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setContentAreaY(java.lang.String contentAreaY)
Set the top left Y coordinate of the content area.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setConvertImagesToJpeg(java.lang.String convertImagesToJpeg)
Specify which image types will be converted to JPEG.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setCookies(java.lang.String cookies)
Set cookies that are sent in Pdfcrowd HTTP requests.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setCustomHttpHeader(java.lang.String customHttpHeader)
Set a custom HTTP header that is sent in Pdfcrowd HTTP requests.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setCustomJavascript(java.lang.String customJavascript)
Run a custom JavaScript after the document is loaded and ready to print.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDebugLog(boolean debugLog)
Turn on the debug logging.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDefaultEncoding(java.lang.String defaultEncoding)
Set the default HTML content text encoding.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDisableImageLoading(boolean disableImageLoading)
Do not load images.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDisableJavascript(boolean disableJavascript)
Do not execute JavaScript.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDisableRemoteFonts(boolean disableRemoteFonts)
Disable loading fonts from remote sources.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDisableSmartShrinking(boolean disableSmartShrinking)
Disable the intelligent shrinking strategy that tries to optimally fit the HTML contents to a PDF page.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDisplayTitle(boolean displayTitle)
Specify whether the window's title bar should display the document title.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setElementToConvert(java.lang.String selectors)
Convert only the specified element from the main document and its children.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setElementToConvertMode(java.lang.String mode)
Specify the DOM handling when only a part of the document is converted.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setEncrypt(boolean encrypt)
Encrypt the PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setExcludeFooterOnPages(java.lang.String pages)
The page footer is not printed on the specified pages.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setExcludeHeaderOnPages(java.lang.String pages)
The page header is not printed on the specified pages.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setFailOnAnyUrlError(boolean failOnError)
Abort the conversion if any of the sub-request HTTP status code is greater than or equal to 400 or if some sub-requests are still pending.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setFailOnMainUrlError(boolean failOnError)
Abort the conversion if the main URL HTTP status code is greater than or equal to 400.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setFitWindow(boolean fitWindow)
Specify whether to resize the document's window to fit the size of the first displayed page.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setFooterHeight(java.lang.String footerHeight)
Set the footer height.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setFooterHtml(java.lang.String footerHtml)
Use the specified HTML as the page footer.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setFooterUrl(java.lang.String footerUrl)
Load an HTML code from the specified URL and use it as the page footer.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHeaderFooterScaleFactor(int headerFooterScaleFactor)
Set the scaling factor (zoom) for the header and footer.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHeaderHeight(java.lang.String headerHeight)
Set the header height.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHeaderHtml(java.lang.String headerHtml)
Use the specified HTML code as the page header.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHeaderUrl(java.lang.String headerUrl)
Load an HTML code from the specified URL and use it as the page header.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHideMenubar(boolean hideMenubar)
Specify whether to hide the viewer application's menu bar when the document is active.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHideToolbar(boolean hideToolbar)
Specify whether to hide the viewer application's tool bars when the document is active.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHideWindowUi(boolean hideWindowUi)
Specify whether to hide user interface elements in the document's window (such as scroll bars and navigation controls), leaving only the document's contents displayed.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHttpAuth(java.lang.String userName,
java.lang.String password)
Set credentials to access HTTP base authentication protected websites.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHttpAuthPassword(java.lang.String password)
Set the HTTP authentication password.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHttpAuthUserName(java.lang.String userName)
Set the HTTP authentication user name.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHttpProxy(java.lang.String httpProxy)
A proxy server used by Pdfcrowd conversion process for accessing the source URLs with HTTP scheme.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHttpsProxy(java.lang.String httpsProxy)
A proxy server used by Pdfcrowd conversion process for accessing the source URLs with HTTPS scheme.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setImageDpi(int imageDpi)
Set the DPI of images in PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setInitialPage(int initialPage)
Display the specified page when the document is opened.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setInitialZoom(int initialZoom)
Specify the initial page zoom in percents when the document is opened.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setInitialZoomType(java.lang.String initialZoomType)
Specify how the page should be displayed when opened.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setJavascriptDelay(int javascriptDelay)
Wait the specified number of milliseconds to finish all JavaScript after the document is loaded.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setJpegQuality(int jpegQuality)
Set the quality of embedded JPEG images.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setKeywords(java.lang.String keywords)
Associate keywords with the document.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setLinearize(boolean linearize)
Create linearized PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMarginBottom(java.lang.String marginBottom)
Set the output page bottom margin.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMarginLeft(java.lang.String marginLeft)
Set the output page left margin.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMarginRight(java.lang.String marginRight)
Set the output page right margin.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMarginTop(java.lang.String marginTop)
Set the output page top margin.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMultipageBackground(java.lang.String multipageBackground)
Apply each page of the specified PDF to the background of the corresponding page of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMultipageWatermark(java.lang.String multipageWatermark)
Apply each page of the specified watermark PDF to the corresponding page of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoBackground(boolean noBackground)
Do not print the background graphics.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoCopy(boolean noCopy)
Disallow text and graphics extraction from the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoMargins(boolean noMargins)
Disable page margins.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoModify(boolean noModify)
Disallow modification of the ouput PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoPrint(boolean noPrint)
Disallow printing of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoXpdfcrowdHeader(boolean noXpdfcrowdHeader)
Do not send the X-Pdfcrowd HTTP header in Pdfcrowd HTTP requests.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setOnLoadJavascript(java.lang.String onLoadJavascript)
Run a custom JavaScript right after the document is loaded.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setOrientation(java.lang.String orientation)
Set the output page orientation.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setOwnerPassword(java.lang.String ownerPassword)
Protect the PDF with an owner password.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageBackground(java.lang.String pageBackground)
Apply the first page of the specified PDF to the background of every page of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageBackgroundColor(java.lang.String pageBackgroundColor)
The page background color in RGB or RGBA hexadecimal format.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageDimensions(java.lang.String width,
java.lang.String height)
Set the output page dimensions.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageHeight(java.lang.String pageHeight)
Set the output page height.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageLayout(java.lang.String pageLayout)
Specify the page layout to be used when the document is opened.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageMargins(java.lang.String top,
java.lang.String right,
java.lang.String bottom,
java.lang.String left)
Set the output page margins.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageMode(java.lang.String pageMode)
Specify how the document should be displayed when opened.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageNumberingOffset(int offset)
Set an offset between physical and logical page numbers.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageSize(java.lang.String pageSize)
Set the output page size.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageWatermark(java.lang.String pageWatermark)
Apply the first page of the watermark PDF to every page of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageWidth(java.lang.String pageWidth)
Set the output page width.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPrintPageRange(java.lang.String pages)
Set the page range to print.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setProxy(java.lang.String host,
int port,
java.lang.String userName,
java.lang.String password)
Specifies an HTTP proxy that the API client library will use to connect to the internet.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setRenderingMode(java.lang.String renderingMode)
Set the rendering mode.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setRetryCount(int retryCount)
Specifies the number of retries when the 502 HTTP status code is received.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setRightToLeft(boolean rightToLeft)
Set the predominant reading order for text to right-to-left.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setScaleFactor(int scaleFactor)
Set the scaling factor (zoom) for the main page area.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setSmartScalingMode(java.lang.String smartScalingMode)
Specifies the scaling mode used for fitting the HTML contents to the print area.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setSubject(java.lang.String subject)
Set the subject of the PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setTag(java.lang.String tag)
Tag the conversion with a custom value.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setTitle(java.lang.String title)
Set the title of the PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setUseHttp(boolean useHttp)
Specifies if the client communicates over HTTP or HTTPS with Pdfcrowd API.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setUsePrintMedia(boolean usePrintMedia)
Use the print version of the page if available (@media print).
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setUserAgent(java.lang.String userAgent)
Set a custom user agent HTTP header.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setUserPassword(java.lang.String userPassword)
Protect the PDF with a user password.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setVerifySslCertificates(boolean verifySslCertificates)
Do not allow insecure HTTPS connections.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setViewport(int width,
int height)
Set the viewport size.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setViewportHeight(int viewportHeight)
Set the viewport height in pixels.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setViewportWidth(int viewportWidth)
Set the viewport width in pixels.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setWaitForElement(java.lang.String selectors)
Wait for the specified element in a source document.
|
Copyright © 2019. All rights reserved.