ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
example_018.php File Reference

Go to the source code of this file.

Namespaces

 com\tecnick\tcpdf
 Configuration file for TCPDF.
 

Variables

 $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false)
 
 $lg = Array()
 
 $lg ['a_meta_charset'] = 'UTF-8'
 
 $lg ['a_meta_dir'] = 'rtl'
 
 $lg ['a_meta_language'] = 'fa'
 
 $lg ['w_page'] = 'page'
 
 $htmlpersian = '<span color="#660000">Persian example:</span><br />سلام بالاخره مشکل PDF فارسی به طور کامل حل شد. اینم یک نمونش.<br />مشکل حرف \"ژ\" در بعضی کلمات مانند کلمه ویژه نیز بر طرف شد.<br />نگارش حروف لام و الف پشت سر هم نیز تصحیح شد.<br />با تشکر از "Asuni Nicola" و محمد علی گل کار برای پشتیبانی زبان فارسی.'
 
 $htmlpersiantranslation = '<span color="#0000ff">Hi, At last Problem of Persian PDF Solved completely. This is a example for it.<br />Problem of "jeh" letter in some word like "ویژه" (=special) fix too.<br />The joining of laa and alf letter fix now.<br />Special thanks to "Nicola Asuni" and "Mohamad Ali Golkar" for Persian support.</span>'
 
 $htmlcontent = 'تمَّ بِحمد الله حلّ مشكلة الكتابة باللغة العربية في ملفات الـ<span color="#FF0000">PDF</span> مع دعم الكتابة <span color="#0000FF">من اليمين إلى اليسار</span> و<span color="#009900">الحركَات</span> .<br />تم الحل بواسطة <span color="#993399">صالح المطرفي و Asuni Nicola</span> . '
 
 $htmlcontent2 = '<span color="#0000ff">This is Arabic "العربية" Example With TCPDF.</span>'
 

Variable Documentation

◆ $htmlcontent

$htmlcontent = 'تمَّ بِحمد الله حلّ مشكلة الكتابة باللغة العربية في ملفات الـ<span color="#FF0000">PDF</span> مع دعم الكتابة <span color="#0000FF">من اليمين إلى اليسار</span> و<span color="#009900">الحركَات</span> .<br />تم الحل بواسطة <span color="#993399">صالح المطرفي و Asuni Nicola</span> . '

Definition at line 106 of file example_018.php.

◆ $htmlcontent2

$htmlcontent2 = '<span color="#0000ff">This is Arabic "العربية" Example With TCPDF.</span>'

Definition at line 118 of file example_018.php.

◆ $htmlpersian

$htmlpersian = '<span color="#660000">Persian example:</span><br />سلام بالاخره مشکل PDF فارسی به طور کامل حل شد. اینم یک نمونش.<br />مشکل حرف \"ژ\" در بعضی کلمات مانند کلمه ویژه نیز بر طرف شد.<br />نگارش حروف لام و الف پشت سر هم نیز تصحیح شد.<br />با تشکر از "Asuni Nicola" و محمد علی گل کار برای پشتیبانی زبان فارسی.'

Definition at line 80 of file example_018.php.

◆ $htmlpersiantranslation

$htmlpersiantranslation = '<span color="#0000ff">Hi, At last Problem of Persian PDF Solved completely. This is a example for it.<br />Problem of "jeh" letter in some word like "ویژه" (=special) fix too.<br />The joining of laa and alf letter fix now.<br />Special thanks to "Nicola Asuni" and "Mohamad Ali Golkar" for Persian support.</span>'

Definition at line 92 of file example_018.php.

◆ $lg [1/5]

◆ $lg [2/5]

$lg[ 'a_meta_charset'] = 'UTF-8'

Definition at line 63 of file example_018.php.

◆ $lg [3/5]

$lg[ 'a_meta_dir'] = 'rtl'

Definition at line 64 of file example_018.php.

◆ $lg [4/5]

$lg[ 'a_meta_language'] = 'fa'

Definition at line 65 of file example_018.php.

◆ $lg [5/5]

$lg[ 'w_page'] = 'page'

Definition at line 66 of file example_018.php.

◆ $pdf

$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false)

Definition at line 31 of file example_018.php.