File: C:/xampp/htdocs/PDFlib91/bind/php/Eclipse PDT/PDFlib.php
<?php
/* PHP interface description for PDFlib 8
* Copyright (c) PDFlib GmbH 2009
*
* Note that this is only a syntax summary. It covers PDFlib,
* PDFlib+PDI, and PDFlib Personalization Server (PPS).
* For complete information please refer to the PDFlib API reference
* which is available in the PDFlib distribution.
*/
class PDFlibException {
/**
* Get the number of the last thrown exception or the reason for a failed function call.
*/
function get_errnum() {}
/**
* Get the text of the last thrown exception or the reason for a failed function call.
*/
function get_errmsg() {}
/**
* Get the name of the API function which threw the last exception or failed.
*/
function get_apiname() {}
};
class PDFlib {
/**
* Activate a previously created structure element or other content item.
*
* @param int $id
*/
function activate_item($id) {}
/**
* Deprecated, use PDF_create_bookmark().
*
* @param string $text
* @param int $parent
* @param int $open
*/
function add_bookmark($text, $parent, $open) {}
/**
* Deprecated, use PDF_create_action() and PDF_create_annotation().
*
* @param double $llx
* @param double $lly
* @param double $urx
* @param double $ury
* @param string $filename
*/
function add_launchlink($llx, $lly, $urx, $ury, $filename) {}
/**
* Deprecated, use PDF_create_action() and PDF_create_annotation().
*
* @param double $llx
* @param double $lly
* @param double $urx
* @param double $ury
* @param int $page
* @param string $optlist
*/
function add_locallink($llx, $lly, $urx, $ury, $page, $optlist) {}
/**
* Create a named destination on a page in the document.
*
* @param string $name
* @param string $optlist
*/
function add_nameddest($name, $optlist) {}
/**
* Deprecated, use PDF_create_annotation().
*
* @param double $llx
* @param double $lly
* @param double $urx
* @param double $ury
* @param string $contents
* @param string $title
* @param string $icon
* @param int $open
*/
function add_note($llx, $lly, $urx, $ury, $contents, $title, $icon, $open) {}
/**
* Add a point to a new or existing path object.
*
* @param int $path
* @param double $x
* @param double $y
* @param string $type
* @param string $optlist
* @return A path handle which can be used in subsequent path-related calls.
*/
function add_path_point($path, $x, $y, $type, $optlist) {}
/**
* Deprecated, use PDF_create_action() and PDF_create_annotation().
*
* @param double $llx
* @param double $lly
* @param double $urx
* @param double $ury
* @param string $filename
* @param int $page
* @param string $optlist
*/
function add_pdflink($llx, $lly, $urx, $ury, $filename, $page, $optlist) {}
/**
* Add a file to a portfolio folder or a package (requires PDF 1.7).
*
* @param int $folder
* @param string $filename
* @param string $optlist
* @return -1 (in PHP: 0) on error, and 1 otherwise.
*/
function add_portfolio_file($folder, $filename, $optlist) {}
/**
* Add a folder to a new or existing portfolio (requires PDF 1.7ext3).
*
* @param int $parent
* @param string $foldername
* @param string $optlist
* @return A folder handle which can be used in subsequent portfolio-related calls.
*/
function add_portfolio_folder($parent, $foldername, $optlist) {}
/**
* Add a cell to a new or existing table.
*
* @param int $table
* @param int $column
* @param int $row
* @param string $text
* @param string $optlist
* @return A table handle which can be used in subsequent table-related calls.
*/
function add_table_cell($table, $column, $row, $text, $optlist) {}
/**
* Create a Textflow object, or add text and explicit options to an existing Textflow.
*
* @param int $textflow
* @param string $text
* @param string $optlist
* @return A Textflow handle, or -1 (in PHP: 0) on error.
*/
function add_textflow($textflow, $text, $optlist) {}
/**
* Deprecated, is obsolete as Acrobat generates thumbnails on the fly since a long time.
*
* @param int $image
*/
function add_thumbnail($image) {}
/**
* Deprecated, use PDF_create_action() and PDF_create_annotation().
*
* @param double $llx
* @param double $lly
* @param double $urx
* @param double $ury
* @param string $url
*/
function add_weblink($llx, $lly, $urx, $ury, $url) {}
/**
* Align the coordinate system with a relative vector.
*
* @param double $dx
* @param double $dy
*/
function align($dx, $dy) {}
/**
* Draw a counterclockwise circular arc segment.
*
* @param double $x
* @param double $y
* @param double $r
* @param double $alpha
* @param double $beta
*/
function arc($x, $y, $r, $alpha, $beta) {}
/**
* Draw a clockwise circular arc segment.
*
* @param double $x
* @param double $y
* @param double $r
* @param double $alpha
* @param double $beta
*/
function arcn($x, $y, $r, $alpha, $beta) {}
/**
* Deprecated, use PDF_create_annotation().
*
* @param double $llx
* @param double $lly
* @param double $urx
* @param double $ury
* @param string $filename
* @param string $description
* @param string $author
* @param string $mimetype
* @param string $icon
*/
function attach_file($llx, $lly, $urx, $ury, $filename, $description, $author, $mimetype, $icon) {}
/**
* Create a new PDF file subject to various options.
*
* @param string $filename
* @param string $optlist
* @return -1 (in PHP: 0) on error, and 1 otherwise.
*/
function begin_document($filename, $optlist) {}
/**
* Create a new node in the document part hierarchy (requires PDF/VT or PDF 2.0).
*
* @param string $optlist
*/
function begin_dpart($optlist) {}
/**
* Start a Type 3 font definition.
*
* @param string $fontname
* @param double $a
* @param double $b
* @param double $c
* @param double $d
* @param double $e
* @param double $f
* @param string $optlist
*/
function begin_font($fontname, $a, $b, $c, $d, $e, $f, $optlist) {}
/**
* Deprecated, use PDF_begin_glyph_ext().
*
* @param string $glyphname
* @param double $wx
* @param double $llx
* @param double $lly
* @param double $urx
* @param double $ury
*/
function begin_glyph($glyphname, $wx, $llx, $lly, $urx, $ury) {}
/**
* Start a glyph definition for a Type 3 font.
*
* @param int $uv
* @param string $optlist
*/
function begin_glyph_ext($uv, $optlist) {}
/**
* Open a structure element or other content item with attributes supplied as options.
*
* @param string $tagname
* @param string $optlist
* @return An item handle.
*/
function begin_item($tagname, $optlist) {}
/**
* Start a layer for subsequent output on the page (requires PDF 1.5).
*
* @param int $layer
*/
function begin_layer($layer) {}
/**
* Begin a marked content sequence with optional properties.
*
* @param string $tagname
* @param string $optlist
*/
function begin_mc($tagname, $optlist) {}
/**
* Deprecated, use PDF_begin_page_ext().
*
* @param double $width
* @param double $height
*/
function begin_page($width, $height) {}
/**
* Add a new page to the document, and specify various options.
*
* @param double $width
* @param double $height
* @param string $optlist
*/
function begin_page_ext($width, $height, $optlist) {}
/**
* Start a pattern definition.
*
* @param double $width
* @param double $height
* @param double $xstep
* @param double $ystep
* @param int $painttype
* @return A pattern handle.
*/
function begin_pattern($width, $height, $xstep, $ystep, $painttype) {}
/**
* Deprecated, use PDF_begin_template_ext().
*
* @param double $width
* @param double $height
*/
function begin_template($width, $height) {}
/**
* Start a template definition.
*
* @param double $width
* @param double $height
* @param string $optlist
* @return A template handle.
*/
function begin_template_ext($width, $height, $optlist) {}
/**
* Draw a circle.
*
* @param double $x
* @param double $y
* @param double $r
*/
function circle($x, $y, $r) {}
/**
* Draw a circular arc segment defined by three points.
*
* @param double $x_1
* @param double $y_1
* @param double $x_2
* @param double $y_2
*/
function circular_arc($x_1, $y_1, $x_2, $y_2) {}
/**
* Use the current path as clipping path, and terminate the path.
*
*/
function clip() {}
/**
* Deprecated, use PDF_end_document().
*
*/
function close() {}
/**
* Close an open font handle which has not yet been used in the document.
*
* @param int $font
*/
function close_font($font) {}
/**
* Close vector graphics.
*
* @param int $graphics
*/
function close_graphics($graphics) {}
/**
* Close an image or template.
*
* @param int $image
*/
function close_image($image) {}
/**
* Deprecated, use PDF_close_pdi_document().
*
* @param int $doc
*/
function close_pdi($doc) {}
/**
* Close all open PDI page handles, and close the input PDF document.
*
* @param int $doc
*/
function close_pdi_document($doc) {}
/**
* Close the page handle and free all page-related resources.
*
* @param int $page
*/
function close_pdi_page($page) {}
/**
* Close the current path.
*
*/
function closepath() {}
/**
* Close the path, fill, and stroke it.
*
*/
function closepath_fill_stroke() {}
/**
* Close the path, and stroke it.
*
*/
function closepath_stroke() {}
/**
* Apply a transformation matrix to the current coordinate system.
*
* @param double $a
* @param double $b
* @param double $c
* @param double $d
* @param double $e
* @param double $f
*/
function concat($a, $b, $c, $d, $e, $f) {}
/**
* Same as PDF_continue_text(), but with explicit string length.
*
* @param string $text
*/
function continue_text($text) {}
/**
* Convert a string in an arbitrary encoding to a Unicode string in various formats.
*
* @param string $inputformat
* @param string $inputstring
* @param string $optlist
* @return The converted Unicode string.
*/
function convert_to_unicode($inputformat, $inputstring, $optlist) {}
/**
* Create a 3D view (requires PDF 1.6).
*
* @param string $username
* @param string $optlist
* @return A 3D view handle, or -1 (in PHP: 0) on error.
*/
function create_3dview($username, $optlist) {}
/**
* Create an action which can be applied to various objects and events.
*
* @param string $type
* @param string $optlist
* @return An action handle.
*/
function create_action($type, $optlist) {}
/**
* Create an annotation on the current page.
*
* @param double $llx
* @param double $lly
* @param double $urx
* @param double $ury
* @param string $type
* @param string $optlist
*/
function create_annotation($llx, $lly, $urx, $ury, $type, $optlist) {}
/**
* Create a bookmark subject to various options.
*
* @param string $text
* @param string $optlist
* @return A handle for the generated bookmark.
*/
function create_bookmark($text, $optlist) {}
/**
* Create a form field on the current page subject to various options.
*
* @param double $llx
* @param double $lly
* @param double $urx
* @param double $ury
* @param string $name
* @param string $type
* @param string $optlist
*/
function create_field($llx, $lly, $urx, $ury, $name, $type, $optlist) {}
/**
* Create a form field group subject to various options.
*
* @param string $name
* @param string $optlist
*/
function create_fieldgroup($name, $optlist) {}
/**
* Create a graphics state object subject to various options.
*
* @param string $optlist
* @return A graphic state handle.
*/
function create_gstate($optlist) {}
/**
* Create a named virtual read-only file from data provided in memory.
*
* @param string $filename
* @param string $data
* @param string $optlist
*/
function create_pvf($filename, $data, $optlist) {}
/**
* Create a Textflow object from text contents, inline options, and explicit options.
*
* @param string $text
* @param string $optlist
* @return A Textflow handle, or -1 (in PHP: 0) on error.
*/
function create_textflow($text, $optlist) {}
/**
* Draw a Bezier curve from the current point, using 3 more control points.
*
* @param double $x_1
* @param double $y_1
* @param double $x_2
* @param double $y_2
* @param double $x_3
* @param double $y_3
*/
function curveto($x_1, $y_1, $x_2, $y_2, $x_3, $y_3) {}
/**
* Create a new layer definition (requires PDF 1.5).
*
* @param string $name
* @param string $optlist
* @return A layer handle which can be used in subsequent layer-related calls.
*/
function define_layer($name, $optlist) {}
/**
* Delete a path object.
*
* @param int $path
*/
function delete_path($path) {}
/**
* Delete a named virtual file and free its data structures (but not the contents).
*
* @param string $filename
* @return -1 (in PHP: 0) if the virtual file exists but is locked, and 1 otherwise.
*/
function delete_pvf($filename) {}
/**
* Delete a table and all associated data structures.
*
* @param int $table
* @param string $optlist
*/
function delete_table($table, $optlist) {}
/**
* Delete a textflow and all associated data structures.
*
* @param int $textflow
*/
function delete_textflow($textflow) {}
/**
* Draw a path object.
*
* @param int $path
* @param double $x
* @param double $y
* @param string $optlist
*/
function draw_path($path, $x, $y, $optlist) {}
/**
* Draw an ellipse.
*
* @param double $x
* @param double $y
* @param double $rx
* @param double $ry
*/
function ellipse($x, $y, $rx, $ry) {}
/**
* Draw an elliptical arc segment from the current point.
*
* @param double $x
* @param double $y
* @param double $rx
* @param double $ry
* @param string $optlist
*/
function elliptical_arc($x, $y, $rx, $ry, $optlist) {}
/**
* Add a glyph name and/or Unicode value to a custom 8-bit encoding.
*
* @param string $encoding
* @param int $slot
* @param string $glyphname
* @param int $uv
*/
function encoding_set_char($encoding, $slot, $glyphname, $uv) {}
/**
* Close the generated PDF document and apply various options.
*
* @param string $optlist
*/
function end_document($optlist) {}
/**
* Close a node in the document part hierarchy (requires PDF/VT or PDF 2.0).
*
* @param string $optlist
*/
function end_dpart($optlist) {}
/**
* Terminate a Type 3 font definition.
*
*/
function end_font() {}
/**
* Terminate a glyph definition for a Type 3 font.
*
*/
function end_glyph() {}
/**
* Close a structure element or other content item.
*
* @param int $id
*/
function end_item($id) {}
/**
* Deactivate all active layers (requires PDF 1.5).
*
*/
function end_layer() {}
/**
* End the least recently opened marked content sequence.
*
*/
function end_mc() {}
/**
* Deprecated, use PDF_end_page_ext().
*
*/
function end_page() {}
/**
* Finish a page, and apply various options.
*
* @param string $optlist
*/
function end_page_ext($optlist) {}
/**
* Finish a pattern definition.
*
*/
function end_pattern() {}
/**
* Deprecated, use PDF_end_template_ext().
*
*/
function end_template() {}
/**
* Finish a template definition.
*
* @param double $width
* @param double $height
*/
function end_template_ext($width, $height) {}
/**
* End the current path without filling or stroking it.
*
*/
function endpath() {}
/**
* Fill the interior of the path with the current fill color.
*
*/
function fill() {}
/**
* Fill a graphics block with variable data according to its properties.
*
* @param int $page
* @param string $blockname
* @param int $graphics
* @param string $optlist
* @return -1 (in PHP: 0) on error, and 1 otherwise.
*/
function fill_graphicsblock($page, $blockname, $graphics, $optlist) {}
/**
* Fill an image block with variable data according to its properties.
*
* @param int $page
* @param string $blockname
* @param int $image
* @param string $optlist
* @return -1 (in PHP: 0) on error, and 1 otherwise.
*/
function fill_imageblock($page, $blockname, $image, $optlist) {}
/**
* Fill a PDF block with variable data according to its properties.
*
* @param int $page
* @param string $blockname
* @param int $contents
* @param string $optlist
* @return -1 (in PHP: 0) on error, and 1 otherwise.
*/
function fill_pdfblock($page, $blockname, $contents, $optlist) {}
/**
* Fill a Textline or Textflow Block with variable data according to its properties.
*
* @return -1 (in PHP: 0) on error, and 1 otherwise.
*/
function fill_stroke() {}
/**
* Fill a Textline or Textflow Block with variable data according to its properties.
*
* @param int $page
* @param string $blockname
* @param string $text
* @param string $optlist
* @return -1 (in PHP: 0) on error, and 1 otherwise.
*/
function fill_textblock($page, $blockname, $text, $optlist) {}
/**
* Deprecated, use PDF_load_font().
*
* @param string $fontname
* @param string $encoding
* @param int $embed
*/
function findfont($fontname, $encoding, $embed) {}
/**
* Place vector graphics on a content stream, subject to various options.
*
* @param int $graphics
* @param double $x
* @param double $y
* @param string $optlist
*/
function fit_graphics($graphics, $x, $y, $optlist) {}
/**
* Place an image or template on the page, subject to various options.
*
* @param int $image
* @param double $x
* @param double $y
* @param string $optlist
*/
function fit_image($image, $x, $y, $optlist) {}
/**
* Place an imported PDF page on the page subject to various options.
*
* @param int $page
* @param double $x
* @param double $y
* @param string $optlist
*/
function fit_pdi_page($page, $x, $y, $optlist) {}
/**
* Fully or partially place a table on the page.
*
* @param int $table
* @param double $llx
* @param double $lly
* @param double $urx
* @param double $ury
* @param string $optlist
* @return A string which specifies the reason for returning.
*/
function fit_table($table, $llx, $lly, $urx, $ury, $optlist) {}
/**
* Format the next portion of a Textflow.
*
* @param int $textflow
* @param double $llx
* @param double $lly
* @param double $urx
* @param double $ury
* @param string $optlist
* @return A string which specifies the reason for returning.
*/
function fit_textflow($textflow, $llx, $lly, $urx, $ury, $optlist) {}
/**
* Place a single line of text at position (x, y) subject to various options.
*
* @param string $text
* @param double $x
* @param double $y
* @param string $optlist
*/
function fit_textline($text, $x, $y, $optlist) {}
/**
* Get the name of the API function which threw the last exception or failed.
*
* @return Name of an API function.
*/
function get_apiname() {}
/**
* Get the contents of the PDF output buffer.
*
* @return A buffer full of binary PDF data for consumption by the client.
*/
function get_buffer() {}
/**
* Get the text of the last thrown exception or the reason of a failed function call.
*
* @return Text containing the description of the most recent error condition.
*/
function get_errmsg() {}
/**
* Get the number of the last thrown exception or the reason of a failed function call.
*
* @return The error code of the most recent error condition.
*/
function get_errnum() {}
/**
* Retrieve some option or other value.
*
* @param string $keyword
* @param string $optlist
* @return The value of some option value as requested by keyword.
*/
function get_option($keyword, $optlist) {}
/**
* Deprecated, use PDF_get_option() and PDF_get_string().
*
* @param string $key
* @param double $modifier
*/
function get_parameter($key, $modifier) {}
/**
* Deprecated, use PDF_pcos_get_string().
*
* @param string $key
* @param int $doc
* @param int $page
* @param int $reserved
*/
function get_pdi_parameter($key, $doc, $page, $reserved) {}
/**
* Deprecated, use PDF_pcos_get_number().
*
* @param string $key
* @param int $doc
* @param int $page
* @param int $reserved
*/
function get_pdi_value($key, $doc, $page, $reserved) {}
/**
* Retrieve a string value.
*
* @param int $idx
* @param string $optlist
* @return a string identified by a string index returned by another function.
*/
function get_string($idx, $optlist) {}
/**
* Get the value of some PDFlib parameter with numerical type.
*
* @param string $key
* @param double $modifier
* @return The numerical value of the parameter.
*/
function get_value($key, $modifier) {}
/**
* Query detailed information about a loaded font.
*
* @param int $font
* @param string $keyword
* @param string $optlist
* @return The value of some font property as requested by keyword.
*/
function info_font($font, $keyword, $optlist) {}
/**
* Format vector graphics and query metrics and other properties.
*
* @param int $graphics
* @param string $keyword
* @param string $optlist
* @return The value of some graphics metrics as requested by keyword.
*/
function info_graphics($graphics, $keyword, $optlist) {}
/**
* Format an image and query metrics and other image properties.
*
* @param int $image
* @param string $keyword
* @param string $optlist
* @return The value of some image metrics as requested by keyword.
*/
function info_image($image, $keyword, $optlist) {}
/**
* Query information about a matchbox on the current page.
*
* @param string $boxname
* @param int $num
* @param string $keyword
* @return The value of some matchbox parameter as requested by keyword.
*/
function info_matchbox($boxname, $num, $keyword) {}
/**
* Query the results of drawing a path object without actually drawing it.
*
* @param int $path
* @param string $keyword
* @param string $optlist
* @return The value of some geometrical values as requested by keyword.
*/
function info_path($path, $keyword, $optlist) {}
/**
* Perform formatting calculations for a PDI page and query the resulting metrics.
*
* @param int $page
* @param string $keyword
* @param string $optlist
* @return The value of some page metrics as requested by keyword.
*/
function info_pdi_page($page, $keyword, $optlist) {}
/**
* Query properties of a virtual file or the PDFlib Virtual Filesystem (PVF).
*
* @param string $filename
* @param string $keyword
* @return The value of some file parameter as requested by keyword.
*/
function info_pvf($filename, $keyword) {}
/**
* Query table information related to the most recently placed table instance.
*
* @param int $table
* @param string $keyword
* @return The value of some table parameter as requested by keyword.
*/
function info_table($table, $keyword) {}
/**
* Query the current state of a Textflow.
*
* @param int $textflow
* @param string $keyword
* @return The value of some Textflow parameter as requested by keyword.
*/
function info_textflow($textflow, $keyword) {}
/**
* Perform textline formatting without creating output and query the resulting metrics.
*
* @param string $text
* @param string $keyword
* @param string $optlist
* @return The value of some text metric value as requested by keyword.
*/
function info_textline($text, $keyword, $optlist) {}
/**
* Deprecated, use PDF_set_graphics_option().
*
*/
function initgraphics() {}
/**
* Draw a line from the current point to another point.
*
* @param double $x
* @param double $y
*/
function lineto($x, $y) {}
/**
* Load a 3D model from a disk-based or virtual file (requires PDF 1.6).
*
* @param string $filename
* @param string $optlist
* @return A 3D handle, or -1 (in PHP: 0) on error.
*/
function load_3ddata($filename, $optlist) {}
/**
* Load a rich media asset or file attachment from a disk-based or virtual file.
*
* @param string $type
* @param string $filename
* @param string $optlist
* @return An asset handle, or -1 (in PHP: 0) on error.
*/
function load_asset($type, $filename, $optlist) {}
/**
* Search for a font and prepare it for later use.
*
* @param string $fontname
* @param string $encoding
* @param string $optlist
* @return A font handle.
*/
function load_font($fontname, $encoding, $optlist) {}
/**
* Open a disk-based or virtual vector graphics file subject to various options.
*
* @param string $type
* @param string $filename
* @param string $optlist
* @return A graphics handle, or -1 (in PHP: 0) on error.
*/
function load_graphics($type, $filename, $optlist) {}
/**
* Search for an ICC profile, and prepare it for later use.
*
* @param string $profilename
* @param string $optlist
* @return A profile handle.
*/
function load_iccprofile($profilename, $optlist) {}
/**
* Open a disk-based or virtual image file subject to various options.
*
* @param string $imagetype
* @param string $filename
* @param string $optlist
* @return An image handle, or -1 (in PHP: 0) on error.
*/
function load_image($imagetype, $filename, $optlist) {}
/**
* Find a built-in spot color name, or make a named spot color from the current fill color.
*
* @param string $spotname
* @return A color handle.
*/
function makespotcolor($spotname) {}
/**
* Add a marked content point with optional properties.
*
* @param string $tagname
* @param string $optlist
*/
function mc_point($tagname, $optlist) {}
/**
* Set the current point for graphics output.
*
* @param double $x
* @param double $y
*/
function moveto($x, $y) {}
/**
* Deprecated, use PDF_load_image().
*
* @param string $filename
* @param int $width
* @param int $height
* @param int $BitReverse
* @param int $K
* @param int $BlackIs1
*/
function open_CCITT($filename, $width, $height, $BitReverse, $K, $BlackIs1) {}
/**
* Deprecated, use PDF_begin_document().
*
* @param string $filename
*/
function open_file($filename) {}
/**
* Deprecated, use PDF_load_image() with virtual files.
*
* @param string $imagetype
* @param string $source
* @param string $data
* @param int $width
* @param int $height
* @param int $components
* @param int $bpc
* @param string $params
*/
function open_image($imagetype, $source, $data, $width, $height, $components, $bpc, $params) {}
/**
* Deprecated, use PDF_load_image().
*
* @param string $imagetype
* @param string $filename
* @param string $stringparam
* @param int $intparam
*/
function open_image_file($imagetype, $filename, $stringparam, $intparam) {}
/**
* Deprecated, use PDF_open_pdi_document().
*
* @param string $filename
* @param int $filename_len
*/
function open_pdi($filename, $filename_len) {}
/**
* Open a disk-based or virtual PDF document and prepare it for later use.
*
* @param string $filename
* @param string $optlist
* @return A PDI document handle.
*/
function open_pdi_document($filename, $optlist) {}
/**
* Prepare a page for later use with PDF_fit_pdi_page().
*
* @param int $doc
* @param int $pagenumber
* @param string $optlist
* @return A page handle.
*/
function open_pdi_page($doc, $pagenumber, $optlist) {}
/**
* Get the value of a pCOS path with type number or boolean.
*
* @param int $doc
* @param string $path
* @return The numerical value of the object identified by the pCOS path.
*/
function pcos_get_number($doc, $path) {}
/**
* Get the value of a pCOS path with type name, string or boolean.
*
* @param int $doc
* @param string $path
* @return A string with the value of the object identified by the pCOS path.
*/
function pcos_get_string($doc, $path) {}
/**
* Get the contents of a pCOS path with type stream, fstream, or string.
*
* @param int $doc
* @param string $optlist
* @param string $path
* @return The unencrypted data contained in the stream or string.
*/
function pcos_get_stream($doc, $optlist, $path) {}
/**
* Deprecated, use PDF_fit_image().
*
* @param int $image
* @param double $x
* @param double $y
* @param double $scale
*/
function place_image($image, $x, $y, $scale) {}
/**
* Deprecated, use PDF_fit_pdi_page().
*
* @param int $page
* @param double $x
* @param double $y
* @param double $sx
* @param double $sy
*/
function place_pdi_page($page, $x, $y, $sx, $sy) {}
/**
* Delete a PDF container object.
*
* @param int $container
* @param string $optlist
*/
function poca_delete($container, $optlist) {}
/**
* Insert a simple or container object in a PDF container object.
*
* @param int $container
* @param string $optlist
*/
function poca_insert($container, $optlist) {}
/**
* Create a new PDF container object of type dictionary, array, or stream and insert objects.
*
* @param string $optlist
* @return A container handle which can be used until it is deleted with PDF_poca_delete().
*/
function poca_new($optlist) {}
/**
* Remove a simple or container object from a PDF container object.
*
* @param int $container
* @param string $optlist
*/
function poca_remove($container, $optlist) {}
/**
* Process certain elements of an imported PDF document.
*
* @param int $doc
* @param int $page
* @param string $optlist
* @return -1 (in PHP: 0) on error, and 1 otherwise.
*/
function process_pdi($doc, $page, $optlist) {}
/**
* Draw a rectangle.
*
* @param double $x
* @param double $y
* @param double $width
* @param double $height
*/
function rect($x, $y, $width, $height) {}
/**
* Restore the most recently saved graphics state from the stack.
*
*/
function restore() {}
/**
* Resume a page to add more content to it.
*
* @param string $optlist
*/
function resume_page($optlist) {}
/**
* Rotate the coordinate system.
*
* @param double $phi
*/
function rotate($phi) {}
/**
* Save the current graphics state to a stack.
*
*/
function save() {}
/**
* Scale the coordinate system.
*
* @param double $sx
* @param double $sy
*/
function scale($sx, $sy) {}
/**
* Deprecated, use PDF_create_annotation().
*
* @param double $red
* @param double $green
* @param double $blue
*/
function set_border_color($red, $green, $blue) {}
/**
* Deprecated, use PDF_create_annotation().
*
* @param double $b
* @param double $w
*/
function set_border_dash($b, $w) {}
/**
* Deprecated, use PDF_create_annotation().
*
* @param string $style
* @param double $width
*/
function set_border_style($style, $width) {}
/**
* Set one or more graphics appearance options.
*
* @param string $optlist
*/
function set_graphics_option($optlist) {}
/**
* Activate a graphics state object.
*
* @param int $gstate
*/
function set_gstate($gstate) {}
/**
* Like PDF_set_info(), but with explicit string length.
*
* @param string $key
* @param string $value
*/
function set_info($key, $value) {}
/**
* Define layer relationships and variants (requires PDF 1.5).
*
* @param string $type
* @param string $optlist
*/
function set_layer_dependency($type, $optlist) {}
/**
* Set one or more global options.
*
* @param string $optlist
*/
function set_option($optlist) {}
/**
* Deprecated, use PDF_set_option(), PDF_set_text_option() and PDF_set_graphics_option().
*
* @param string $key
* @param string $value
*/
function set_parameter($key, $value) {}
/**
* Set one or more text filter or text appearance options for simple text output functions.
*
* @param string $optlist
*/
function set_text_option($optlist) {}
/**
* Set the position for simple text output on the page.
*
* @param double $x
* @param double $y
*/
function set_text_pos($x, $y) {}
/**
* Deprecated, use PDF_set_option(), PDF_set_text_option() and PDF_set_graphics_option()..
*
* @param string $key
* @param double $value
*/
function set_value($key, $value) {}
/**
* Set the color space and color for the graphics and text state..
*
* @param string $fstype
* @param string $colorspace
* @param double $c1
* @param double $c2
* @param double $c3
* @param double $c4
*/
function setcolor($fstype, $colorspace, $c1, $c2, $c3, $c4) {}
/**
* Deprecated, use PDF_set_graphics_option().
*
* @param double $b
* @param double $w
*/
function setdash($b, $w) {}
/**
* Deprecated, use PDF_set_graphics_option().
*
* @param string $optlist
*/
function setdashpattern($optlist) {}
/**
* Deprecated, use PDF_set_graphics_option().
*
* @param double $flatness
*/
function setflat($flatness) {}
/**
* Set the current font in the specified size.
*
* @param int $font
* @param double $fontsize
*/
function setfont($font, $fontsize) {}
/**
* Deprecated, use PDF_setcolor().
*
* @param double $gray
*/
function setgray($gray) {}
/**
* Deprecated, use PDF_setcolor().
*
* @param double $gray
*/
function setgray_fill($gray) {}
/**
* Deprecated, use PDF_setcolor().
*
* @param double $gray
*/
function setgray_stroke($gray) {}
/**
* Deprecated, use PDF_set_graphics_option().
*
* @param int $linecap
*/
function setlinecap($linecap) {}
/**
* Deprecated, use PDF_set_graphics_option().
*
* @param int $linejoin
*/
function setlinejoin($linejoin) {}
/**
* Deprecated, use PDF_set_graphics_option().
*
* @param double $width
*/
function setlinewidth($width) {}
/**
* Explicitly set the current transformation matrix.
*
* @param double $a
* @param double $b
* @param double $c
* @param double $d
* @param double $e
* @param double $f
*/
function setmatrix($a, $b, $c, $d, $e, $f) {}
/**
* Set the miter limit.
*
* @param double $miter
*/
function setmiterlimit($miter) {}
/**
* Deprecated, use PDF_setdashpattern().
*
* @param int $length
*/
function setpolydash($length) {}
/**
* Deprecated, use PDF_setcolor().
*
* @param double $red
* @param double $green
* @param double $blue
*/
function setrgbcolor($red, $green, $blue) {}
/**
* Deprecated, use PDF_setcolor().
*
* @param double $red
* @param double $green
* @param double $blue
*/
function setrgbcolor_fill($red, $green, $blue) {}
/**
* Deprecated, use PDF_setcolor().
*
* @param double $red
* @param double $green
* @param double $blue
*/
function setrgbcolor_stroke($red, $green, $blue) {}
/**
* Define a blend from the current fill color to another color.
*
* @param string $shtype
* @param double $x_0
* @param double $y_0
* @param double $x_1
* @param double $y_1
* @param double $c_1
* @param double $c_2
* @param double $c_3
* @param double $c_4
* @param string $optlist
* @return A shading handle.
*/
function shading($shtype, $x_0, $y_0, $x_1, $y_1, $c_1, $c_2, $c_3, $c_4, $optlist) {}
/**
* Define a shading pattern using a shading object.
*
* @param int $shading
* @param string $optlist
* @return A pattern handle.
*/
function shading_pattern($shading, $optlist) {}
/**
* Fill an area with a shading, based on a shading object.
*
* @param int $shading
*/
function shfill($shading) {}
/**
* Same as PDF_show() but with explicit string length.
*
* @param string $text
*/
function show($text) {}
/**
* Deprecated, use PDF_fit_textline() or PDF_fit_textflow().
*
* @param string $text
* @param double $left
* @param double $top
* @param double $width
* @param double $height
* @param string $hmode
* @param string $feature
*/
function show_boxed($text, $left, $top, $width, $height, $hmode, $feature) {}
/**
* Same as PDF_show_xy() but with explicit string length.
*
* @param string $text
* @param double $x
* @param double $y
*/
function show_xy($text, $x, $y) {}
/**
* Skew the coordinate system.
*
* @param double $alpha
* @param double $beta
*/
function skew($alpha, $beta) {}
/**
* Same as PDF_stringwidth(), but with explicit string length.
*
* @param string $text
* @param int $font
* @param double $fontsize
*/
function stringwidth($text, $font, $fontsize) {}
/**
* Stroke the path with the current color and line width, and clear it.
*
*/
function stroke() {}
/**
* Suspend the current page so that it can later be resumed.
*
* @param string $optlist
*/
function suspend_page($optlist) {}
/**
* Translate the origin of the coordinate system.
*
* @param double $tx
* @param double $ty
*/
function translate($tx, $ty) {}
/**
* Deprecated, use PDF_convert_to_unicode().
*
* @param string $utf16string
*/
function utf16_to_utf8($utf16string) {}
/**
* Deprecated, use PDF_convert_to_unicode().
*
* @param string $utf32string
*/
function utf32_to_utf8($utf32string) {}
/**
* Deprecated, use PDF_convert_to_unicode().
*
* @param string $utf8string
* @param string $ordering
*/
function utf8_to_utf32($utf8string, $ordering) {}
/**
* Deprecated, use PDF_convert_to_unicode().
*
* @param string $utf16string
* @param string $ordering
*/
function utf16_to_utf32($utf16string, $ordering) {}
/**
* Deprecated, use PDF_convert_to_unicode().
*
* @param string $utf32string
* @param string $ordering
*/
function utf32_to_utf16($utf32string, $ordering) {}
/**
* Deprecated, use PDF_convert_to_unicode().
*
* @param string $utf8string
* @param string $ordering
*/
function utf8_to_utf16($utf8string, $ordering) {}
};
?>