summaryrefslogtreecommitdiff
path: root/app/Report/ReportHtmlText.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/ReportHtmlText.php
parent2149074bbed89f1732f45bf9a6b760ad306a1850 (diff)
downloadwebtrees-c7b5bb056857bc710c605b05daaf3cd0c7b2df93.tar.gz
webtrees-c7b5bb056857bc710c605b05daaf3cd0c7b2df93.tar.bz2
webtrees-c7b5bb056857bc710c605b05daaf3cd0c7b2df93.zip
WIP
Diffstat (limited to 'app/Report/ReportHtmlText.php')
-rw-r--r--app/Report/ReportHtmlText.php36
1 files changed, 10 insertions, 26 deletions
diff --git a/app/Report/ReportHtmlText.php b/app/Report/ReportHtmlText.php
index f6e84a3c5a..9386fa092f 100644
--- a/app/Report/ReportHtmlText.php
+++ b/app/Report/ReportHtmlText.php
@@ -24,11 +24,8 @@ class ReportHtmlText extends ReportBaseText {
* @param ReportHtml $renderer
* @param integer $curx
* @param boolean $attrib Is is called from a different element?
-
-
-
-*
-*@return void
+ *
+ * @return void
*/
function render($renderer, $curx = 0, $attrib = true) {
@@ -76,18 +73,11 @@ class ReportHtmlText extends ReportBaseText {
/**
* Returns the height in points of the text element
-
* The height is already calculated in getWidth()
-
-
-
-*
-*@param ReportHtml $html
-
-
-
-*
-*@return float
+ *
+ * @param ReportHtml $html
+ *
+ * @return float
*/
function getHeight($html) {
$ct = substr_count($this->text, "\n");
@@ -100,16 +90,10 @@ class ReportHtmlText extends ReportBaseText {
/**
* Get the width of text and wrap it too
-
-
-
-*
-*@param ReportHtml $html
-
-
-
-*
-*@return array
+ *
+ * @param ReportHtml $html
+ *
+ * @return array
*/
function getWidth($html) {
// Setup the style name