Apparently fixed parse errors in class (unless this is part of another programming language plot) - see BT#2724

skala
ywarnier 15 years ago
parent 15eef6407c
commit 08729af0d3
  1. 22
      main/inc/lib/phpdocx/pdf/include/tcpdf_adapter.cls.php

@ -363,7 +363,7 @@ class TCPDF_Adapter implements Canvas {
* @param array $style
* @param bool $fill Fills the circle if true
*/
function circle($x, $y, $r, $color, $width = null, $style = null, $fill = false);
function circle($x, $y, $r, $color, $width = null, $style = null, $fill = false){}
/**
* Add an image to the pdf.
@ -378,7 +378,7 @@ class TCPDF_Adapter implements Canvas {
* @param int $w width (in pixels)
* @param int $h height (in pixels)
*/
function image($img_url, $img_type, $x, $y, $w, $h);
function image($img_url, $img_type, $x, $y, $w, $h){}
/**
* Writes text at the specified x and y coordinates
@ -393,16 +393,16 @@ class TCPDF_Adapter implements Canvas {
* @param array $color
* @param float $adjust word spacing adjustment
*/
function text($x, $y, $text, $font, $size, $color = array(0,0,0), $adjust = 0);
function text($x, $y, $text, $font, $size, $color = array(0,0,0), $adjust = 0){}
function javascript($code);
function javascript($code){}
/**
* Add a named destination (similar to <a name="foo">...</a> in html)
*
* @param string $anchorname The name of the named destination
*/
function add_named_dest($anchorname);
function add_named_dest($anchorname){}
/**
* Add a link to the pdf
@ -413,7 +413,7 @@ class TCPDF_Adapter implements Canvas {
* @param float $width The width of the link
* @param float $height The height of the link
*/
function add_link($url, $x, $y, $width, $height);
function add_link($url, $x, $y, $width, $height){}
/**
* Calculates text size, in points
@ -424,7 +424,7 @@ class TCPDF_Adapter implements Canvas {
* @param float $spacing word spacing, if any
* @return float
*/
function get_text_width($text, $font, $size, $spacing = 0);
function get_text_width($text, $font, $size, $spacing = 0){}
/**
* Calculates font height, in points
@ -433,7 +433,7 @@ class TCPDF_Adapter implements Canvas {
* @param float $size
* @return float
*/
function get_font_height($font, $size);
function get_font_height($font, $size){}
/**
@ -441,7 +441,7 @@ class TCPDF_Adapter implements Canvas {
*
* Subsequent drawing operations will appear on the new page.
*/
function new_page();
function new_page(){}
/**
* Streams the PDF directly to the browser
@ -449,7 +449,7 @@ class TCPDF_Adapter implements Canvas {
* @param string $filename the name of the PDF file
* @param array $options associative array, 'Attachment' => 0 or 1, 'compress' => 1 or 0
*/
function stream($filename, $options = null);
function stream($filename, $options = null){}
/**
* Returns the PDF as a string
@ -457,7 +457,7 @@ class TCPDF_Adapter implements Canvas {
* @param array $options associative array: 'compress' => 1 or 0
* @return string
*/
function output($options = null);
function output($options = null){}
}

Loading…
Cancel
Save