Lines Matching defs:border

2150 		if (isset($properties['BACKGROUND-ORIGIN']) && ($properties['BACKGROUND-ORIGIN'] == 'border-box' || $properties['BACKGROUND-ORIGIN'] == 'content-box')) {
4524 function WriteCell($w, $h = 0, $txt = '', $border = 0, $ln = 0, $align = '', $fill = 0, $link = '', $currentx = 0)
4561 $this->Cell($w, $h, $txt, $border, $ln, $align, $fill, $link, $currentx, 0, 0, 'M', 0, false, $OTLdata, $textvar);
4734 function Cell($w, $h = 0, $txt = '', $border = 0, $ln = 0, $align = '', $fill = 0, $link = '', $currentx = 0, $lcpaddingL = 0, $lcpaddingR = 0, $valign = 'M', $spanfill = 0, $exactWidth = false, $OTLdata = false, $textvar = 0, $lineBox = false)
4786 // Test: to put border around cell as it is specified: $border='LRTB';
4838 if (isset($lineBox['border-boxtop'])) {
4839 $bord_boxtop = $this->y + $lineBox['border-boxtop'] - $lineBox['border-baseline-shift'];
4840 $bord_boxbottom = $this->y + $lineBox['border-boxbottom'] - $lineBox['border-baseline-shift'];
4879 $exth = 0.2; // Add to fontsize to increase height of background / link / border
4920 if ($fill == 1 || $border == 1 || !empty($this->spanborddet)) {
5091 } else { // If "border", does not come from WriteFlowingBlock or FinishFlowingBlock
5094 $op = ($border == 1) ? 'B' : 'f';
5103 if (is_string($border)) { // If "border", does not come from WriteFlowingBlock or FinishFlowingBlock
5108 if (is_int(strpos($border, 'L'))) {
5112 if (is_int(strpos($border, 'T'))) {
5116 if (is_int(strpos($border, 'R'))) {
5120 if (is_int(strpos($border, 'B'))) {
5837 $border = 0,
5915 if ($border) {
5917 if ($border == 1) {
5918 $border = 'LTRB';
5923 if (is_int(strpos($border, 'L'))) {
5926 if (is_int(strpos($border, 'R'))) {
5929 $b = is_int(strpos($border, 'T')) ? $b2 . 'T' : $b2;
5984 if ($border and $nl == 2) {
6078 if ($border and $nl == 2) {
6117 if ($border and $nl == 2) {
6179 if ($border and $nl == 2) {
6195 if ($border and is_int(strpos($border, 'B'))) {
6256 $saved['border'] = $this->spanborddet;
6318 $this->spanborddet = $saved['border'];
6352 $saved['border'] = $this->spanborddet;
6381 $this->spanborddet = $saved['border'];
6597 // Get PAGEBREAK TO TEST for height including the bottom border/padding
6624 // Avoid just border/background-color moved on to next page
8427 // Get PAGEBREAK TO TEST for height including the top border/padding
8486 // Update y0 for top of block (used to paint border)
8992 if ($h > $this->h - ($this->tMargin + $this->bMargin + 1)) { // see below - +10 to avoid drawing too close to border of page
11392 $lineBox[$k]['border-boxtop'] = $topy - $bordypos[$k]['boxtop'];
11393 $lineBox[$k]['border-boxbottom'] = $topy - $bordypos[$k]['boxbottom'];
11394 $lineBox[$k]['border-baseline-shift'] = $bordypos[$k]['baseline-shift'];
11766 // Advance down page by half width of top border
11855 $border = Arrays::get($tablehf, 'border', null);
12026 if ($table['borders_separate'] && $paintcell && $border) {
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']);
12028 } elseif ($paintcell && $border) {
12029 $this->_tableRect($x, $y, $w, $h, $border, $border_details, true, $table['borders_separate']); // true causes buffer
12114 if ($table['borders_separate']) { // NB twice border width
12211 // TABLE BORDER - if separate OR collapsed and only table border
12212 if (($table['borders_separate'] || ($this->simpleTables && !$table['simple']['border'])) && $table['border']) {
12551 $html = '<table width="100%" style="border-collapse: collapse; margin: 0; vertical-align: ' . $valign . '; color: #000000; ';
12554 $html .= ' border-' . $valign . ': 0.1mm solid #000000;';
12727 $oddhtml = '<table width="100%" style="border-collapse: collapse; margin: 0; vertical-align: bottom; color: #000000; ';
12745 $oddhtml .= ' border-bottom: 0.1mm solid #000000;';
12755 $evenhtml = '<table width="100%" style="border-collapse: collapse; margin: 0; vertical-align: bottom; color: #000000; ';
12771 $evenhtml .= ' border-bottom: 0.1mm solid #000000;';
12801 $oddhtml .= ' border-bottom: 0.1mm solid #000000;';
12823 $evenhtml .= ' border-bottom: 0.1mm solid #000000;';
12872 $oddhtml = '<table width="100%" style="border-collapse: collapse; margin: 0; vertical-align: top; color: #000000; ';
12888 $oddhtml .= ' border-top: 0.1mm solid #000000;';
12898 $evenhtml = '<table width="100%" style="border-collapse: collapse; margin: 0; vertical-align: top; color: #000000; ';
12916 $evenhtml .= ' border-top: 0.1mm solid #000000;';
12946 $oddhtml .= ' border-top: 0.1mm solid #000000;';
12969 $evenhtml .= ' border-top: 0.1mm solid #000000;';
13036 $b = $this->nonPrintMargin; // Non-printable border at edge of paper sheet
13959 // top/left/right/bottom/width/height/background*/border*/padding*/margin* are taken from bounding
14076 // Copy over (only) the properties to set for border and background
14599 // These are only needed when painting border/background
14891 // Check if Falls within ellipse of border radius
16422 } // To move the y up when new column/page started if div border needed
16576 if ((isset($this->blk[$this->blklvl]['border']) || isset($this->blk[$this->blklvl]['bgcolor']) || isset($this->blk[$this->blklvl]['box_shadow'])) && $blockstate && ($this->y != $this->oldy)) {
16666 // Set border-widths as used here
16735 // Disallow border-radius if it is smaller than the border width.
16817 // Set the distance from the border line to the text ? make configurable variable
16923 // Reinstate line above for dotted line divider when block border crosses a page
16987 // Reinstate line below for dotted line divider when block border crosses a page
17129 // Defined br values represent the radius of the outer curve - need to take border-width/2 from each radius for drawing the borders
17272 // If any border-radius is greater width-negative spread(inner edge), ignore radii for shadow or screws up
18226 $this->blk[$this->blklvl]['border'] = 1;
18232 $this->blk[$this->blklvl]['border'] = 1;
18238 $this->blk[$this->blklvl]['border'] = 1;
18244 $this->blk[$this->blklvl]['border'] = 1;
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));
19483 $cell['border'] = $bd['bord'];
19557 if ($table['borders_separate']) { // NB twice border width
19569 if ($table['borders_separate']) { // NB twice border width
20356 if ($table['borders_separate']) { // NB twice border width
20372 if ($table['borders_separate']) { // NB twice border width
20590 // Intentionally do not substract border-spacing
21353 if (!$cbord['border'] && $cbord['border'] !== 0 && isset($table['border']) && $table['border'] && $this->table_border_attr_set) {
21354 $cbord['border'] = $table['border'];
21370 // Inherit Cell border from Table border
21373 $this->_table2cellBorder($table['border_details']['T'], $cbord['border_details']['T'], $cbord['border'], Border::TOP);
21376 $this->_table2cellBorder($table['border_details']['B'], $cbord['border_details']['B'], $cbord['border'], Border::BOTTOM);
21379 $this->_table2cellBorder($table['border_details']['L'], $cbord['border_details']['L'], $cbord['border'], Border::LEFT);
21382 $this->_table2cellBorder($table['border_details']['R'], $cbord['border_details']['R'], $cbord['border'], Border::RIGHT);
21391 $this->setBorder($cbord['border'], Border::TOP);
21395 $this->setBorder($cbord['border'], Border::BOTTOM);
21400 $this->setBorder($cbord['border'], Border::TOP);
21406 $this->setBorder($cbord['border'], Border::BOTTOM);
21411 $this->setBorder($cbord['border'], Border::TOP);
21416 $this->setBorder($cbord['border'], Border::TOP);
21421 $this->setBorder($cbord['border'], Border::BOTTOM);
21428 $this->setBorder($cbord['border'], Border::BOTTOM);
21434 $this->setBorder($cbord['border'], Border::TOP);
21437 $this->setBorder($cbord['border'], Border::TOP);
21444 // Do not turn off border which is overridden
21446 // Means it is painted twice. (Left/Right can still disable overridden border)
21474 $this->setBorder($celladj['border'], Border::TOP, false);
21475 $this->setBorder($cbord['border'], Border::BOTTOM, false);
21480 $this->setBorder($cbord['border'], Border::BOTTOM, false);
21481 $this->setBorder($celladj['border'], Border::TOP, false);
21487 $this->setBorder($cbord['border'], Border::BOTTOM);
21494 $this->setBorder($celladj['border'], Border::TOP);
21501 $this->setBorder($cbord['border'], Border::BOTTOM);
21508 $this->setBorder($celladj['border'], Border::TOP);
21515 $this->setBorder($celladj['border'], Border::TOP);
21522 $this->setBorder($cbord['border'], Border::BOTTOM);
21565 $this->setBorder($celladj['border'], Border::LEFT, false);
21566 $this->setBorder($cbord['border'], Border::RIGHT, false);
21569 $this->setBorder($cbord['border'], Border::RIGHT, false);
21570 $this->setBorder($celladj['border'], Border::LEFT, false);
21575 $this->setBorder($cbord['border'], Border::RIGHT);
21576 $this->setBorder($celladj['border'], Border::LEFT, false);
21581 $this->setBorder($cbord['border'], Border::RIGHT, false);
21582 $this->setBorder($celladj['border'], Border::LEFT);
21588 $this->setBorder($celladj['border'], Border::LEFT, false);
21589 $this->setBorder($cbord['border'], Border::RIGHT);
21594 $this->setBorder($cbord['border'], Border::RIGHT, false);
21595 $this->setBorder($celladj['border'], Border::LEFT);
21601 $this->setBorder($celladj['border'], Border::LEFT);
21607 $this->setBorder($cbord['border'], Border::RIGHT);
21611 // if right-cell border is not set
21626 // Set maximum cell border width meeting at LRTB edges of cell - used for extended cell border
21627 // ['border_details']['mbw']['LT'] = meeting border width - Left border - Top end
21707 if ($i > 0 && isset($cells[$i - 1][$j]) && is_array($cells[$i - 1][$j]) && (($this->packTableData && $cells[$i - 1][$j]['borderbin']) || $cells[$i - 1][$j]['border'])) { // Has Top adjoining cell
21752 if ($j > 0 && isset($cells[$i][$j - 1]) && is_array($cells[$i][$j - 1]) && (($this->packTableData && $cells[$i][$j - 1]['borderbin']) || $cells[$i][$j - 1]['border'])) { // Has Left adjoining cell
21799 // Update maximum cell border width at LRTB edges of table - used for overall table width
21891 // Advance down page by half width of top border
22040 $tablefooter[$i][$js]['border'] = $c['border'];
22043 $tablefooter[$i][$js]['border'] = $cell['border'];
22047 $tablefooter[$i][$js]['border'] = $table['simple']['border'];
22166 // Move down to account for border-spacing or
22167 // extra half border width in case page breaks in middle
22394 // Move down to account for half of top border-spacing or
22395 // extra half border width in case page was broken in middle
22537 $divh += $adv; // last row: fill bottom half of bottom border (y advanced at end)
22608 $bord = $c['border'];
22611 $bord = $cell['border'];
22615 $bord = $table['simple']['border'];
22789 $tableheader[$i][$j]['border'] = $bord;
22792 $tableheader[$i][$j]['border'] = $table['simple']['border'];
22956 if ($table['borders_separate']) { // NB twice border width
23074 if (($table['borders_separate'] || ($this->simpleTables && !$table['simple']['border'])) && $table['border']) {
23149 // Advance down page by half width of bottom border
26100 function WriteBarcode($code, $showtext = 1, $x = '', $y = '', $size = 1, $border = 0, $paddingL = 1, $paddingR = 1, $paddingT = 2, $paddingB = 2, $height = 1, $bgcol = false, $col = false, $btype = 'ISBN', $supplement = '0', $supplement_code = '', $k = 1)
26183 // PRINT border background color
26203 if ($border) {
26522 // PRINT border background color