diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-08-09 11:50:48 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-08-09 15:11:52 +0100 |
| commit | ce15a17af204fa17bb93b13c5560e56ac2e40c87 (patch) | |
| tree | 3d8a3902c96109494c38c516f6250ee15461933f /app/Report/ReportHtmlCell.php | |
| parent | bf43cb39fd09a9a0812ae9e52b69b20a98790ce5 (diff) | |
| download | webtrees-ce15a17af204fa17bb93b13c5560e56ac2e40c87.tar.gz webtrees-ce15a17af204fa17bb93b13c5560e56ac2e40c87.tar.bz2 webtrees-ce15a17af204fa17bb93b13c5560e56ac2e40c87.zip | |
CodeStyle
Diffstat (limited to 'app/Report/ReportHtmlCell.php')
| -rw-r--r-- | app/Report/ReportHtmlCell.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app/Report/ReportHtmlCell.php b/app/Report/ReportHtmlCell.php index 4ba66ca0b2..fbe09c6aa7 100644 --- a/app/Report/ReportHtmlCell.php +++ b/app/Report/ReportHtmlCell.php @@ -182,18 +182,19 @@ class ReportHtmlCell extends ReportBaseCell } // Finish the cell printing and start to clean up echo "</div>\n"; + // Where to place the next position - // -> Next to this cell in the same line if ($this->newline == 0) { + // -> Next to this cell in the same line $renderer->setXy($this->left + $this->width, $this->top); $renderer->lastCellHeight = $this->height; - } // -> On a new line at the margin - Default - elseif ($this->newline == 1) { + } elseif ($this->newline == 1) { + // -> On a new line at the margin - Default $renderer->setXy(0, $renderer->getY() + $this->height + ($cP * 2)); // Reset the last cell height for the next line $renderer->lastCellHeight = 0; - } // -> On a new line at the end of this cell - elseif ($this->newline == 2) { + } elseif ($this->newline == 2) { + // -> On a new line at the end of this cell $renderer->setXy($renderer->getX() + $this->width, $renderer->getY() + $this->height + ($cP * 2)); // Reset the last cell height for the next line $renderer->lastCellHeight = 0; |
