Lines Matching +defs:B +defs:e

76 	var $PDFAversion = '1-B';
516 var $substitute; // Array of substitution strings e.g. <ttz>112</ttz>
538 var $B;
1249 $this->substitute = []; // Array of substitution strings e.g. <ttz>112</ttz>
1340 if (isset($fs['B']) && $fs['B']) {
1341 $this->available_unifonts[] = $f . 'B';
1498 $this->B = 0;
1640 // e.g. A4-L = A4 landscape, A4-P = A4 portrait
1688 // $res = array of (Unicode) fonts to restrict to: e.g. norasi|norasiB - language specific
1847 * AFRelationship (optional): PDF/A-3 AFRelationship (e.g. "Alternative")
1849 * e.g. to associate 1 file:
1888 function SetAlpha($alpha, $bm = 'Normal', $return = false, $mode = 'B')
1895 // mode determines F (fill) S (stroke) B (both)
1903 if ($mode == 'F' || $mode == 'B') {
1906 if ($mode == 'S' || $mode == 'B') {
2188 $orig_w = $sizesarray['WIDTH'] * Mpdf::SCALE; // in user units i.e. mm
2929 // If next page already exists - i.e background /headers and footers already written
3373 } // e.g. rg => RG
3762 function Arrow($x1, $y1, $x2, $y2, $headsize = 3, $fill = 'B', $angle = 25)
3764 // F == fill // S == stroke // B == stroke and fill
3768 } elseif ($fill == 'FD' or $fill == 'DF' or $fill == 'B') {
3769 $fill = 'B';
3800 $op = 'B';
4357 if ($this->falseBoldWeight && strpos($this->ReqFontStyle, "B") !== false && strpos($this->FontStyle, "B") === false) {
4821 if ($lineBox && isset($lineBox['boxtop']) && $txt) { // i.e. always from WriteFlowingBlock/finishFlowingBlock (but not objects -
4870 } elseif ($valign == 'B') {
4898 if (!isset($this->spanborddet['B'])) {
4899 $this->spanborddet['B'] = ['s' => 0, 'style' => '', 'w' => 0];
4914 $bbw = $this->spanborddet['B']['w'];
4975 if ($this->spanborddet['B']['style'] == 'dashed') {
4977 } elseif ($this->spanborddet['B']['style'] == 'dotted') {
4984 if ($this->spanborddet['B']['style'] != 'dotted') {
4993 $c = $this->SetDColor($this->spanborddet['B']['c'], true);
4995 if ($this->spanborddet['B']['style'] == 'double') {
4999 } elseif ($this->spanborddet['B']['style'] == 'dotted') {
5007 if ($this->spanborddet['B']['style'] != 'dotted') {
5094 $op = ($border == 1) ? 'B' : 'f';
5120 if (is_int(strpos($border, 'B'))) {
5153 } elseif ($this->falseBoldWeight && strpos($this->ReqFontStyle, "B") !== false && strpos($this->FontStyle, "B") === false && !($textvar & TextVars::FC_SMALLCAPS)) { // can't use together with OUTLINE or Small Caps // mPDF 5.7.1 ??? why not with SmallCaps ???
6195 if ($border and is_int(strpos($border, 'B'))) {
6196 $b .= 'B';
6253 $saved['B'] = $this->B;
6304 $this->SetStylesArray(['B' => $saved['B'], 'I' => $saved['I']]); // mPDF 5.7.1
8095 // 4) Break at U+200B in current word (Khmer, Lao & Thai Invisible word boundary, and Tibetan)
8097 elseif ($prevchar == "\xe2\x80\x8b") { // U+200B Zero-width Word Break
8146 // 8) Break at OBJECT (Break before all objects here - selected objects are moved forward to next line below e.g. dottab)
8261 // Selected OBJECTS are moved forward to next line, unless they come before a space or U+200B (type='discard')
9377 // Used in Columns and keep-with-table i.e. "kwt"
9488 $e = error_get_last();
9489 if (($e['type'] < 2048 && $e['type'] != 8) || (intval($e['type']) & intval(ini_get("error_reporting")))) {
9491 sprintf('Error detected. PDF file generation aborted: %s', $e['message']),
9492 $e['type'],
9494 $e['file'],
9495 $e['line']
9725 // To rotate the other way i.e. Header to left of page:
9812 // To rotate the other way i.e. Header to left of page:
10491 $this->SetFont($this->watermark_font, "B", $fontsize, false); // Don't output
10538 $this->SetFont($this->watermark_font, "B", $szfont, false); // Don't output
10549 $this->SetFont($this->watermark_font, "B", $szfont - 0.1, true, true); // Output The -0.1 is because SetFont above is not written to PDF
10626 $op = 'B';
10667 function Shaded_box($text, $font = '', $fontstyle = 'B', $szfont = '', $width = '70%', $style = 'DF', $radius = 2.5, $fill = '#FFFFFF', $color = '#000000', $pad = 2)
10821 $this->AddCIDFont($family, 'B', $name . ',Bold', $cw, $CMap, $registry, $desc);
10845 $this->AddCIDFont($family, 'B', $name . ',Bold', $cw, $CMap, $registry, $desc);
10869 $this->AddCIDFont($family, 'B', $name . ',Bold', $cw, $CMap, $registry, $desc);
10893 $this->AddCIDFont($family, 'B', $name . ',Bold', $cw, $CMap, $registry, $desc);
11075 } // ??? If lineheight is a factor e.g. 1.3 ?? use factor x 1em or ? use 'normal' lineheight * factor
11220 } elseif ($va == 'B') {
11369 $va = $this->objectbuffer[$k]['vertical-align']; // = $objattr['vertical-align'] = set as M,T,B,S
11381 } elseif ($va == 'B') {
11441 $str .= 'xxx'; // in case $str ends in / e.g. http://www.bbc.co.uk/
11442 $this->basepath = dirname($str) . "/"; // returns e.g. e.g. http://www.google.com/dir1/dir2/dir3/
11887 $hadj += $table['padding']['B'] + $table['border_details']['B']['w'];
11910 if ($R && intval($R) > 0 && isset($va) && $va != 'B') {
11911 $va = 'B';
11916 } elseif (isset($va) && $va == 'B') {
12027 $this->_tableRect($x + ($table['border_spacing_H'] / 2) + ($border_details['L']['w'] / 2), $y + ($table['border_spacing_V'] / 2) + ($border_details['T']['w'] / 2), $w - $table['border_spacing_H'] - ($border_details['L']['w'] / 2) - ($border_details['R']['w'] / 2), $h - $table['border_spacing_V'] - ($border_details['T']['w'] / 2) - ($border_details['B']['w'] / 2), $border, $border_details, false, $table['borders_separate']);
12052 } elseif ($angle > 0 && (isset($va) && $va != 'B')) {
12077 $this->y += (($h - $mih) / 2) + ($padding['T'] + $border_details['T']['w']) + ($mih - ($padding['T'] + $border_details['T']['w'] + $border_details['B']['w'] + $padding['B']));
12081 } elseif (isset($va) && $va == 'B') {
12084 $this->y += $h - ($border_details['B']['w'] + $padding['B']);
12090 $this->y += $mih - ($border_details['B']['w'] + $padding['B']);
12216 $halfspaceB = $table['padding']['B'] + ($table['border_spacing_V'] / 2);
12230 $tbh += $halfspaceB + ($table['border_details']['B']['w'] / 2);
12232 $corner .= 'B';
12574 if ($arr['L']['font-style'] == 'B' || $arr['L']['font-style'] == 'BI') {
12598 if ($arr['C']['font-style'] == 'B' || $arr['C']['font-style'] == 'BI') {
12622 if ($arr['R']['font-style'] == 'B' || $arr['R']['font-style'] == 'BI') {
12735 if ($this->defaultheaderfontstyle == 'B' || $this->defaultheaderfontstyle == 'BI') {
12762 if ($this->defaultheaderfontstyle == 'B' || $this->defaultheaderfontstyle == 'BI') {
12791 if ($this->defaultheaderfontstyle == 'B' || $this->defaultheaderfontstyle == 'BI') {
12813 if ($this->defaultheaderfontstyle == 'B' || $this->defaultheaderfontstyle == 'BI') {
12879 if ($this->defaultfooterfontstyle == 'B' || $this->defaultfooterfontstyle == 'BI') {
12906 if ($this->defaultfooterfontstyle == 'B' || $this->defaultfooterfontstyle == 'BI') {
12936 if ($this->defaultfooterfontstyle == 'B' || $this->defaultfooterfontstyle == 'BI') {
12959 if ($this->defaultfooterfontstyle == 'B' || $this->defaultfooterfontstyle == 'BI') {
13400 // ? more accurate regexp that allows e.g. <a name="Silly <name>">
13411 $e = $a[$i];
13425 $this->fixedPosBlock .= $e;
13428 if (strlen($e) == 0) {
13433 if (strlen(ltrim($e)) == 0) {
13436 if ($this->FontFamily != 'csymbol' && $this->FontFamily != 'czapfdingbats' && substr($e, 0, 1) == ' ') {
13438 $e = ltrim($e);
13444 $e = UtfString::strcode2utf($e);
13445 $e = $this->lesser_entity_decode($e);
13450 $cnt += $this->SubstituteCharsNonCore($a, $i, $e);
13453 $e = mb_convert_encoding($e, $this->mb_enc, 'UTF-8');
13455 $e = mb_strtoupper($e, $this->mb_enc);
13458 $e = mb_strtolower($e, $this->mb_enc);
13461 $e = mb_convert_case($e, MB_CASE_TITLE, "UTF-8");
13465 $cnt += $this->SubstituteCharsSIP($a, $i, $e);
13469 $cnt += $this->SubstituteCharsMB($a, $i, $e);
13473 $e = mb_strtoupper($e, $this->mb_enc);
13475 $e = mb_strtolower($e, $this->mb_enc);
13477 $e = mb_convert_case($e, MB_CASE_TITLE, "UTF-8");
13486 $e = $this->otl->applyOTL($e, $this->CurrentFont['useOTL']);
13488 $this->otl->removeChar($e, $this->OTLdata, "\xef\xbb\xbf"); // Remove ZWNBSP (also Byte order mark FEFF)
13492 $e = preg_replace("/[\xe2\x80\x8c\xe2\x80\x8d\xe2\x80\x8e\xe2\x80\x8f]/u", '', $e);
13493 $e = preg_replace("/[\xef\xbb\xbf]/u", '', $e); // Remove ZWNBSP (also Byte order mark FEFF)
13498 $es = explode('|', $e);
13499 $e = '';
13501 $e .= chr($val);
13510 $e = ltrim($e);
13514 $stringwidth = $this->GetStringWidth($e);
13519 $this->selectoption['SELECTED'] = $e;
13526 $this->selectoption['ITEMS'][] = ['exportValue' => $this->selectoption['currentVAL'], 'content' => $e, 'selected' => $this->selectoption['currentSEL']];
13532 $objattr['text'] = $e;
13548 $e = ltrim($e);
13553 if ($e || $e === '0') {
13567 $this->cell[$this->row][$this->col]['s'] += $this->GetStringWidth($e, false, $this->OTLdata, $this->textvar);
13569 $this->cell[$this->row][$this->col]['s'] = $this->GetStringWidth($e, false, $this->OTLdata, $this->textvar);
13576 $this->_saveCellTextBuffer($e, $this->HREF);
13581 $s = preg_split('/' . preg_quote($dp, '/') . '/', $e, 2); // ? needs to be /u if not core
13614 $e = ltrim($e);
13619 if ($e || $e === '0') {
13620 $this->_saveTextBuffer($e, $this->HREF);
13623 if ($e || $e === '0') {
13626 if (substr($e, -1, 1) == ' ' && !$this->ispre && $this->FontFamily != 'csymbol' && $this->FontFamily != 'czapfdingbats') {
13630 if (isset($e[0]) && $e[0] == '/') {
13631 $endtag = trim(strtoupper(substr($e, 1)));
13645 $this->fixedPosBlock .= '<' . $e . '>';
13721 if (strpos($e, ' ')) {
13722 $te = strtoupper(substr($e, 0, strpos($e, ' ')));
13724 $te = strtoupper($e);
13740 if (strpos($e, ' ')) {
13741 $te = strtoupper(substr($e, 0, strpos($e, ' ')));
13743 $te = strtoupper($e);
13745 $this->fixedPosBlock .= '<' . $e . '>';
13753 $e = preg_replace($regexp, "=\"\$1\"", $e);
13755 if (substr($e, 0, 10) != 'pageheader' && substr($e, 0, 10) != 'pagefooter' && substr($e, 0, 12) != 'tocpagebreak' && substr($e, 0, 10) != 'indexentry' && substr($e, 0, 8) != 'tocentry') { // mPDF 6 (ZZZ99H)
13757 $e = preg_replace($regexp, " \$1=\"\$2\"", $e);
13760 $e = preg_replace('/ (\\S+?)\s*=\s*"/i', " \\1=\"", $e);
13764 if ((stristr($e, "href=") !== false) or ( stristr($e, "src=") !== false)) {
13766 preg_match($regexp, $e, $auxiliararray);
13772 if (trim($path) != '' && !(stristr($e, "src=") !== false && substr($path, 0, 4) == 'var:') && substr($path, 0, 1) != '@') {
13777 $e = preg_replace($regexp, ' \\1="' . $path . '"', $e);
13787 preg_match_all('/\\S{1,32}=["][^"]*["]/', $e, $contents1);
13788 preg_match_all('/\\S{1,32}=[\'][^\']*[\']/i', $e, $contents2);
13791 preg_match('/\\S+/', $e, $a2);
13820 if (preg_match('/\/$/', $e)) {
13825 } // end of foreach($a as $i=>$e)
14638 if ($shrink_f != 1) { // i.e. autofit has resized the box
14648 if ($shrink_f != 1) { // i.e. autofit has resized the box
14655 if ($shrink_f != 1) { // i.e. autofit has resized the box
14697 if ($shrink_f != 1) { // i.e. autofit has resized the box
14711 if ($shrink_f != 1) { // i.e. autofit has resized the box
14739 if ($shrink_f != 1) { // i.e. autofit has resized the box
15346 $e = '';
15458 $e = "\xbb\xa4\xactype=image,objattr=" . serialize($objattr) . "\xbb\xa4\xac";
15459 $this->_saveTextBuffer($e);
15462 $e = $spacer;
15463 $this->_saveTextBuffer($e);
15489 $e = "\xbb\xa4\xactype=listmarker,objattr=" . serialize($objattr) . "\xbb\xa4\xac";
15490 $this->listitem = $this->_saveTextBuffer($e, '', '', true); // true returns array
15512 $e = $list_item_marker . $spacer;
15513 $this->_saveTextBuffer($e);
15527 $e = "\xbb\xa4\xactype=listmarker,objattr=" . serialize($objattr) . "\xbb\xa4\xac";
15528 $this->listitem = $this->_saveTextBuffer($e, '', '', true); // true returns array
15544 $e = $num . $this->list_number_suffix . $spacer;
15545 $this->_saveTextBuffer($e);
15548 // REPLACE MIRRORED RTL $this->list_number_suffix e.g. ) -> ( (NB could use Ucdn::$mirror_pairs)
15566 $e = "\xbb\xa4\xactype=listmarker,objattr=" . serialize($objattr) . "\xbb\xa4\xac";
15568 $this->listitem = $this->_saveTextBuffer($e, '', '', true); // true returns array
15585 $e = $a[$j];
15586 if (!$e) {
15589 if ($e[0] == '/') { // end tag
15590 $e = strtoupper(substr($e, 1));
15591 if ($e == 'OL' || $e == 'UL') {
15598 if (strpos($e, ' ')) {
15599 $e = substr($e, 0, strpos($e, ' '));
15601 $e = strtoupper($e);
15602 if ($e == 'LI') {
15606 } elseif ($e == 'OL' || $e == 'UL') {
15781 // e.g. Latin script when useOTL set as 0x80
15844 // e.g. Latin script when useOTL set as 0x80
15914 // Block-align is set by e.g. <.. align="center"> Takes priority for this block but not inherited
16132 if (strpos($vetor[1], ".") === false && strpos($vetor[1], "@") !== 0) { // assuming every external link has a dot indicating extension (e.g: .html .txt .zip www.somewhere.com etc.)
16245 // i.e. if second inline image on line is higher than first and forces new page
16599 if ($style == 'dashed' && (($side == 'L' || $side == 'R') || ($side == 'T' && $div != 'pagetop' && !$cp) || ($side == 'B' && $div != 'pagebottom') )) {
16603 } elseif ($style == 'dotted' || ($side == 'T' && ($div == 'pagetop' || $cp)) || ($side == 'B' && $div == 'pagebottom')) {
16941 $this->_setDashBorder($tbd['style'], $divider, $continuingpage, 'B');
17904 $this->_setDashBorder($tbd['style'], '', $continuingpage, 'B');
17986 $this->_setDashBorder($tbd['style'], '', '', 'B');
18132 // Set font size first so that e.g. MARGIN 0.83em works on font size for this element
18456 $this->spanborddet['B'] = $this->border_details($v);
18510 case 'VERTICAL-ALIGN': // super and sub only dealt with here e.g. <SUB> and <SUP>
18595 $this->SetStyle('B', true);
18598 $this->SetStyle('B', false);
18983 foreach (['B', 'I'] as $s) {
18996 foreach (['B', 'I'] as $s) {
19012 // Set multiple styles at one $str e.g. "BI"
19016 foreach (['B', 'I'] as $s) {
19030 foreach (['B', 'I'] as $s) {
19105 // B I
19175 preg_match_all('/(\xe2\x80\x8b| )/', $line, $spaces, PREG_OFFSET_CAPTURE); // U+200B Zero Width word boundary, or space
19206 $words = preg_split('/(\xe2\x80\x8b| )/', $line); // U+200B Zero Width word boundary, or space
19294 $table['padding']['B'] /= $k;
19299 $table['margin']['B'] /= $k;
19304 $table['border_details']['B']['w'] /= $k;
19313 if (isset($table['max_cell_border_width']['B'])) {
19314 $table['max_cell_border_width']['B'] /= $k;
19323 $table['simple']['border_details']['B']['w'] /= $k;
19364 $cell['border_details']['B']['w'] /= $k;
19381 $c['border_details']['B']['w'] /= $k;
19396 $c['padding']['B'] /= $k;
19417 !isset($c['textbuffer'][$n][16]['B']) || $c['textbuffer'][$n][16]['B']['w'] /= $k;
19451 $bindata = pack("nnda6A10nnda6A10nnda6A10nnda6A10nd9", $cell['border'], $cell['border_details']['R']['s'], $cell['border_details']['R']['w'], $cell['border_details']['R']['c'], $cell['border_details']['R']['style'], $cell['border_details']['R']['dom'], $cell['border_details']['L']['s'], $cell['border_details']['L']['w'], $cell['border_details']['L']['c'], $cell['border_details']['L']['style'], $cell['border_details']['L']['dom'], $cell['border_details']['T']['s'], $cell['border_details']['T']['w'], $cell['border_details']['T']['c'], $cell['border_details']['T']['style'], $cell['border_details']['T']['dom'], $cell['border_details']['B']['s'], $cell['border_details']['B']['w'], $cell['border_details']['B']['c'], $cell['border_details']['B']['style'], $cell['border_details']['B']['dom'], $cell['border_details']['mbw']['BL'], $cell['border_details']['mbw']['BR'], $cell['border_details']['mbw']['RT'], $cell['border_details']['mbw']['RB'], $cell['border_details']['mbw']['TL'], $cell['border_details']['mbw']['TR'], $cell['border_details']['mbw']['LT'], $cell['border_details']['mbw']['LB'], (isset($cell['border_details']['cellposdom']) ? $cell['border_details']['cellposdom'] : 0));
19461 return [$bindata['border_details']['T']['w'], $bindata['border_details']['R']['w'], $bindata['border_details']['B']['w'], $bindata['border_details']['L']['w']];
19468 $cell['border_details']['B']['w'] = $bd['bw'];
19502 $cell['border_details']['B']['s'] = $bd['bs'];
19503 $cell['border_details']['B']['w'] = $bd['bw'];
19504 $cell['border_details']['B']['c'] = str_pad($bd['bca'], 6, "\x00");
19505 $cell['border_details']['B']['style'] = trim($bd['bst']);
19506 $cell['border_details']['B']['dom'] = $bd['bd'];
20027 // If it is less than 1/20th of the remaining page height to finish the DIV (i.e. DIV padding + table bottom margin) then allow for this
20085 // If the table width is already set to the maximum width (e.g. nested table), then use maximum column widths exactly
20134 $wi = ($table['w'] - ($wis + $tblbw)); // i.e. extra space to distribute
20153 $wi = ($table['w'] - ($wis + $tblbw)); // i.e. extra space to distribute
20328 // If it is less than 1/20th of the remaining page height to finish the DIV (i.e. DIV padding + table bottom margin)
20330 $enddiv = $this->blk[$this->blklvl]['padding_bottom'] + $this->blk[$this->blklvl]['border_bottom']['w'] + $table['margin']['B'];
20358 $extrh = ($table['simple']['border_details']['T']['w'] + $table['simple']['border_details']['B']['w']) + ($c['padding']['T'] + $c['padding']['B']) + $table['border_spacing_V'];
20361 $extrh = ($table['simple']['border_details']['T']['w'] + $table['simple']['border_details']['B']['w']) / 2 + ($c['padding']['T'] + $c['padding']['B']);
20368 $bb = $c['border_details']['B']['w'];
20374 $extrh = $bt + $bb + $c['padding']['T'] + $c['padding']['B'] + $table['border_spacing_V'];
20377 $extrh = $bt / 2 + $bb / 2 + $c['padding']['T'] + $c['padding']['B'];
20436 $extra = $table['margin']['B'] + $table['padding']['B'] + $table['border_details']['B']['w'] + $table['border_spacing_V'] / 2;
20444 $extra = $table['simple']['border_details']['B']['w'] / 2;
20500 $extra = $table['margin']['B'] + $table['padding']['B'] + $table['border_details']['B']['w'] + $table['border_spacing_V'] / 2;
20509 $bb = $c['border_details']['B']['w'];
20513 $extra = $table['simple']['border_details']['B']['w'] / 2;
20550 // i.e. for one or more rows, the only cells (explicit) in that row have rowspan>1
20630 $table['h'] += $table['margin']['T'] + $table['margin']['B'] + $table['border_details']['T']['w'] + $table['border_details']['B']['w'] + $table['border_spacing_V'] + $table['padding']['T'] + $table['padding']['B'];
20632 $table['h'] += $table['margin']['T'] + $table['margin']['B'] + $table['max_cell_border_width']['T'] / 2 + $table['max_cell_border_width']['B'] / 2;
20809 } elseif ($side == 'B' && $this->issetBorder($bord, Border::BOTTOM)) {
20840 if (isset($details['B']['w'])) {
20841 $Bw = $details['B']['w'];
20908 if ($cort == 'cell' || strpos($tablecorner, 'B') !== false) {
20943 if ($cort == 'cell' || strpos($tablecorner, 'B') !== false) {
20962 if ($Bw && $side == 'B' && $this->issetBorder($bord, Border::BOTTOM)) { // BOTTOM
21031 if ($side == 'B') {
21130 if ($side == 'B') {
21148 } elseif ($side == 'B' && $bSeparate) {
21154 } elseif ($side == 'B') {
21183 if ($side == 'B') {
21207 } elseif ($side == 'B' && $bSeparate) {
21213 } elseif ($side == 'B') {
21324 if (!$table['borders_separate'] && $table['border_details']['B']['w']) {
21325 $table['max_cell_border_width']['B'] = $table['border_details']['B']['w'];
21376 $this->_table2cellBorder($table['border_details']['B'], $cbord['border_details']['B'], $cbord['border'], Border::BOTTOM);
21394 $cbord['border_details']['B'] = $tntborddet;
21405 $cbord['border_details']['B'] = $tntborddet;
21420 $cbord['border_details']['B'] = $tntborddet;
21427 $cbord['border_details']['B'] = $thuborddet;
21468 $csthis = $cbord['border_details']['B']['w'];
21471 if ($cbord['border_details']['B']['style'] == 'hidden') {
21473 $celladj['border_details']['T'] = $cbord['border_details']['B'];
21479 $cbord['border_details']['B'] = $celladj['border_details']['T'];
21486 $celladj['border_details']['T'] = $cbord['border_details']['B'];
21493 $cbord['border_details']['B'] = $celladj['border_details']['T'];
21497 } elseif (array_search($cbord['border_details']['B']['style'], $this->borderstyles) > array_search($celladj['border_details']['T']['style'], $this->borderstyles)) { // double>solid>dashed>dotted...
21500 $celladj['border_details']['T'] = $cbord['border_details']['B'];
21504 } elseif (array_search($celladj['border_details']['T']['style'], $this->borderstyles) > array_search($cbord['border_details']['B']['style'], $this->borderstyles)) {
21507 $cbord['border_details']['B'] = $celladj['border_details']['T'];
21511 } elseif ($celladj['border_details']['T']['dom'] > $celladj['border_details']['B']['dom']) { // Style set on cell vs. table
21514 $cbord['border_details']['B'] = $celladj['border_details']['T'];
21521 $celladj['border_details']['T'] = $cbord['border_details']['B'];
21530 $celladj['border_details']['T'] = $cbord['border_details']['B'];
21633 $cbord['border_details']['mbw']['RB'] = max($cbord['border_details']['mbw']['RB'], $cbord['border_details']['B']['w']);
21637 $cbord['border_details']['mbw']['LB'] = max($cbord['border_details']['mbw']['LB'], $cbord['border_details']['B']['w']);
21690 $celladj ? $celladj['border_details']['B']['w'] : 0,
21769 $celladj ? $celladj['border_details']['B']['w'] : 0,
21809 if (($i == ($numrows - 1) || ($i + $crowsp) == $numrows ) && $cbord['border_details']['B']['w']) {
21810 $table['max_cell_border_width']['B'] = max($table['max_cell_border_width']['B'], $cbord['border_details']['B']['w']);
22123 $extra = $table['padding']['B'] + $table['border_details']['B']['w'] + $table['border_spacing_V'] / 2;
22124 // $extra = $table['margin']['B'] + $table['padding']['B'] + $table['border_details']['B']['w'] + $table['border_spacing_V']/2;
22129 $extra = $table['max_cell_border_width']['B'] / 2;
22173 $adv += ($table['padding']['B'] + $table['border_details']['B']['w']);
22180 $maxbwbottom = $table['max_cell_border_width']['B'];
22188 $bb = $cells[$brow][$ctj]['border_details']['B']['w'];
22211 $maxbwbottom = $table['simple']['border_details']['B']['w'];
22274 if ($this->splitTableBorderWidth && ($this->keepColumns || !$this->ColActive) && empty($tablefooter) && $i > 0 && $table['border_details']['B']['w']) {
22278 $this->SetDColor($table['border_details']['B']['c']);
22300 $bh -= $table['max_cell_border_width']['B'] / 2;
22533 $adv = $table['margin']['B'] + $table['padding']['B'] + $table['border_details']['B']['w'] + $table['border_spacing_V'] / 2;
22535 $adv = $table['margin']['B'] + $table['max_cell_border_width']['B'] / 2;
22582 $hadj += $table['padding']['B'] + $table['border_details']['B']['w'];
22813 $this->_tableRect($x + ($table['border_spacing_H'] / 2) + ($bord_det['L']['w'] / 2), $y + ($table['border_spacing_V'] / 2) + ($bord_det['T']['w'] / 2), $w - $table['border_spacing_H'] - ($bord_det['L']['w'] / 2) - ($bord_det['R']['w'] / 2), $h - $table['border_spacing_V'] - ($bord_det['T']['w'] / 2) - ($bord_det['B']['w'] / 2), $bord, $bord_det, false, $table['borders_separate']);
22820 if ($cell['R'] && intval($cell['R']) > 0 && intval($cell['R']) < 90 && isset($cell['va']) && $cell['va'] != 'B') {
22821 $cell['va'] = 'B';
22825 } elseif (isset($cell['va']) && $cell['va'] == 'B') {
22901 $this->y += (($h - $cell['mih']) / 2) + $cell['padding']['T'] + ($cell['mih'] - ($cell['padding']['T'] + $cell['padding']['B']));
22905 } elseif (isset($cell['va']) && $cell['va'] == 'B') {
22908 $this->y += $h - ($cell['padding']['B'] + ($table['border_spacing_V'] / 2));
22914 $this->y += $cell['mih'] - ($cell['padding']['B'] + ($table['border_spacing_V'] / 2));
23078 $halfspaceB = $table['padding']['B'] + ($table['border_spacing_V'] / 2);
23093 $tbh += $halfspaceB + ($table['border_details']['B']['w'] / 2);
23095 $corner .= 'B';
23151 $this->y += $table['padding']['B'] + $table['border_details']['B']['w'] + $table['border_spacing_V'] / 2;
23153 $this->y += $table['max_cell_border_width']['B'] / 2;
23157 $this->tbrot_h += $table['margin']['B'] + $table['padding']['B'] + $table['border_details']['B']['w'] + $table['border_spacing_V'] / 2;
23159 $this->tbrot_h += $table['margin']['B'] + $table['max_cell_border_width']['B'] / 2;
23182 $bh -= $table['max_cell_border_width']['B'] / 2;
23279 if ($table['margin']['B']) {
23281 $this->DivLn($table['margin']['B'], $this->blklvl, true); // collapsible
23283 $this->y += ($table['margin']['B']);
23342 // else y is used as set, or =0 i.e. top of page
24026 // e.g. "elephant 73, 97-99" = elephant[$spacer]73[$sep]97[$joiner]99
24027 // $subEntrySeparator separates main and subentry (if $this->indexUseSubentries == false;) e.g.
24029 // $subEntryInset specifies what precedes a subentry (if $this->indexUseSubentries == true;) e.g.
24048 $this->Reference[$i]['uf'] = $txt; // Unformatted e.g. pure utf-8 encoded characters, no mark-up/tags
24107 // Sub-entries e.g. Mammals:elephant
24108 // But allow for tags e.g. <b>Mammal</b>:elephants
24112 foreach ($a as $k => $e) {
24114 if (strpos($e, ':') !== false) { // == SubEntry
24118 list($txtmain, $sub) = preg_split('/[:]/', $e, 2);
24125 $e = $sub; // Only replace first one
24127 $e = preg_replace('/[:]/', $subEntrySeparator, $e, 1); // Only replace first one
24132 $txt .= $e;
24732 // otherwise triggers for all entries in column buffer (.e.g. formatting) and makes below adjustments more than once
25344 $op = 'B';
25509 // PDF comes before PDI to close isolate-override (e.g. "LRILROPDFPDI")
25520 // LRI comes before LRO to open isolate-override (e.g. "LRILROPDFPDI")
25535 } elseif (strpos($bdf, 'RLE') !== false) { // U+202B RLE
25560 foreach ($a as $i => $e) {
25562 $e = strtr($e, $this->substitute);
25564 $html .= $e;
25767 // Check if current CJK font has a ext-B related font
25905 array_splice($writehtml_a, $writehtml_i + 1, 0, [$font, implode('|', $repl), '/' . $font, $m[3]]); // e.g. <tts>
26023 * Only exception - leaves low ASCII entities e.g. &lt; &amp; etc.
26732 foreach ($a as $i => $e) {
26737 $a[$i] = $e;
26741 $e = UtfString::strcode2utf($e);
26742 $e = $this->lesser_entity_decode($e);
26744 $earr = $this->UTF8StringToArray($e, false);
26837 $a[$i] = '<' . $e . '>';
26850 function columnAdjustAdd($type, $k, $xadj, $yadj, $a, $b, $c = 0, $d = 0, $e = 0, $f = 0)
26878 return sprintf('q %.3F 0 0 %.3F %.3F %.3F', $a, $b, $c, $d) . ' cm /' . $e;
26893 $e += ($xadj * $k);
26896 return sprintf('%.3F %.3F %.3F %.3F %.3F %.3F', $a, $b, $c, $d, $e, $f) . ' c';