\PdfCrowd
Synopsis
class PdfCrowd
{
- // constants
- const SINGLE_PAGE = 1;
- const CONTINUOUS = 2;
- const CONTINUOUS_FACING = 3;
- const NONE_VISIBLE = 1;
- const THUMBNAILS_VISIBLE = 2;
- const FULLSCREEN = 3;
- const FIT_WIDTH = 1;
- const FIT_HEIGHT = 2;
- const FIT_PAGE = 3;
- // members
- private $fields;
- private static string $client_version = "2.6";
- private static integer $http_port = 80;
- private static integer $https_port = 443;
- private static string $api_host = 'pdfcrowd.com';
- private static string $missing_curl = 'pdfcrowd.php requires cURL which is not installed on your system. How to install: Windows: uncomment/add the "extension=php_curl.dll" line in php.ini Linux: should be a part of the distribution, e.g. on Debian/Ubuntu run "sudo apt-get install php5-curl" You need to restart your web server after installation. Links: Installing the PHP/cURL binding: <http://curl.haxx.se/libcurl/php/install.html> PHP/cURL documentation: <http://cz.php.net/manual/en/book.curl.php>';
- // methods
- public void __construct()
- public void convertHtml()
- public void convertFile()
- public void convertURI()
- public void numTokens()
- public void useSSL()
- public void setPageWidth()
- public void setPageHeight()
- public void setHorizontalMargin()
- public void setVerticalMargin()
- public void setPageMargins()
- public void setEncrypted()
- public void setUserPassword()
- public void setOwnerPassword()
- public void setNoPrint()
- public void setNoModify()
- public void setNoCopy()
- public void setPageLayout()
- public void setPageMode()
- public void setFooterText()
- public void enableImages()
- public void enableBackgrounds()
- public void setHtmlZoom()
- public void enableJavaScript()
- public void enableHyperlinks()
- public void setDefaultTextEncoding()
- public void usePrintMedia()
- public void setMaxPages()
- public void enablePdfcrowdLogo()
- public void setInitialPdfZoomType()
- public void setInitialPdfExactZoom()
- public void setPdfScalingFactor()
- public void setAuthor()
- public void setFailOnNon200()
- public void setFooterHtml()
- public void setFooterUrl()
- public void setHeaderHtml()
- public void setHeaderUrl()
- public void setPageBackgroundColor()
- public void setTransparentBackground()
- public void setPageNumberingOffset()
- public void setHeaderFooterPageExcludeList()
- public void setWatermark()
- public void setWatermarkRotation()
- public void setWatermarkInBackground()
- public void setProxy()
- public void setUserAgent()
- private void http_post()
- private void receive_to_stream()
- private void set_or_unset()
Constants
Name | Value |
---|---|
SINGLE_PAGE | 1 |
CONTINUOUS | 2 |
CONTINUOUS_FACING | 3 |
NONE_VISIBLE | 1 |
THUMBNAILS_VISIBLE | 2 |
FULLSCREEN | 3 |
FIT_WIDTH | 1 |
FIT_HEIGHT | 2 |
FIT_PAGE | 3 |
Members
private
- $api_host
- $client_version
- $fields
- $http_port
- $https_port
- $missing_curl
Methods
private
public
- __construct()
- convertFile()
- convertHtml()
- convertURI()
- enableBackgrounds()
- enableHyperlinks()
- enableImages()
- enableJavaScript()
- enablePdfcrowdLogo()
- numTokens()
- setAuthor()
- setDefaultTextEncoding()
- setEncrypted()
- setFailOnNon200()
- setHeaderHtml()
- setHeaderUrl()
- setHorizontalMargin()
- setHtmlZoom()
- setInitialPdfExactZoom()
- setInitialPdfZoomType()
- setMaxPages()
- setNoCopy()
- setNoModify()
- setNoPrint()
- setOwnerPassword()
- setPageBackgroundColor()
- setPageHeight()
- setPageLayout()
- setPageMargins()
- setPageMode()
- setPageNumberingOffset()
- setPageWidth()
- setPdfScalingFactor()
- setProxy()
- setTransparentBackground()
- setUserAgent()
- setUserPassword()
- setVerticalMargin()
- setWatermark()
- setWatermarkInBackground()
- setWatermarkRotation()
- usePrintMedia()
- useSSL()