summaryrefslogtreecommitdiff
path: root/app/Report/ReportHtmlFootnote.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-02-02 18:08:53 +0000
committerGreg Roach <fisharebest@gmail.com>2015-02-02 18:08:53 +0000
commitc7b5bb056857bc710c605b05daaf3cd0c7b2df93 (patch)
tree886ce7cf1a05ca8a8850c758635fb46d08dc9123 /app/Report/ReportHtmlFootnote.php
parent2149074bbed89f1732f45bf9a6b760ad306a1850 (diff)
downloadwebtrees-c7b5bb056857bc710c605b05daaf3cd0c7b2df93.tar.gz
webtrees-c7b5bb056857bc710c605b05daaf3cd0c7b2df93.tar.bz2
webtrees-c7b5bb056857bc710c605b05daaf3cd0c7b2df93.zip
WIP
Diffstat (limited to 'app/Report/ReportHtmlFootnote.php')
-rw-r--r--app/Report/ReportHtmlFootnote.php46
1 files changed, 13 insertions, 33 deletions
diff --git a/app/Report/ReportHtmlFootnote.php b/app/Report/ReportHtmlFootnote.php
index ac2e606f52..0e711770e4 100644
--- a/app/Report/ReportHtmlFootnote.php
+++ b/app/Report/ReportHtmlFootnote.php
@@ -36,18 +36,11 @@ class ReportHtmlFootnote extends ReportBaseFootnote {
/**
* Write the Footnote text
-
* Uses style name "footnote" by default
-
-
-
-*
-*@param ReportHtml $html
-
-
-
-*
-*@return void
+ *
+ * @param ReportHtml $html
+ *
+ * @return void
*/
function renderFootnote($html) {
@@ -67,17 +60,11 @@ class ReportHtmlFootnote extends ReportBaseFootnote {
/**
* Calculates the Footnotes height
-
-
-
-*
-*@param ReportHtml $html
- * @param integer $cellWidth The width of the cell to use it for text wraping
-
-
-
-*
-*@return integer Footnote height in points
+ *
+ * @param ReportHtml $html
+ * @param integer $cellWidth The width of the cell to use it for text wraping
+ *
+ * @return integer Footnote height in points
*/
function getFootnoteHeight($html, $cellWidth = 0) {
if ($html->getCurrentStyle() != $this->styleName) {
@@ -95,18 +82,11 @@ class ReportHtmlFootnote extends ReportBaseFootnote {
/**
* Get the width of text
-
* Breaks up a text into lines if needed
-
-
-
-*
-*@param ReportHtml $html
-
-
-
-*
-*@return array
+ *
+ * @param ReportHtml $html
+ *
+ * @return array
*/
function getWidth($html) {
// Setup the style name