| @@ 4707-4722 (lines=16) @@ | ||
| 4704 | * @param array $param |
|
| 4705 | * @return boolean |
|
| 4706 | */ |
|
| 4707 | protected function _tag_close_THEAD($param) |
|
| 4708 | { |
|
| 4709 | if ($this->_isForOneLine) { |
|
| 4710 | return false; |
|
| 4711 | } |
|
| 4712 | ||
| 4713 | $this->parsingCss->load(); |
|
| 4714 | $this->parsingCss->fontSet(); |
|
| 4715 | ||
| 4716 | // if we are in a sub HTM, construct the list of the TR in the thead |
|
| 4717 | if ($this->_subPart) { |
|
| 4718 | $min = HTML2PDF::$_tables[$param['num']]['thead']['tr'][0]; |
|
| 4719 | $max = HTML2PDF::$_tables[$param['num']]['tr_curr'] - 1; |
|
| 4720 | HTML2PDF::$_tables[$param['num']]['thead']['tr'] = range($min, $max); |
|
| 4721 | } |
|
| 4722 | ||
| 4723 | return true; |
|
| 4724 | } |
|
| 4725 | ||
| @@ 4770-4785 (lines=16) @@ | ||
| 4767 | * @param array $param |
|
| 4768 | * @return boolean |
|
| 4769 | */ |
|
| 4770 | protected function _tag_close_TFOOT($param) |
|
| 4771 | { |
|
| 4772 | if ($this->_isForOneLine) { |
|
| 4773 | return false; |
|
| 4774 | } |
|
| 4775 | ||
| 4776 | $this->parsingCss->load(); |
|
| 4777 | $this->parsingCss->fontSet(); |
|
| 4778 | ||
| 4779 | // if we are in a sub HTM, construct the list of the TR in the tfoot |
|
| 4780 | if ($this->_subPart) { |
|
| 4781 | $min = HTML2PDF::$_tables[$param['num']]['tfoot']['tr'][0]; |
|
| 4782 | $max = HTML2PDF::$_tables[$param['num']]['tr_curr'] - 1; |
|
| 4783 | HTML2PDF::$_tables[$param['num']]['tfoot']['tr'] = range($min, $max); |
|
| 4784 | } |
|
| 4785 | ||
| 4786 | return true; |
|
| 4787 | } |
|
| 4788 | ||