Lines Matching defs:type

552 	// mPDF 6 Used for table cell (block-type) properties
1845 * mime (optional): file mime type (will show up as /Subtype in the PDF)
2279 $s .= $this->gradient->Gradient($clx, $cly, $clw, $clh, $g['type'], $g['stops'], $g['colorspace'], $g['coords'], $g['extend'], true);
2795 $condition = (isset($a['condition']) ? $a['condition'] : (isset($a['type']) ? $a['type'] : ''));
3088 $this->PageNumSubstitutions[] = ['from' => ($this->page + 1), 'reset' => $resetpagenum, 'type' => $pagenumstyle, 'suppress' => $suppress];
3356 function SetColor($col, $type = '')
3371 if ($type == 'Draw') {
3374 elseif ($type == 'CodeOnly') {
3544 if ($this->CurrentFont['type'] == 'Type0') { // CJK Adobe fonts
3637 if ($this->CurrentFont['type'] == 'Type0') { // CJK Adobe fonts
3860 'type' => '',
3965 'type' => $font['type'],
4011 'type' => 'TTF',
4124 // else substitute font of similar type
4249 $this->fonts[$fontkey] = ['i' => $i, 'type' => 'core', 'name' => $this->CoreFonts[$fontkey], 'desc' => $desc, 'up' => $up, 'ut' => $ut, 'cw' => $cw];
6576 if ($this->objectbuffer[$k]['type'] == 'image' && isset($this->objectbuffer[$k]['listmarker']) && $this->objectbuffer[$k]['listmarker'] && $this->objectbuffer[$k]['listmarkerposition'] == 'outside') {
6764 if ($this->objectbuffer[$k]['type'] == 'dottab') {
6904 if ($this->objectbuffer[$k]['type'] == 'listmarker') {
6908 if ($this->objectbuffer[$k]['type'] == 'dottab') { // mPDF 6 DOTTAB
6911 if ($this->objectbuffer[$k]['type'] != 'dottab') { // mPDF 6 DOTTAB
6971 if ($this->objectbuffer[$k]['type'] == 'dottab') {
6976 if ($this->objectbuffer[$k]['type'] == 'image' && isset($this->objectbuffer[$k]['listmarker']) && $this->objectbuffer[$k]['listmarker'] && $this->objectbuffer[$k]['listmarkerposition'] == 'outside') {
7122 if ($objattr['type'] == 'bookmark' || $objattr['type'] == 'indexentry' || $objattr['type'] == 'toc') {
7127 if ($objattr['type'] == 'bookmark') {
7130 if ($objattr['type'] == 'indexentry') {
7133 if ($objattr['type'] == 'toc') {
7136 } /* -- ANNOTATIONS -- */ elseif ($objattr['type'] == 'annot') {
7172 if ($objattr['type'] == 'hr') {
7193 if ($objattr['type'] == 'image') {
7342 $dummy = $this->gradient->Gradient($objattr['INNER-X'], $objattr['INNER-Y'], $obiw, $obih, $g['type'], $g['stops'], $g['colorspace'], $g['coords'], $g['extend'], true, true);
7390 if ($objattr['type'] === 'barcode') {
7500 if ($objattr['type'] == 'textcircle') {
7532 if ($objattr['type'] == 'listmarker') {
7542 $type = $objattr['bullet'];
7570 $this->_printListBullet($this->x, $this->y, $size, $type, $col);
7591 if ($objattr['type'] == 'dottab') {
7623 if ($objattr['type'] == 'input' && ($objattr['subtype'] == 'TEXT' || $objattr['subtype'] == 'PASSWORD')) {
7628 if ($objattr['type'] == 'textarea') {
7633 if ($objattr['type'] == 'select') {
7639 if ($objattr['type'] == 'input' && $objattr['subtype'] == 'IMAGE') {
7644 if ($objattr['type'] == 'input' && ($objattr['subtype'] == 'SUBMIT' || $objattr['subtype'] == 'RESET' || $objattr['subtype'] == 'BUTTON')) {
7649 if ($objattr['type'] == 'input' && ($objattr['subtype'] == 'CHECKBOX')) {
7653 if ($objattr['type'] == 'input' && ($objattr['subtype'] == 'RADIO')) {
7667 function _printListBullet($x, $y, $size, $type, $color)
7674 if ($type == 'square') {
7677 } elseif ($type == 'disc') {
7679 } elseif ($type == 'circle') {
7846 $objattr = $this->inlineObject($objattr['type'], $this->lMargin + $fpaddingL + ($contentWidth / Mpdf::SCALE), ($this->y + $h_corr), $objattr, $this->lMargin, ($contentWidth / Mpdf::SCALE), $maximumW, $stackHeight, true, $is_table);
7854 if ($objattr['type'] == 'image' && isset($objattr['listmarker']) && $objattr['listmarker'] && $objattr['listmarkerposition'] == 'outside') {
7936 if ($objattr['type'] == 'dottab') {
8162 $type = $breakfound[4];
8193 if ($cutcharctr == 0 && $type == 'discard') {
8215 if ($type == 'hyphen') {
8261 // Selected OBJECTS are moved forward to next line, unless they come before a space or U+200B (type='discard')
8262 if (isset($this->objectbuffer[(count($content) - 1)]) && (!isset($type) || $type != 'discard')) {
8263 $objtype = $this->objectbuffer[(count($content) - 1)]['type'];
8286 if ($this->objectbuffer[$k]['type'] == 'image' && isset($this->objectbuffer[$k]['listmarker']) && $this->objectbuffer[$k]['listmarker']) {
8537 if ($this->objectbuffer[$k]['type'] == 'listmarker') {
8541 if ($this->objectbuffer[$k]['type'] == 'dottab') { // mPDF 6 DOTTAB
8544 if ($this->objectbuffer[$k]['type'] != 'dottab') { // mPDF 6 DOTTAB
8600 if ($this->objectbuffer[$k]['type'] == 'image' && isset($this->objectbuffer[$k]['listmarker']) && $this->objectbuffer[$k]['listmarker'] && $this->objectbuffer[$k]['listmarkerposition'] == 'outside') {
8840 function Image($file, $x, $y, $w = 0, $h = 0, $type = '', $link = '', $paint = true, $constrain = true, $watermark = false, $shownoimg = true, $allowvector = true)
8860 if ($info['type'] == 'wmf') {
8867 if ($info['type'] == 'svg') {
8956 if ($info['type'] == 'wmf') {
8961 if ($info['type'] == 'svg') {
9030 if ($info['type'] == 'wmf') {
9035 if ($info['type'] == 'svg') {
9062 $sizesarray['itype'] = $info['type'];
9085 function inlineObject($type, $x, $y, $objattr, $Lmargin, $widthUsed, $maxWidth, $lineHeight, $paint = false, $is_table = false)
9113 if ($type == 'image' || $type == 'barcode' || $type == 'textcircle') {
9120 if ($objattr['type'] == 'select') {
9127 if ($type == 'image' || (isset($objattr['subtype']) && $objattr['subtype'] == 'IMAGE')) {
9136 if ($type == 'annot' || $type == 'bookmark' || $type == 'indexentry' || $type == 'toc') {
9143 if ($type == 'hr') { // always force new line
9154 if ($objattr['type'] == 'image' && isset($objattr['listmarker']) && $objattr['listmarker']) {
9161 if ($widthUsed > 0 && $displaywidth > $widthLeft && (!$is_table || $type != 'image')) { // New line needed
9179 if ($type == 'annot' || $type == 'bookmark' || $type == 'indexentry' || $type == 'toc') {
9192 if ($type == 'image') {
9212 if ($type == 'input' && $objattr['subtype'] == 'IMAGE') {
9226 if ($type == 'barcode' || $type == 'textcircle') {
9240 if ($type == 'textarea') {
9251 if ($type == 'hr') {
9267 if (($type == 'select') || ($type == 'input' && ($objattr['subtype'] == 'TEXT' || $objattr['subtype'] == 'PASSWORD'))) {
9274 if ($type == 'textarea' || $type == 'select' || $type == 'input') {
9489 if (($e['type'] < 2048 && $e['type'] != 8) || (intval($e['type']) & intval(ini_get("error_reporting")))) {
9492 $e['type'],
9951 if (isset($font['type']) && $font['type'] == 'TTF' && !$font['used']) {
10154 $this->PageNumSubstitutions[] = ['from' => ($this->page), 'reset' => $resetpagenum, 'type' => $pagenumstyle, 'suppress' => $suppress];
10783 $this->fonts[$fontkey] = ['i' => $i, 'type' => 'Type0', 'name' => $name, 'up' => $up, 'ut' => 40, 'cw' => $cw, 'CMap' => $CMap, 'registry' => $registry, 'MissingWidth' => 1000, 'desc' => $desc];
11168 if (isset($this->objectbuffer[$k]) && $this->objectbuffer[$k]['type'] == 'listmarker') {
11186 } elseif (isset($this->objectbuffer[$k]) && $this->objectbuffer[$k]['type'] == 'dottab') { // mPDF 6 DOTTAB
11359 if ($this->objectbuffer[$k]['type'] == 'listmarker') {
11361 } elseif ($this->objectbuffer[$k]['type'] == 'dottab') { // mPDF 6 DOTTAB
11531 $type = $this->defaultPageNumStyle; // set default Page Number Style
11549 if ($psarr['type']) {
11550 $type = $psarr['type'];
11565 $ppgno = $this->_getStyledNumber($ppgno, $type);
11580 $type = $this->defaultPageNumStyle; // set default Page Number Style
11595 if ($psarr['type']) {
11596 $type = $psarr['type'];
11617 $ppgno = $this->_getStyledNumber($ppgno, $type);
11627 function _getStyledNumber($ppgno, $type, $listmarker = false)
11643 $lowertype = strtolower($type);
11645 if ($lowertype == 'upper-latin' || $lowertype == 'upper-alpha' || $type == 'A') {
11649 } elseif ($lowertype == 'lower-latin' || $lowertype == 'lower-alpha' || $type == 'a') {
11653 } elseif ($lowertype == 'upper-roman' || $type == 'I') {
11657 } elseif ($lowertype == 'lower-roman' || $type == 'i') {
11681 // Returns current type (numberstyle), suppression state for this page number;
11687 $type = $this->defaultPageNumStyle; // set default Page Number Style
11701 if ($psarr['type']) {
11702 $type = $psarr['type'];
11721 return [$type, $suppress, $reset];
11968 $this->gradient->Gradient($px, $py, $pw, $ph, $g['type'], $g['stops'], $g['colorspace'], $g['coords'], $g['extend']);
11970 $this->tableBackgrounds[$level * 9 + 7][] = ['gradient' => true, 'x' => $px, 'y' => $py, 'w' => $pw, 'h' => $ph, 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => ''];
11991 $this->gradient->Gradient($px, $py, $pw, $ph, $g['type'], $g['stops'], $g['colorspace'], $g['coords'], $g['extend']);
11993 $this->tableBackgrounds[$level * 9 + 7][] = ['gradient' => true, 'x' => $px, 'y' => $py, 'w' => $pw, 'h' => $ph, 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => ''];
12149 $this->tableBackgrounds[$level * 9 + 4][] = ['gradient' => true, 'x' => $gx + ($table['border_spacing_H'] / 2), 'y' => $gy + ($table['border_spacing_V'] / 2), 'w' => $gw - $table['border_spacing_V'], 'h' => $gh - $table['border_spacing_H'], 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => $s];
12151 $this->tableBackgrounds[$level * 9 + 4][] = ['gradient' => true, 'x' => $gx, 'y' => $gy, 'w' => $gw, 'h' => $gh, 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => ''];
12172 $this->tableBackgrounds[$level * 9 + 4][] = ['gradient' => true, 'x' => $gx + ($table['border_spacing_H'] / 2), 'y' => $gy + ($table['border_spacing_V'] / 2), 'w' => $gw - $table['border_spacing_V'], 'h' => $gh - $table['border_spacing_H'], 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => $s];
12174 $this->tableBackgrounds[$level * 9 + 4][] = ['gradient' => true, 'x' => $gx, 'y' => $gy, 'w' => $gw, 'h' => $gh, 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => ''];
13468 if ($this->useSubstitutions && !$this->onlyCoreFonts && $this->CurrentFont['type'] != 'Type0' && $this->subPos < $i && (!$this->specialcontent || !$this->useActiveForms)) {
13509 if ($this->specialcontent == "type=select") {
15395 if ($info['type'] == 'wmf') {
15402 if ($info['type'] == 'svg') {
15431 $objattr['type'] = 'image';
15432 $objattr['itype'] = $info['type'];
15438 if ($info['type'] == 'wmf') {
15442 if ($info['type'] == 'svg') {
15467 $objattr['type'] = 'listmarker';
15516 $objattr['type'] = 'listmarker';
15555 $objattr['type'] = 'listmarker';
16150 if ($objattr['type'] == 'nestedtable') {
16220 list($skipln) = $this->inlineObject($objattr['type'], '', $this->y, $objattr, $this->lMargin, ($this->flowingBlockAttr['contentWidth'] / Mpdf::SCALE), $maxWidth, $this->flowingBlockAttr['height'], false, $is_table);
16228 $this->finishFlowingBlock(false, $objattr['type']);
16293 if ($objattr['type'] == 'image' && isset($objattr['float'])) {
17588 'gradtype' => $g['type'],
17658 'gradtype' => $g['type'],
18117 function setCSS($arrayaux, $type = '', $tag = '')
18119 // type= INLINE | BLOCK | TABLECELL // tag= BODY
18137 if ($type == 'BLOCK' && $this->blklvl > 0 && isset($this->blk[$this->blklvl - 1]['InlineProperties']) && isset($this->blk[$this->blklvl - 1]['InlineProperties']['size'])) {
18139 } elseif ($type == 'TABLECELL') {
18220 if ($type != 'INLINE' && $tag != 'BODY' && $type != 'TABLECELL') {
18372 if ($type != 'INLINE' && $type != 'TABLECELL') { // All block-level, including BODY tag
18420 if ($type == 'BLOCK') {
18435 if ($type == 'INLINE') {
18447 if ($type == 'INLINE') {
18479 if ($type != 'TABLECELL') {
18494 } elseif ($type == 'INLINE') {
18502 } elseif ($type != 'INLINE') {
19075 if ($objattr['type'] != 'hr' && isset($objattr['width']) && ($objattr['width'] / $this->shrin_k) > ($maxwidth + 0.0001)) {
22310 $this->tableBackgrounds[$level * 9 + 1][] = ['gradient' => true, 'x' => $bx, 'y' => $by, 'w' => $bw, 'h' => $bh, 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => ''];
22318 $this->tableBackgrounds[$level * 9 + 1][] = ['gradient' => true, 'x' => $bx, 'y' => $by, 'w' => $bw, 'h' => $bh, 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => ''];
22665 $this->gradient->Gradient($px, $py, $pw, $ph, $g['type'], $g['stops'], $g['colorspace'], $g['coords'], $g['extend']);
22667 $this->tableBackgrounds[$level * 9 + 7][] = ['gradient' => true, 'x' => $px, 'y' => $py, 'w' => $pw, 'h' => $ph, 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => ''];
22688 $this->gradient->Gradient($px, $py, $pw, $ph, $g['type'], $g['stops'], $g['colorspace'], $g['coords'], $g['extend']);
22690 $this->tableBackgrounds[$level * 9 + 7][] = ['gradient' => true, 'x' => $px, 'y' => $py, 'w' => $pw, 'h' => $ph, 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => ''];
23012 $this->tableBackgrounds[$level * 9 + 4][] = ['gradient' => true, 'x' => $gx + ($table['border_spacing_H'] / 2), 'y' => $gy + ($table['border_spacing_V'] / 2), 'w' => $gw - $table['border_spacing_V'], 'h' => $gh - $table['border_spacing_H'], 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => $s];
23014 $this->tableBackgrounds[$level * 9 + 4][] = ['gradient' => true, 'x' => $gx, 'y' => $gy, 'w' => $gw, 'h' => $gh, 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => ''];
23034 $this->tableBackgrounds[$level * 9 + 4][] = ['gradient' => true, 'x' => $gx + ($table['border_spacing_H'] / 2), 'y' => $gy + ($table['border_spacing_V'] / 2), 'w' => $gw - $table['border_spacing_V'], 'h' => $gh - $table['border_spacing_H'], 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => $s];
23036 $this->tableBackgrounds[$level * 9 + 4][] = ['gradient' => true, 'x' => $gx, 'y' => $gy, 'w' => $gw, 'h' => $gh, 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => ''];
23229 $this->tableBackgrounds[$level * 9 + 1][] = ['gradient' => true, 'x' => $bx, 'y' => $by, 'w' => $bw, 'h' => $bh, 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => ''];
23237 $this->tableBackgrounds[$level * 9 + 1][] = ['gradient' => true, 'x' => $bx, 'y' => $by, 'w' => $bw, 'h' => $bh, 'gradtype' => $g['type'], 'stops' => $g['stops'], 'colorspace' => $g['colorspace'], 'coords' => $g['coords'], 'extend' => $g['extend'], 'clippath' => ''];
23456 // $this->PageNumSubstitutions[] = array('from'=>1, 'reset'=> $resetpagenum, 'type'=>$pagenumstyle, 'suppress'=> $suppress);
23458 $this->PageNumSubstitutions[] = ['from' => $this->page, 'reset' => $resetpagenum, 'type' => $pagenumstyle, 'suppress' => $suppress];
23754 $newarr[$target_page] = ['from' => $target_page, 'suppress' => $sp_suppress, 'reset' => $sp_reset, 'type' => $sp_type];
23757 $newarr[($target_page + $n_toc)] = ['from' => ($target_page + $n_toc), 'suppress' => $tp_suppress, 'reset' => $tp_reset, 'type' => $tp_type];
23760 $newarr[($end_page + 1)] = ['from' => ($end_page + 1), 'suppress' => $ep_suppress, 'reset' => $ep_reset, 'type' => $ep_type];
24892 function columnAdjustPregReplace($type, $xadj, $yadj, $pattern, $subject)
24916 return str_replace($matches[0], $this->columnAdjustAdd($type, Mpdf::SCALE, $xadj, $yadj, $matches[1], $matches[2], $matches[3], $matches[4], $matches[5], $matches[6]), $subject);
26850 function columnAdjustAdd($type, $k, $xadj, $yadj, $a, $b, $c = 0, $d = 0, $e = 0, $f = 0)
26852 if ($type === 'Td') { // xpos,ypos
26859 } elseif ($type === 're') { // xpos,ypos,width,height
26866 } elseif ($type === 'l') { // xpos,ypos,x2pos,y2pos
26873 } elseif ($type === 'img') { // width,height,xpos,ypos
26880 } elseif ($type === 'draw') { // xpos,ypos
26887 } elseif ($type === 'bezier') { // xpos,ypos,x2pos,y2pos,x3pos,y3pos