class Pdf2swf extends Binary

The Pdf2Swf adapter

Constants

CONVERT_POLY2BITMAP

CONVERT_BITMAP

OPTION_LINKS_DISABLE

OPTION_LINKS_OPENNEWWINDOW

OPTION_ZLIB_ENABLE

OPTION_ZLIB_DISABLE

OPTION_ENABLE_SIMPLEVIEWER

OPTION_DISABLE_SIMPLEVIEWER

Methods

string|null
getVersion()

Try to get the version of the binary. If the detection fails, return null

from Binary
getName()

{@inheritdoc}

toSwf(string $pathfile, string $outputFile, array $options = array(), string $convertType = self::CONVERT_POLY2BITMAP, integer $resolution = 72, integer $pageRange = '1-', integer $frameRate = 15, integer $jpegquality = 75, integer $timelimit = null)

Transcode a PDF to SWF

static Pdf2swf
create(array|ConfigurationInterface $conf = array(), LoggerInterface $logger = null)

Creates the Pdf2swf binary driver

Details

in Binary at line 28
string|null getVersion()

Try to get the version of the binary. If the detection fails, return null

Return Value

string|null

at line 38
getName()

{@inheritdoc}

at line 61
Pdf2swf toSwf(string $pathfile, string $outputFile, array $options = array(), string $convertType = self::CONVERT_POLY2BITMAP, integer $resolution = 72, integer $pageRange = '1-', integer $frameRate = 15, integer $jpegquality = 75, integer $timelimit = null)

Transcode a PDF to SWF

Parameters

string $pathfile
string $outputFile
array $options
string $convertType
integer $resolution
integer $pageRange
integer $frameRate
integer $jpegquality
integer $timelimit The time limit for the process (deprecated)

Return Value

Pdf2swf

Exceptions

InvalidArgumentException

at line 153
static Pdf2swf create(array|ConfigurationInterface $conf = array(), LoggerInterface $logger = null)

Creates the Pdf2swf binary driver

Parameters

array|ConfigurationInterface $conf
LoggerInterface $logger

Return Value

Pdf2swf

Exceptions

ExecutableNotFound In case the executable is not found