Home
last modified time | relevance | path

Searched refs:tcpdf (Results 1 – 8 of 8) sorted by relevance

/webtrees/app/Report/
H A DPdfRenderer.php56 public TcpdfWrapper $tcpdf; variable in Fisharebest\\Webtrees\\Report\\PdfRenderer
95 $this->tcpdf->AddPage();
116 … if ($this->tcpdf->GetY() + $element->getFootnoteHeight($this) > $this->tcpdf->getPageHeight()) {
117 $this->tcpdf->AddPage();
122 if ($this->tcpdf->GetY() > $this->tcpdf->getPageHeight()) {
123 $this->tcpdf->AddPage();
202 $this->tcpdf->setFont($style['font'], $style['style'], $style['size']);
227 $m = $this->tcpdf->getMargins();
228 if ($this->tcpdf->getRTL()) {
233 $this->tcpdf->setX($x);
[all …]
H A DReportPdfTextBox.php126 $cX = $renderer->tcpdf->GetX();
134 $cY = $renderer->tcpdf->GetY();
137 $renderer->tcpdf->setY($cY);
148 $cM = $renderer->tcpdf->getMargins();
202 $cHT = ($cHT + 1) * $renderer->tcpdf->getCellHeightRatio();
230 $cY = $renderer->tcpdf->GetY();
247 $renderer->tcpdf->setFillColor($r, $g, $b);
254 if (!$renderer->tcpdf->getRTL()) {
257 $cXM = $renderer->tcpdf->getPageWidth() - $cX - $cW;
259 $renderer->tcpdf->Rect($cXM, $cY, $cW, $cH, $cS);
[all …]
H A DReportPdfCell.php41 $temptext = str_replace('#PAGENUM#', (string) $renderer->tcpdf->PageNo(), $this->text);
66 $renderer->tcpdf->setFillColor($r, $g, $b);
80 $renderer->tcpdf->setDrawColor($r, $g, $b);
88 $renderer->tcpdf->setTextColor($r, $g, $b);
90 $renderer->tcpdf->setTextColor(0, 0, 0);
95 $cX = $renderer->tcpdf->GetX();
107 $this->top = $renderer->tcpdf->GetY();
109 $renderer->tcpdf->setY($this->top);
118 $cHT = $renderer->tcpdf->getNumLines($temptext, $this->width);
119 … $cHT = $cHT * $renderer->tcpdf->getCellHeightRatio() * $renderer->getCurrentStyleHeight();
[all …]
H A DReportPdfImage.php40 $this->y = $renderer->tcpdf->GetY();
43 $curx = $renderer->tcpdf->GetX();
47 $this->x = $renderer->tcpdf->GetX();
51 $renderer->tcpdf->setX($curx);
55 …f ($lastpicbottom !== null && $renderer->tcpdf->PageNo() === $lastpicpage && $lastpicbottom >= $re…
56 $renderer->tcpdf->setY($lastpicbottom + 5);
58 $this->y = $renderer->tcpdf->GetY();
60 $renderer->tcpdf->setY($this->y);
62 if ($renderer->tcpdf->getRTL()) {
63 $renderer->tcpdf->Image(
[all …]
H A DReportPdfFootnote.php43 …$renderer->tcpdf->Write($renderer->getCurrentStyleHeight(), $this->numText, $this->addlink); //sou…
59 $temptext = str_replace('#PAGENUM#', (string) $renderer->tcpdf->PageNo(), $this->text);
61 $renderer->tcpdf->setLink($this->addlink, -1, -1);
64 if ($renderer->tcpdf->getRTL()) {
65 … $renderer->tcpdf->writeHTML('<span> .' . $this->num . '</span>', false, false, false, false, '');
77 $renderer->tcpdf->writeHTML($temptext, true, false, true, false, '');
117 $lw = ceil($renderer->tcpdf->GetStringWidth($this->numText));
130 $lw = ceil($renderer->tcpdf->GetStringWidth($line));
138 $lw += ceil($renderer->tcpdf->GetStringWidth($word . ' '));
145 $lw = $renderer->tcpdf->GetStringWidth($word . ' ');
H A DReportPdfLine.php37 $this->x1 = $renderer->tcpdf->GetX();
40 $this->y1 = $renderer->tcpdf->GetY();
46 $this->y2 = $renderer->tcpdf->GetY();
48 if ($renderer->tcpdf->getRTL()) {
49 …$renderer->tcpdf->Line($renderer->tcpdf->getPageWidth() - $this->x1, $this->y1, $renderer->tcpdf->…
51 $renderer->tcpdf->Line($this->x1, $this->y1, $this->x2, $this->y2);
H A DReportPdfText.php47 $temptext = str_replace('#PAGENUM#', (string) $renderer->tcpdf->PageNo(), $this->text);
63 $renderer->tcpdf->setTextColor($r, $g, $b);
65 $renderer->tcpdf->setTextColor(0, 0, 0);
83 $renderer->tcpdf->writeHTML(
92 $renderer->tcpdf->setTextColor(0, 0, 0);
129 $lw = $renderer->tcpdf->GetStringWidth($this->text);
142 $lw = $renderer->tcpdf->GetStringWidth($line);
150 $lw += $renderer->tcpdf->GetStringWidth($word . ' ');
157 $lw = $renderer->tcpdf->GetStringWidth($word . ' ');
/webtrees/
H A Dcomposer.lock5565 "name": "tecnickcom/tcpdf",
5586 "tcpdf.php",
5614 "homepage": "http://www.tcpdf.org/",
5630 …onations&currency_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20tcpdf%20project",