Lines Matching defs:B

76 	var $PDFAversion = '1-B';
538 var $B;
1340 if (isset($fs['B']) && $fs['B']) {
1341 $this->available_unifonts[] = $f . 'B';
1498 $this->B = 0;
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') {
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) {
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
8261 // Selected OBJECTS are moved forward to next line, unless they come before a space or U+200B (type='discard')
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);
11220 } elseif ($va == 'B') {
11369 $va = $this->objectbuffer[$k]['vertical-align']; // = $objattr['vertical-align'] = set as M,T,B,S
11381 } elseif ($va == 'B') {
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') {
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');
18456 $this->spanborddet['B'] = $this->border_details($v);
18595 $this->SetStyle('B', true);
18598 $this->SetStyle('B', false);
18983 foreach (['B', 'I'] as $s) {
18996 foreach (['B', 'I'] as $s) {
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'];
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;
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']);
25344 $op = 'B';
25535 } elseif (strpos($bdf, 'RLE') !== false) { // U+202B RLE
25767 // Check if current CJK font has a ext-B related font