@@ -180,7 +180,7 @@ |
||
180 | 180 | $this->headerElements[] = $element; |
181 | 181 | // set default header data |
182 | 182 | if ($done == 0) { |
183 | - $this->tcpdf->SetHeaderData('', 0, $element->getValue(), '', array(0,0,0), array(255,255,255)); |
|
183 | + $this->tcpdf->SetHeaderData('', 0, $element->getValue(), '', array(0, 0, 0), array(255, 255, 255)); |
|
184 | 184 | $done++; |
185 | 185 | } |
186 | 186 | } |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $f = $this->getHeaderFont(); |
60 | 60 | $f[2] = 12; |
61 | 61 | $this->setHeaderFont($f); |
62 | - $this->header_line_color = array(255,255,255); // the line cuts through the pedigree chart in landscape mode |
|
62 | + $this->header_line_color = array(255, 255, 255); // the line cuts through the pedigree chart in landscape mode |
|
63 | 63 | // and no line gives a nicer look |
64 | 64 | |
65 | 65 | if ($this->header_xobjid === false) { |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | // print header template |
112 | 112 | $xx = 0; |
113 | 113 | if ($this->original_lMargin < 15) { |
114 | - $xx = 15; // approx 5mm (15/72*25.4) // my Lexmark printer masks ~2 mm at the paper edge |
|
114 | + $xx = 15; // approx 5mm (15/72*25.4) // my Lexmark printer masks ~2 mm at the paper edge |
|
115 | 115 | // only applicable on pedigree charts(?) |
116 | 116 | } |
117 | 117 | $dx = 0; |
@@ -99,7 +99,8 @@ |
||
99 | 99 | $this->SetFont($headerfont[0], 'B', $headerfont[2] + 1); |
100 | 100 | $this->SetX($header_x); |
101 | 101 | $this->Cell($cw, $cell_height, $headerdata['title'], 0, 1, 'C', 0, '', 0); |
102 | - if ($this->page == 1) { // allows for a second line, not used (yet) |
|
102 | + if ($this->page == 1) { |
|
103 | +// allows for a second line, not used (yet) |
|
103 | 104 | // header string |
104 | 105 | $this->SetFont($headerfont[0], $headerfont[1], $headerfont[2]); |
105 | 106 | $this->SetX($header_x); |