diff options
| -rw-r--r-- | library/WT/Report/HTML.php | 62 | ||||
| -rw-r--r-- | library/WT/Report/PDF.php | 116 |
2 files changed, 0 insertions, 178 deletions
diff --git a/library/WT/Report/HTML.php b/library/WT/Report/HTML.php index e7289c9886..803ab3d5e6 100644 --- a/library/WT/Report/HTML.php +++ b/library/WT/Report/HTML.php @@ -603,28 +603,6 @@ class WT_Report_HTML extends WT_Report_Base { */ class CellHTML extends Cell { /** - * Create a class CELL for HTML - * - * @param int $width cell width (expressed in points) - * @param int $height cell height (expressed in points) - * @param mixed $border Border style - * @param string $align Text alignement - * @param string $bgcolor Background color code - * @param string $style The name of the text style - * @param int $ln Indicates where the current position should go after the call - * @param mixed $top Y-position - * @param mixed $left X-position - * @param int $fill Indicates if the cell background must be painted (1) or transparent (0). Default value: 0. - * @param int $stretch Stretch carachter mode - * @param string $bocolor Border color - * @param string $tcolor Text color - * @param boolean $reseth - */ - function CellHTML($width, $height, $border, $align, $bgcolor, $style, $ln, $top, $left, $fill, $stretch, $bocolor, $tcolor, $reseth) { - parent::Cell($width, $height, $border, $align, $bgcolor, $style, $ln, $top, $left, $fill, $stretch, $bocolor, $tcolor, $reseth); - } - - /** * HTML Cell renderer * * @param WT_Report_HTML $html @@ -815,11 +793,6 @@ class CellHTML extends Cell { * HTML element - HTML Report */ class HtmlHTML extends Html { - - function HtmlHTML($tag, $attrs) { - parent::Html($tag, $attrs); - } - function render($html, $sub = false, $inat=true) { if (!empty($this->attrs["wt_style"])) $html->setCurrentStyle($this->attrs["wt_style"]); @@ -861,10 +834,6 @@ class HtmlHTML extends Html { * TextBox element - HTML Report */ class TextBoxHTML extends TextBox { - - function TextBoxHTML($width, $height, $border, $bgcolor, $newline, $left, $top, $pagecheck, $style, $fill, $padding, $reseth) { - parent::TextBox($width, $height, $border, $bgcolor, $newline, $left, $top, $pagecheck, $style, $fill, $padding, $reseth); - } function render($html) { // checkFootnote $newelements = array(); @@ -1127,11 +1096,6 @@ class TextBoxHTML extends TextBox { * Text element - HTML Report */ class TextHTML extends Text { - - function TextHTML($style, $color) { - parent::Text($style, $color); - } - /** * @param WT_Report_HTML $html * @param int $curx @@ -1291,11 +1255,6 @@ class TextHTML extends Text { * Footnote element */ class FootnoteHTML extends Footnote { - - function FootnoteHTML($style="") { - parent::Footnote($style); - } - /** * HTML Footnotes number renderer * @@ -1455,10 +1414,6 @@ class FootnoteHTML extends Footnote { * PageHeader element */ class PageHeaderHTML extends PageHeader { - function PageHeaderHTML() { - parent::PageHeader(); - } - function render($html) { $html->clearPageHeader(); foreach ($this->elements as $element) { @@ -1471,11 +1426,6 @@ class PageHeaderHTML extends PageHeader { * Image element */ class ImageHTML extends Image { - - function ImageHTML($file, $x, $y, $w, $h, $align, $ln) { - parent::Image($file, $x, $y, $w, $h, $align, $ln); - } - /** * Image renderer * @@ -1552,18 +1502,6 @@ class ImageHTML extends Image { */ class LineHTML extends Line { /** - * Create a line class -HTML - * - * @param mixed $x1 - * @param mixed $y1 - * @param mixed $x2 - * @param mixed $y2 - */ - function LineHTML($x1, $y1, $x2, $y2) { - parent::Line($x1, $y1, $x2, $y2); - } - - /** * HTML line renderer * * @param WT_Report_HTML $html diff --git a/library/WT/Report/PDF.php b/library/WT/Report/PDF.php index 7c1bf2c959..2c48befd6c 100644 --- a/library/WT/Report/PDF.php +++ b/library/WT/Report/PDF.php @@ -678,45 +678,6 @@ class PDF extends TCPDF { */ class CellPDF extends Cell { /** - * Create a class CELL for PDF - * - * @param int $width cell width (expressed in points) - * @param int $height cell height (expressed in points) - * @param mixed $border Border style - * @param string $align Text alignement - * @param string $bgcolor Background color code - * @param string $style The name of the text style - * @param int $ln Indicates where the current position should go after the call - * @param mixed $top Y-position - * @param mixed $left X-position - * @param int $fill Indicates if the cell background must be painted (1) or transparent (0). Default value: 1 - * @param int $stretch Stretch carachter mode - * @param string $bocolor Border color - * @param string $tcolor Text color - * @param boolean $reseth - */ - function CellPDF( - $width, $height, $border, $align, $bgcolor, $style, $ln, $top, $left, $fill, $stretch, $bocolor, $tcolor, $reseth - ) { - parent::Cell( - $width, - $height, - $border, - $align, - $bgcolor, - $style, - $ln, - $top, - $left, - $fill, - $stretch, - $bocolor, - $tcolor, - $reseth - ); - } - - /** * PDF Cell renderer * * @param PDF $pdf @@ -851,11 +812,6 @@ class CellPDF extends Cell { * HTML element - PDF Report */ class HtmlPDF extends Html { - - function HtmlPDF($tag, $attrs) { - parent::Html($tag, $attrs); - } - function render($pdf, $sub = false) { if (!empty($this->attrs['style'])) { $pdf->setCurrentStyle($this->attrs['style']); @@ -890,41 +846,6 @@ class HtmlPDF extends Html { */ class TextBoxPDF extends TextBox { /** - * Create a class Text Box for PDF - * - * @param float $width Text box width - * @param float $height Text box height - * @param boolean $border - * @param string $bgcolor Background color code in HTML - * @param boolean $newline - * @param mixed $left - * @param mixed $top - * @param boolean $pagecheck - * @param string $style - * @param boolean $fill - * @param boolean $padding - * @param boolean $reseth Reset the last height after this bos is done - */ - function TextBoxPDF( - $width, $height, $border, $bgcolor, $newline, $left, $top, $pagecheck, $style, $fill, $padding, $reseth - ) { - parent::TextBox( - $width, - $height, - $border, - $bgcolor, - $newline, - $left, - $top, - $pagecheck, - $style, - $fill, - $padding, - $reseth - ); - } - - /** * PDF Text Box renderer * * @param PDF $pdf @@ -1250,16 +1171,6 @@ class TextBoxPDF extends TextBox { */ class TextPDF extends Text { /** - * Create a Text class for PDF - * - * @param string $style The name of the text style - * @param string $color HTML color code - */ - function TextPDF($style, $color) { - parent::Text($style, $color); - } - - /** * PDF Text renderer * * @param PDF $pdf @@ -1407,11 +1318,6 @@ class TextPDF extends Text { * Footnote element */ class FootnotePDF extends Footnote { - - function FootnotePDF($style = "") { - parent::Footnote($style); - } - /** * PDF Footnotes number renderer * @@ -1565,11 +1471,6 @@ class FootnotePDF extends Footnote { * PageHeader element */ class PageHeaderPDF extends PageHeader { - - function PageHeaderPDF() { - parent::PageHeader(); - } - /** * PageHeader element renderer * @@ -1589,11 +1490,6 @@ class PageHeaderPDF extends PageHeader { * ImagePDF class element */ class ImagePDF extends Image { - - function ImagePDF($file, $x, $y, $w, $h, $align, $ln) { - parent::Image($file, $x, $y, $w, $h, $align, $ln); - } - /** * PDF image renderer * @@ -1692,18 +1588,6 @@ class ImagePDF extends Image { */ class LinePDF extends Line { /** - * Create a line class -PDF - * - * @param mixed $x1 - * @param mixed $y1 - * @param mixed $x2 - * @param mixed $y2 - */ - function LinePDF($x1, $y1, $x2, $y2) { - parent::Line($x1, $y1, $x2, $y2); - } - - /** * PDF line renderer * * @param PDF $pdf |
