Lines Matching defs:set

407 	var $pageDim; // Keep track of page wxh for orientation changes - set in _beginpage, used in _putannots
654 var $shrink_this_table_to_fit; // 0 or false to disable; value (if set) gives maximum factor to reduce fontsize
804 var $InFooter; // flag set when processing footer
807 var $processingFooter; // flag set when processing footer - added for columns
808 var $processingHeader; // flag set when processing header - added for columns
1894 // set alpha for stroking (CA) and non-stroking (ca) operations
1943 $this->PDFAXwarnings[] = "Cannot set visibility to anything other than full when using PDFA or PDFX";
2055 // pba is background positioning area (from CSS background-origin) may not always be set [x,y,w,h]
2191 if (preg_match('/from-image/i', $properties['BACKGROUND-IMAGE-RESOLUTION']) && isset($sizesarray['set-dpi']) && $sizesarray['set-dpi'] > 0) {
2192 $orig_w *= $this->img_dpi / $sizesarray['set-dpi'];
2193 $orig_h *= $this->img_dpi / $sizesarray['set-dpi'];
2639 } // At present 'bpa' (background page area) is not set for tablebackgrounds - only pagebackgrounds
2640 // For now, just set it as:
3693 // Kashida is set as an absolute length value (already set as a proportion based on useKashida %)
4046 throw new \Mpdf\MpdfException("No font or default font set!");
4115 // If font[nostyle] exists - set it
4118 } // elseif only one font available - set it (assumes if only one font available it will not have a style)
4161 // set first available font
4353 // Expects Font to be set
4675 // We are now going to set it as an actual length
4822 // which only have $lineBox['top'] set)
4831 // If inline element BACKGROUND has bounding box set by parent element:
4837 // If inline element BORDER has bounding box set by parent element:
4877 // spanfill or spanborder are set in FlowingBlock functions
5181 // Just output text; charspacing and wordspacing already set by charspacing (Tc) and ws (Tw)
5493 // Kashida is set as an absolute length value, but to adjust text needs to be converted to
6802 // If last character has an XPlacement set, adjust width calculation, and add to XAdvance to account for it
7024 // Update values if set to skipline
7053 // If CSS height set, extend bottom - if on same page as block started, and CSS HEIGHT > actual height,
7580 // Use these lines to set as marker-offset, right-aligned - default
8008 if ($CJKoverflow || $Oikomi) { // If flag already set
8229 // or - Next character ($c) is suitable to add as overhanging or squeezed punctuation, or Oikomi, as set above by:
8376 // If last character has an XPlacement set, adjust width calculation, and add to XAdvance to account for it
8659 // Update values if set to skipline
8759 // Update values if set to skipline
9063 $sizesarray['set-dpi'] = (isset($info['set-dpi']) ? $info['set-dpi'] : 0);
10260 // strlen()>0 is used to pick up (integer) 0, (string) '0', or set value
10400 /* When the setAutoTopMargin option is set to pad/stretch, only apply auto header height when a header exists */
10427 /* When the setAutoTopMargin option is set to pad/stretch, only apply auto footer height when a footer exists */
10551 // Repeating it will not output anything as mPDF thinks it is set
10975 // Return either a number (factor) - based on current set fontsize (if % or em) - or exact lineheight (with 'mm' after it)
11055 } // Default if not set - uses baselineC
11076 // Could depend on value for $text_height - a draft CSS value as set above for now
11085 // If an inline element has a font-size less than the block element, and the line-height is set as an em or % value
11149 // First, set a "strut" using block font at index $lineBox[-1]
11229 // In future could set CSS line-height from inline elements; for now, use block level:
11274 // If BORDER set on inline element
11286 // If BACKGROUND set on inline element
11314 if ($line_stacking_strategy == 'block-line-height') { // fixed height set by block element (whether present or not)
11322 // NB inclusive height already takes account of need to consider block progression height (excludes leading set by lineheight)
11323 // or extended block progression height (includes leading set by lineheight)
11369 $va = $this->objectbuffer[$k]['vertical-align']; // = $objattr['vertical-align'] = set as M,T,B,S
11531 $type = $this->defaultPageNumStyle; // set default Page Number Style
11580 $type = $this->defaultPageNumStyle; // set default Page Number Style
11631 $checkfont = true; // Using list - font is set, so check if character is available
11634 $checkfont = false; // For pagenumbers - font is not set, so no check
11682 // reset is only returned if set for this page number
11687 $type = $this->defaultPageNumStyle; // set default Page Number Style
13101 // If @page set non-HTML headers/footers named, they were not read until later in the HTML code - so now set them
13270 // If page-box is set
14076 // Copy over (only) the properties to set for border and background
14209 // If bottom or right pos are set and not left / top - save this to adjust rotated block later
14298 // IF containing element RTL, should set $bbox_right
14322 // IF containing element RTL, should set $bbox_right
14595 // WHEN HEIGHT // BOTTOM EDGE IS KNOWN and $this->y is set to the bottom
15779 // If Kerning set for OTL, and useOTL has positive value, but has not set for this particular script,
15780 // set for kerning via kern table
15781 // e.g. Latin script when useOTL set as 0x80
15842 // If Kerning set for OTL, and useOTL has positive value, but has not set for this particular script,
15843 // set for kerning via kern table
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
15941 // As a failsafe - if font has been set but not output to page
15955 // ALL the chunks of textbuffer need to have at least basic OTLdata set
15956 // First make sure each element/chunk has the OTLdata for Bidi set.
15967 // Gets messed up if try and use core fonts inside a paragraph of text which needs to be BiDi re-ordered or OTLdata set
16140 $this->HREF = $vetor[1]; // HREF link style set here ******
16244 // Added to correct Images already set on line before page advanced
17233 // Use clipping path as set above (and rectangle around page) to clip area outside box
18470 case 'VISIBILITY': // block is set in OpenTag
18901 // Needs to be set at the end - after vertical-align = super/sub, so that textparam['text-baseline'] is set
18957 if ($spanbordset) { // BORDER has been set on this INLINE element
18966 if ($spanbgset) { // BACKGROUND[-COLOR] has been set on this INLINE element
19181 // At this point, BIDI not applied, Writing direction is not set, and XAdvanceL balances XAdvanceR
19632 // If minimum width has already been set by a nested table or inline object (image/form), use it
19643 // If maximum width has already been set by a nested table, use it
19661 if (isset($c['colspan'])) { // Not perfect - but % set on colspan is shared equally on cols.
19687 // mPDF 5.7.4 Do not set column width in colspan
19692 } // If the Col width is not specified = set it to 1
19698 } // If cell width not specified -> set Cell min width it to minimum allowed (W)
19851 // If sum of widths as % >= 100% and not all columns are set
19863 if ($sumpc) { // if any percents are set
19951 // Table['miw'] set by percent in first pass may be larger than sum of column miw
20051 $totalatextlength = 0; // Added - to sum $table['l'][colno] for those columns where width not set
20074 } elseif ($tablewidth < $temppgwidth && !isset($table['w']) && $percentages_set) { // if any widths set as percentages and max width fits < page width
20078 // if table width is set and is > allowed width
20083 // IF the table width is now set - Need to distribute columns widths
20085 // If the table width is already set to the maximum width (e.g. nested table), then use maximum column widths exactly
20093 } elseif (isset($table['w'])) { // elseif the table width is set distribute width using algorithm
20116 // First set any cell widths set as percentages
20174 if (count($notsetlist) && count($notsetlist) < $numcols) { // if some are set only add to remaining - otherwise add to all of them
20201 // If sum of column widths set are too wide for table
20549 // If rowspans overlap so that one or more rows do not have a height set...
20589 // By columns add up col height using ['h'] if set or ['mih'] if not
21284 function setBorder(&$var, $flag, $set = true)
21287 if ($set) {
21288 $set = true;
21291 $var = $set ? ($var | $flag) : ($var & ~$flag);
21443 // Hidden >> Width >> double>solid>dashed>dotted... >> style set on cell>table >> top/left>bottom/right
21511 } elseif ($celladj['border_details']['T']['dom'] > $celladj['border_details']['B']['dom']) { // Style set on cell vs. table
21518 } else { // Style set on cell vs. table - OR - LEFT/TOP (cell) in preference to BOTTOM/RIGHT
21597 } // Style set on cell vs. table
21603 } // Style set on cell vs. table - OR - LEFT/TOP (cell) in preference to BOTTOM/RIGHT
21611 // if right-cell border is not set
23342 // else y is used as set, or =0 i.e. top of page
24371 // Used internally to set column by number: 0 is 1st column
25089 $ax = abs($v['x']) - $this->tbrot_x0; // abs because -ve values are internally set and held for reference if annotMargin set
26035 throw new \Mpdf\MpdfException('Invalid input characters. Did you set $mpdf->in_charset properly?');
26150 // set foreground color
26957 'mPDF will not process HTML with disabled pcre.backtrack_limit to prevent unexpected behaviours, please set a positive backtrack limit.',
27351 if ($this->docTemplateContinue2pages) { // Enable continue when continue2pages is set