Lines Matching defs:text

296 	// mPDF 5.7.3  inline text-decoration parameters
800 var $TextColor; // commands for text color
801 var $ColorFlag; // indicates whether fill and text colors are different
1170 // Baseline for text
1173 // mPDF 5.7.3 inline text-decoration parameters
1174 // Sets default change in baseline for <sup> text as factor of preceeding fontsize
1178 // Sets default change in baseline for <sub> text as factor of preceeding fontsize
1180 // Sets default height for <strike> text as factor of fontsize
1182 // Sets default height for overline text as factor of fontsize
1854 * 'mime' => 'text/xml',
3458 // Set color for text
4363 } // stroke (outline) = same colour as text(fill)
4396 // Just output text
4401 // Just output text
4485 // Output a string using Text() but does encoding and text reversing of RTL
4526 // Output a cell using Cell() but does encoding and text reversing of RTL
4860 $baseline_shift = $this->textparam['text-baseline'];
4862 $baseline_shift = $this->textparam['text-baseline'];
5159 } // stroke (outline) = same colour as text(fill)
5181 // Just output text; charspacing and wordspacing already set by charspacing (Tc) and ws (Tw)
5186 // Just output text
5199 // Output text word by word with an adjustment to the intercharacter spacing for SPACEs to form word spacing
5236 // mPDF 5.7.3 inline text-decoration parameters
5243 // mPDF 5.7.3 inline text-decoration parameters
5278 // mPDF 5.7.3 inline text-decoration parameters
5285 // mPDF 5.7.3 inline text-decoration parameters
5326 // mPDF 5.7.3 inline text-decoration parameters
5329 // mPDF 5.7.3 inline text-decoration parameters
5335 // mPDF 5.7.3 inline text-decoration parameters
5493 // Kashida is set as an absolute length value, but to adjust text needs to be converted to
5890 // Output text with automatic or explicit line breaks
6549 // While we're at it, check if contains cursive text
7161 if (isset($objattr['text'])) {
7162 $texto = $objattr['text'];
7521 if (isset($objattr['top-text'])) {
7522 $this->directWrite->CircularText($objattr['INNER-X'] + $objattr['INNER-WIDTH'] / 2, $objattr['INNER-Y'] + $objattr['INNER-HEIGHT'] / 2, $objattr['r'] / $k, $objattr['top-text'], 'top', $objattr['fontfamily'], $objattr['fontsize'] / $k, $objattr['fontstyle'], $objattr['space-width'], $objattr['char-width'], (isset($objattr['divider']) ? $objattr['divider'] : ''));
7524 if (isset($objattr['bottom-text'])) {
7525 $this->directWrite->CircularText($objattr['INNER-X'] + $objattr['INNER-WIDTH'] / 2, $objattr['INNER-Y'] + $objattr['INNER-HEIGHT'] / 2, $objattr['r'] / $k, $objattr['bottom-text'], 'bottom', $objattr['fontfamily'], $objattr['fontsize'] / $k, $objattr['fontstyle'], $objattr['space-width'], $objattr['char-width'], (isset($objattr['divider']) ? $objattr['divider'] : ''));
9050 // Avoid writing text on top of the image. // THIS WAS OUTSIDE THE if ($paint) bit!!!!!!!!!!!!!!!!
9871 function Annotation($text, $x = 0, $y = 0, $icon = 'Note', $author = '', $subject = '', $opacity = 0, $colarray = false, $popup = '', $file = '')
9898 $this->PDFAXwarnings[] = "Annotation markers cannot be semi-transparent in PDFA1-b or PDFX/1-a, so they may make underlying text unreadable. (Annotation markers moved to right margin)";
9912 $an = ['txt' => $text, 'x' => $x, 'y' => $y, 'opt' => ['Icon' => $icon, 'T' => $author, 'Subj' => $subject, 'C' => $colarray, 'CA' => $opacity, 'popup' => $popup, 'file' => $file]];
10535 $maxlen = (min($this->w, $this->h) ); // sets max length of text as 7/8 width/height of page
10609 function CircularText($x, $y, $r, $text, $align = 'top', $fontfamily = '', $fontsize = 0, $fontstyle = '', $kerning = 120, $fontwidth = 100, $divider = '')
10615 $this->directWrite->CircularText($x, $y, $r, $text, $align, $fontfamily, $fontsize, $fontstyle, $kerning, $fontwidth, $divider);
10667 function Shaded_box($text, $font = '', $fontstyle = 'B', $szfont = '', $width = '70%', $style = 'DF', $radius = 2.5, $fill = '#FFFFFF', $color = '#000000', $pad = 2)
10673 $this->directWrite->Shaded_box($text, $font, $fontstyle, $szfont, $width, $style, $radius, $fill, $color, $pad);
11161 // Get text-middle for aligning images/objects
11232 if (isset($font[$k]['textparam']['text-baseline']) && $font[$k]['textparam']['text-baseline'] != 0) {
11233 $ypos[$k]['baseline-shift'] = $font[$k]['textparam']['text-baseline'];
12543 if ($this->directionality == 'rtl') { // table columns get reversed so need different text-alignment
12559 $html .= '<td width="' . $lw . '%" style="padding: ' . $vpadding . '; text-align: ' . $talignL . '; ';
12583 $html .= '<td width="' . $cw . '%" style="padding: ' . $vpadding . '; text-align: center; ';
12607 $html .= '<td width="' . $rw . '%" style="padding: ' . $vpadding . '; text-align: ' . $talignR . '; ';
12750 $oddhtml .= '<td width="' . $lw . '%" style="padding: 0 0 ' . $this->header_line_spacing . 'em 0; text-align: left; ">' . $hdet[0] . '</td>';
12751 $oddhtml .= '<td width="' . $cw . '%" style="padding: 0 0 ' . $this->header_line_spacing . 'em 0; text-align: center; ">' . $hdet[1] . '</td>';
12752 $oddhtml .= '<td width="' . $rw . '%" style="padding: 0 0 ' . $this->header_line_spacing . 'em 0; text-align: right; ">' . $hdet[2] . '</td>';
12776 $evenhtml .= '<td width="' . $rw . '%" style="padding: 0 0 ' . $this->header_line_spacing . 'em 0; text-align: left; ">' . $hdet[2] . '</td>';
12777 $evenhtml .= '<td width="' . $cw . '%" style="padding: 0 0 ' . $this->header_line_spacing . 'em 0; text-align: center; ">' . $hdet[1] . '</td>';
12778 $evenhtml .= '<td width="' . $lw . '%" style="padding: 0 0 ' . $this->header_line_spacing . 'em 0; text-align: right; ">' . $hdet[0] . '</td>';
12804 $oddhtml .= 'text-align: right; ">' . $Harray . '</div>';
12826 $evenhtml .= 'text-align: left; ">' . $Harray . '</div>';
12893 $oddhtml .= '<td width="33%" style="padding: ' . $this->footer_line_spacing . 'em 0 0 0; text-align: left; ">' . $hdet[0] . '</td>';
12894 $oddhtml .= '<td width="33%" style="padding: ' . $this->footer_line_spacing . 'em 0 0 0; text-align: center; ">' . $hdet[1] . '</td>';
12895 $oddhtml .= '<td width="33%" style="padding: ' . $this->footer_line_spacing . 'em 0 0 0; text-align: right; ">' . $hdet[2] . '</td>';
12921 $evenhtml .= '<td width="33%" style="padding: ' . $this->footer_line_spacing . 'em 0 0 0; text-align: left; ">' . $hdet[2] . '</td>';
12922 $evenhtml .= '<td width="33%" style="padding: ' . $this->footer_line_spacing . 'em 0 0 0; text-align: center; ">' . $hdet[1] . '</td>';
12923 $evenhtml .= '<td width="33%" style="padding: ' . $this->footer_line_spacing . 'em 0 0 0; text-align: right; ">' . $hdet[0] . '</td>';
12949 $oddhtml .= 'text-align: right; ">' . $Farray . '</div>';
12972 $evenhtml .= 'text-align: left; ">' . $Farray . '</div>';
13125 $this->watermark($this->watermarkText, $this->watermarkAngle, 120, $this->watermarkTextAlpha); // Watermark text
13303 // Output any text left in buffer
13315 // Output any text left in buffer
13532 $objattr['text'] = $e;
13833 // Output any text left in buffer
13960 // font*[family/size/style/weight]/line-height/text*[align/decoration/transform/indent]/color are transferred to $inner
14009 $css .= 'text-align: ' . strtolower($p['TEXT-ALIGN']) . '; ';
14012 $css .= 'text-transform: ' . strtolower($p['TEXT-TRANSFORM']) . '; ';
14015 $css .= 'text-indent: ' . strtolower($p['TEXT-INDENT']) . '; ';
14018 $css .= 'text-decoration: ' . strtolower($p['TEXT-DECORATION']) . '; ';
14036 $css .= 'text-shadow: ' . strtolower($p['TEXT-SHADOW']) . '; ';
15480 $objattr['text'] = '';
15520 $objattr['text'] = $list_item_marker;
15559 $objattr['text'] = $m;
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
15969 throw new \Mpdf\MpdfException("You cannot use core fonts in a document which contains RTL text.");
15973 // Process bidirectional text ready for bidi-re-ordering (which is done after line-breaks are established in WriteFlowingBlock etc.)
16032 if (empty($vetor[0]) && !($vetor[0] === '0') && empty($vetor[7])) { // Ignore empty text and not carrying an internal link
16079 // mPDF 5.7.3 inline text-decoration parameters
16081 if (isset($this->textparam['text-baseline'])) {
16082 $this->textparam['text-baseline'] /= $this->shrin_k;
16106 if (empty($vetor[0])) { // Ignore empty text
16346 // Final check distance between floats is not now too narrow to fit text
16382 // Final check distance between floats is not now too narrow to fit text
16419 else { // THE text
16817 // Set the distance from the border line to the text ? make configurable variable
18124 // mPDF 5.7.3 inline text-decoration parameters
18515 // mPDF 5.7.3 inline text-decoration parameters
18516 if (isset($this->textparam['text-baseline'])) {
18517 $this->textparam['text-baseline'] += ($this->baselineSup) * $preceeding_fontsize;
18519 $this->textparam['text-baseline'] = ($this->baselineSup) * $preceeding_fontsize;
18525 // mPDF 5.7.3 inline text-decoration parameters
18526 if (isset($this->textparam['text-baseline'])) {
18527 $this->textparam['text-baseline'] += ($this->baselineSub) * $preceeding_fontsize;
18529 $this->textparam['text-baseline'] = ($this->baselineSub) * $preceeding_fontsize;
18535 // mPDF 5.7.3 inline text-decoration parameters
18536 if (isset($this->textparam['text-baseline'])) {
18537 unset($this->textparam['text-baseline']);
18540 // mPDF 5.7.3 inline text-decoration parameters
18552 if (isset($this->textparam['text-baseline'])) {
18553 $this->textparam['text-baseline'] += $sz;
18555 $this->textparam['text-baseline'] = $sz;
18900 // mPDF 5.7.3 inline text-decoration parameters
18901 // Needs to be set at the end - after vertical-align = super/sub, so that textparam['text-baseline'] is set
18906 // mPDF 5.7.3 inline text-decoration parameters
18907 if (isset($this->textparam['text-baseline'])) {
18908 $this->textparam['s-decoration']['baseline'] = $this->textparam['text-baseline'];
18918 // mPDF 5.7.3 inline text-decoration parameters
18919 if (isset($this->textparam['text-baseline'])) {
18920 $this->textparam['u-decoration']['baseline'] = $this->textparam['text-baseline'];
18930 // mPDF 5.7.3 inline text-decoration parameters
18931 if (isset($this->textparam['text-baseline'])) {
18932 $this->textparam['o-decoration']['baseline'] = $this->textparam['text-baseline'];
18944 // mPDF 5.7.3 inline text-decoration parameters
18958 if (isset($this->textparam['text-baseline'])) {
18959 $this->textparam['bord-decoration']['baseline'] = $this->textparam['text-baseline'];
18967 if (isset($this->textparam['text-baseline'])) {
18968 $this->textparam['bg-decoration']['baseline'] = $this->textparam['text-baseline'];
19548 // = total length of text approx (using $c['s']) in that column - used to approximately distribute col widths in _tableWidth
20112 // Allocate spare (more than col's minimum width) across the cols according to their approx total text length
25361 function AutosizeText($text, $w, $font, $style, $szfont = 72)
25364 $text = ' ' . $text . ' ';
25368 $text = $this->purify_utf8_text($text);
25370 $text = $this->all_entities_to_utf8($text);
25373 $text = mb_convert_encoding($text, $this->mb_enc, 'UTF-8');
25377 if (preg_match("/([" . $this->pregRTLchars . "])/u", $text)) {
25396 $text = $this->otl->applyOTL($text, $this->CurrentFont['useOTL']);
25403 $this->magic_reverse_dir($text, $this->directionality, $OTLdata);
25411 $sz = $this->GetStringWidth($text, true, $OTLdata, $textvar);
25421 $this->Cell($w, 0, $text, 0, 0, "C", 0, '', 0, 0, 0, 'M', 0, false, $OTLdata, $textvar);
25441 // check if string contains RTL text
26234 // print text