Lines Matching refs:this
39 if (str_contains($this->text, '{{:ptp:}}')) {
42 $temptext = str_replace('#PAGENUM#', (string) $renderer->pageNo(), $this->text);
53 if ($renderer->getCurrentStyle() !== $this->styleName) {
54 $renderer->setCurrentStyle($this->styleName);
61 if ($this->left === ReportBaseElement::CURRENT_POSITION) {
62 $this->left = $renderer->getX();
64 $renderer->setX($this->left);
67 if ($this->top === ReportBaseElement::CURRENT_POSITION) {
68 $this->top = $renderer->getY();
70 $renderer->setY($this->top);
74 echo '<div class="', $this->styleName, '" style="position:absolute;top:', $this->top, 'pt;';
78 echo $renderer->alignRTL, ':', $this->left, 'pt;';
81 if (!empty($this->bgcolor)) {
82 echo 'background-color:', $this->bgcolor, ';';
88 if (!empty($this->border)) {
90 if ($this->border === '1') {
91 echo ' border:solid ', $this->bocolor ?: 'black', ' 1pt;';
95 if (str_contains($this->border, 'T')) {
96 echo ' border-top:solid ', $this->bocolor ?: 'black', ' 1pt;';
99 if (str_contains($this->border, 'B')) {
100 echo ' border-bottom:solid ', $this->bocolor ?: 'black', ' 1pt;';
103 if (str_contains($this->border, 'R')) {
104 echo ' border-right:solid ', $this->bocolor ?: 'black', ' 1pt;';
107 if (str_contains($this->border, 'L')) {
108 echo ' border-left:solid ', $this->bocolor ?: 'black', ' 1pt;';
114 if ($this->width === 0.0 || $this->width > $renderer->getRemainingWidth()) {
115 $this->width = $renderer->getRemainingWidth();
118 $cW = $this->width - $cP * 2.0;
126 $this->height += $cP;
127 if ($tmph > $this->height) {
128 $this->height = $tmph;
132 if ($renderer->lastCellHeight > $this->height) {
133 $this->height = $renderer->lastCellHeight;
135 echo ' width:', $cW - $bpixX, 'pt;height:', $this->height - $bpixY, 'pt;';
138 switch ($this->align) {
154 if (!empty($this->url)) {
155 echo '<a href="', $this->url, '">';
159 $renderer->write($temptext, $this->tcolor, false);
161 if (!empty($this->url)) {
168 if ($this->newline === 0) {
170 $renderer->setXy($this->left + $this->width, $this->top);
171 $renderer->lastCellHeight = $this->height;
172 } elseif ($this->newline === 1) {
174 $renderer->setXy(0, $renderer->getY() + $this->height + $cP * 2);
177 } elseif ($this->newline === 2) {
179 … $renderer->setXy($renderer->getX() + $this->width, $renderer->getY() + $this->height + $cP * 2);