Lines Matching defs:textbuffer

571 	var $textbuffer;
1538 $this->textbuffer = [];
2829 if ($this->blklvl == 0 && !empty($this->textbuffer)) { // Output previously buffered content
2830 $this->printbuffer($this->textbuffer, 1);
2831 $this->textbuffer = [];
2841 if ($b == $this->blklvl && !empty($this->textbuffer)) { // Output previously buffered content
2842 $this->printbuffer($this->textbuffer, 1);
2843 $this->textbuffer = [];
2848 } elseif (!empty($this->textbuffer)) { // Output previously buffered content
2849 $this->printbuffer($this->textbuffer, 1);
2850 $this->textbuffer = [];
11836 foreach ($tablehf['textbuffer'] as $k => $t) {
11844 $tablehf['textbuffer'][$k][0] = preg_replace('/{iteration ' . $m[1] . '}/', $this->$vname, $tablehf['textbuffer'][$k][0]);
11860 $textbuffer = Arrays::get($tablehf, 'textbuffer', null);
11903 if ($table['empty_cells'] != 'hide' || !empty($textbuffer) || !$table['borders_separate']) {
12033 if (!empty($textbuffer)) {
12034 if ($horf == 'F' && preg_match('/{colsum([0-9]*)[_]*}/', $textbuffer[0][0], $m)) {
12036 $textbuffer[0][0] = preg_replace('/{colsum[0-9_]*}/', $rep, $textbuffer[0][0]);
12040 $cellPtSize = $textbuffer[0][11] / $this->shrin_k;
12069 foreach ($tablehf['textbuffer'] as $t) {
12100 if (!empty($textbuffer[0][3])) { // Font Color
12101 $cor = $textbuffer[0][3];
12104 $this->SetFont($textbuffer[0][4], $textbuffer[0][2], $cellPtSize, true, true);
12106 $this->magic_reverse_dir($str, $this->directionality, $textbuffer[0][18]);
12107 $this->Text($this->x, $this->y, $str, $textbuffer[0][18], $textbuffer[0][8]); // textvar
12127 $this->printbuffer($textbuffer, '', true, false, $direction);
12130 $textbuffer = [];
13166 $this->textbuffer = [];
13304 if (count($this->textbuffer)) {
13305 $this->printbuffer($this->textbuffer);
13307 $this->textbuffer = [];
13316 if (count($this->textbuffer)) {
13317 $this->printbuffer($this->textbuffer);
13320 $this->textbuffer = [];
13834 if (count($this->textbuffer) && !$parseonly) {
13835 $this->printbuffer($this->textbuffer);
13838 $this->textbuffer = [];
15344 // if position:inside (and NOT table) - output now as a textbuffer; (so if next is block, will move to new line)
15345 // elseif position:outside (and NOT table) - output in front of first textbuffer output by setting listitem (cf. _saveTextBuffer)
15820 $this->textbuffer[] = $this->listitem;
15823 $this->textbuffer[] = $arr;
15878 $this->cell[$this->row][$this->col]['textbuffer'][] = $arr;
15955 // ALL the chunks of textbuffer need to have at least basic OTLdata set
16797 $legend = $this->blk[$blvl]['border_legend']; // Same structure array as textbuffer
19052 function TableCheckMinWidth($maxwidth, $forcewrap = 0, $textbuffer = [], $checkletter = false)
19059 if ((count($textbuffer) == 0) or ( (count($textbuffer) == 1) && ($textbuffer[0][0] == ''))) {
19063 foreach ($textbuffer as $chunk) {
19413 if (isset($c['textbuffer'])) {
19414 foreach ($c['textbuffer'] as $n => $tb) {
19416 !isset($c['textbuffer'][$n][16]['T']) || $c['textbuffer'][$n][16]['T']['w'] /= $k;
19417 !isset($c['textbuffer'][$n][16]['B']) || $c['textbuffer'][$n][16]['B']['w'] /= $k;
19418 !isset($c['textbuffer'][$n][16]['L']) || $c['textbuffer'][$n][16]['L']['w'] /= $k;
19419 !isset($c['textbuffer'][$n][16]['R']) || $c['textbuffer'][$n][16]['R']['w'] /= $k;
19725 if (isset($c['textbuffer'])) {
19732 $minwidth = $this->TableCheckMinWidth($wc['miw'] - $extrcw, 0, $c['textbuffer'], $letter);
20390 if ($c['R'] && isset($c['textbuffer'])) {
20392 foreach ($c['textbuffer'] as $t) {
20399 $this->SetFont($c['textbuffer'][0][4], $c['textbuffer'][0][2], $c['textbuffer'][0][11] / $this->shrin_k, true, true);
20400 $tempch = $this->GetStringWidth($str, true, $c['textbuffer'][0][18], $c['textbuffer'][0][8]);
20402 $tempch = ((sin(deg2rad($c['R']))) * $tempch ) + ((sin(deg2rad($c['R']))) * (($c['textbuffer'][0][11] / Mpdf::SCALE) / $this->shrin_k));
20407 if (isset($c['textbuffer']) && !empty($c['textbuffer'])) {
20412 $tempch = $this->printbuffer($c['textbuffer'], '', true, true);
21845 if (isset($cell['textbuffer'])) {
21846 for ($n = 0; $n < count($cell['textbuffer']); $n++) {
21847 $t = $cell['textbuffer'][$n][0];
21851 $cell['textbuffer'][$n][0] = "\xbb\xa4\xactype=nestedtable,objattr=" . serialize($objattr) . "\xbb\xa4\xac";
22020 if (isset($cell['textbuffer'])) {
22021 $tablefooter[$i][$js]['textbuffer'] = $cell['textbuffer'];
22023 $tablefooter[$i][$js]['textbuffer'] = '';
22595 if ($table['empty_cells'] != 'hide' || !empty($cell['textbuffer']) || (isset($cell['nestedcontent']) && $cell['nestedcontent']) || !$table['borders_separate']) {
22772 if (isset($cell['textbuffer'])) {
22773 $tableheader[$i][$j]['textbuffer'] = $cell['textbuffer'];
22775 $tableheader[$i][$j]['textbuffer'] = '';
22833 if (!empty($cell['textbuffer'])) {
22840 if (preg_match('/{colsum([0-9]*)[_]*}/', $cell['textbuffer'][0][0], $m)) {
22842 $cell['textbuffer'][0][0] = preg_replace('/{colsum[0-9_]*}/', $rep, $cell['textbuffer'][0][0]);
22846 $this->colsums[$j] += $this->toFloat($cell['textbuffer'][0][0]);
22848 $this->colsums[$j] = $this->toFloat($cell['textbuffer'][0][0]);
22855 foreach ($cell['textbuffer'] as $k => $t) {
22863 $cell['textbuffer'][$k][0] = preg_replace('/{iteration ' . $m[1] . '}/', $this->$vname, $cell['textbuffer'][$k][0]);
22870 $cellPtSize = $cell['textbuffer'][0][11] / $this->shrin_k;
22894 foreach ($cell['textbuffer'] as $t) {
22923 if (!empty($cell['textbuffer'][0][3])) { // Font Color
22924 $cor = $cell['textbuffer'][0][3];
22927 $this->SetFont($cell['textbuffer'][0][4], $cell['textbuffer'][0][2], $cellPtSize, true, true);
22929 $this->magic_reverse_dir($str, $this->directionality, $cell['textbuffer'][0][18]);
22930 $this->Text($this->x, $this->y, $str, $cell['textbuffer'][0][18], $cell['textbuffer'][0][8]); // textvar
22990 $this->printbuffer($cell['textbuffer'], '', true, false, $cell['direction']);