dolibarr 19.0.3
|
Parent class for documents (PDF, ODT, ...) generators. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
get_substitutionarray_user ($user, $outputlangs) | |
Define array with couple substitution key => substitution value. | |
getSubstitutionarrayMember ($member, $outputlangs) | |
Define array with couple substitution key => substitution value. | |
get_substitutionarray_mysoc ($mysoc, $outputlangs) | |
Define array with couple substitution key => substitution value. | |
get_substitutionarray_thirdparty ($object, $outputlangs, $array_key='company') | |
Define array with couple substitution key => substitution value For example {company_name}, {company_name_alias}. | |
get_substitutionarray_contact ($object, $outputlangs, $array_key='object') | |
Define array with couple substitution key => substitution value. | |
get_substitutionarray_other ($outputlangs) | |
Define array with couple substitution key => substitution value. | |
get_substitutionarray_object ($object, $outputlangs, $array_key='object') | |
Define array with couple substitution key => substitution value Note that vars into substitutions array are formatted. | |
get_substitutionarray_lines ($line, $outputlangs, $linenumber=0) | |
Define array with couple substitution key => substitution value Note that vars into substitutions array are formatted. | |
get_substitutionarray_shipment ($object, $outputlangs, $array_key='object') | |
Define array with couple substitution key => substitution value Note that vars into substitutions array are formatted. | |
get_substitutionarray_each_var_object (&$object, $outputlangs, $recursive=1) | |
Define array with couple substitution key => substitution value. | |
fill_substitutionarray_with_extrafields ($object, $array_to_fill, $extrafields, $array_key, $outputlangs) | |
Fill array with couple extrafield key => extrafield value Note that vars into substitutions array are formatted. | |
printRect ($pdf, $x, $y, $l, $h, $hidetop=0, $hidebottom=0) | |
Rect pdf. | |
columnSort ($a, $b) | |
uasort callback function to Sort columns fields | |
prepareArrayColumnField ($object, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0) | |
Prepare Array Column Field. | |
getColumnContentWidth ($colKey) | |
get column content width from column key | |
getColumnContentXStart ($colKey) | |
get column content X (abscissa) left position from column key | |
getColumnRank ($colKey) | |
get column position rank from column key | |
insertNewColumnDef ($newColKey, $defArray, $targetCol='', $insertAfterTarget=false) | |
get column position rank from column key | |
printStdColumnContent ($pdf, &$curY, $colKey, $columnText='') | |
print standard column content | |
printColDescContent ($pdf, &$curY, $colKey, $object, $i, $outputlangs, $hideref=0, $hidedesc=0, $issupplierline=0) | |
print description column content | |
getExtrafieldContent ($object, $extrafieldKey, $outputlangs=null) | |
get extrafield content for pdf writeHtmlCell compatibility usage for PDF line columns and object note block | |
getColumnStatus ($colKey) | |
get column status from column key | |
pdfTabTitles (&$pdf, $tab_top, $tab_height, $outputlangs, $hidetop=0) | |
Print standard column content. | |
defineColumnExtrafield ($object, $outputlangs, $hidedetails=0) | |
Define Array Column Field for extrafields. | |
defineColumnField ($object, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0) | |
Define Array Column Field into $this->cols This method must be implemented by the module that generate the document with its own columns. | |
Parent class for documents (PDF, ODT, ...) generators.
Definition at line 37 of file commondocgenerator.class.php.
CommonDocGenerator::__construct | ( | $db | ) |
Constructor.
Reimplemented in BordereauChequeBlochet, CommonStickerGenerator, doc_generic_asset_odt, doc_generic_bom_odt, doc_generic_contract_odt, doc_generic_invoice_odt, doc_generic_member_odt, doc_generic_mo_odt, doc_generic_myobject_odt, doc_generic_odt, doc_generic_order_odt, doc_generic_product_odt, doc_generic_project_odt, doc_generic_proposal_odt, doc_generic_reception_odt, doc_generic_recruitmentjobposition_odt, doc_generic_shipment_odt, doc_generic_stock_odt, doc_generic_supplier_invoice_odt, doc_generic_supplier_order_odt, doc_generic_supplier_proposal_odt, doc_generic_task_odt, doc_generic_ticket_odt, doc_generic_user_odt, doc_generic_usergroup_odt, ExportCsvIso, ExportCsvUtf8, ExportExcel2007, ExportTsv, html_cerfafr, html_generic, pdf_aurore, pdf_azur, pdf_baleine, pdf_ban, pdf_beluga, pdf_canelle, pdf_cornas, pdf_crabe, pdf_cyan, pdf_eagle, pdf_eagle_proforma, pdf_einstein, pdf_eratosthene, pdf_muscadet, pdf_paiement, pdf_paiement_fourn, pdf_proforma, pdf_sepamandate, pdf_soleil, pdf_sponge, pdf_standard, pdf_standard, pdf_standard, pdf_standard, pdf_standard, pdf_standard, pdf_standard, pdf_standard_asset, pdf_standard_myobject, pdf_standard_recruitmentjobposition, pdf_storm, pdf_strato, pdf_timespent, pdf_typhon, pdf_vinci, and pdf_zenith.
Definition at line 178 of file commondocgenerator.class.php.
CommonDocGenerator::columnSort | ( | $a, | |
$b ) |
uasort callback function to Sort columns fields
array | $a | PDF lines array fields configs |
array | $b | PDF lines array fields configs |
Definition at line 1070 of file commondocgenerator.class.php.
CommonDocGenerator::defineColumnExtrafield | ( | $object, | |
$outputlangs, | |||
$hidedetails = 0 ) |
Define Array Column Field for extrafields.
object | $object | common object det |
Translate | $outputlangs | langs |
int | $hidedetails | Do not show line details |
Definition at line 1685 of file commondocgenerator.class.php.
References insertNewColumnDef().
Referenced by pdf_cornas\defineColumnField(), pdf_cyan\defineColumnField(), pdf_eagle_proforma\defineColumnField(), pdf_eratosthene\defineColumnField(), pdf_espadon\defineColumnField(), pdf_sponge\defineColumnField(), pdf_standard_asset\defineColumnField(), pdf_standard_myobject\defineColumnField(), pdf_storm\defineColumnField(), pdf_vinci\defineColumnField(), and pdf_zenith\defineColumnField().
CommonDocGenerator::defineColumnField | ( | $object, | |
$outputlangs, | |||
$hidedetails = 0, | |||
$hidedesc = 0, | |||
$hideref = 0 ) |
Define Array Column Field into $this->cols This method must be implemented by the module that generate the document with its own columns.
Object | $object | Common object |
Translate | $outputlangs | Langs |
int | $hidedetails | Do not show line details |
int | $hidedesc | Do not show desc |
int | $hideref | Do not show ref |
Reimplemented in pdf_cornas, pdf_cyan, pdf_eagle_proforma, pdf_eratosthene, pdf_espadon, pdf_sponge, pdf_standard_asset, pdf_standard_myobject, pdf_standard_recruitmentjobposition, pdf_storm, pdf_vinci, and pdf_zenith.
Definition at line 1777 of file commondocgenerator.class.php.
Referenced by prepareArrayColumnField().
CommonDocGenerator::fill_substitutionarray_with_extrafields | ( | $object, | |
$array_to_fill, | |||
$extrafields, | |||
$array_key, | |||
$outputlangs ) |
Fill array with couple extrafield key => extrafield value Note that vars into substitutions array are formatted.
Object | $object | Object with extrafields (must have $object->array_options filled) |
array | $array_to_fill | Substitution array |
Extrafields | $extrafields | Extrafields object |
string | $array_key | Prefix for name of the keys into returned array |
Translate | $outputlangs | Lang object to use for output |
Definition at line 956 of file commondocgenerator.class.php.
References dol_include_once(), dol_print_date(), price(), and price2num().
Referenced by get_substitutionarray_contact(), get_substitutionarray_lines(), get_substitutionarray_object(), doc_generic_project_odt\get_substitutionarray_object(), doc_generic_task_odt\get_substitutionarray_object(), get_substitutionarray_shipment(), doc_generic_project_odt\get_substitutionarray_tasks(), doc_generic_task_odt\get_substitutionarray_tasks(), get_substitutionarray_thirdparty(), get_substitutionarray_user(), and getSubstitutionarrayMember().
CommonDocGenerator::get_substitutionarray_contact | ( | $object, | |
$outputlangs, | |||
$array_key = 'object' ) |
Define array with couple substitution key => substitution value.
Contact | $object | contact |
Translate | $outputlangs | object for output |
string | $array_key | Name of the key for return array |
Definition at line 414 of file commondocgenerator.class.php.
References fill_substitutionarray_with_extrafields(), and getState().
Referenced by doc_generic_asset_odt\write_file(), doc_generic_bom_odt\write_file(), doc_generic_contract_odt\write_file(), doc_generic_invoice_odt\write_file(), doc_generic_member_odt\write_file(), doc_generic_mo_odt\write_file(), doc_generic_myobject_odt\write_file(), doc_generic_odt\write_file(), doc_generic_order_odt\write_file(), doc_generic_product_odt\write_file(), doc_generic_project_odt\write_file(), doc_generic_proposal_odt\write_file(), doc_generic_reception_odt\write_file(), doc_generic_recruitmentjobposition_odt\write_file(), doc_generic_shipment_odt\write_file(), doc_generic_stock_odt\write_file(), doc_generic_supplier_invoice_odt\write_file(), doc_generic_supplier_order_odt\write_file(), doc_generic_supplier_proposal_odt\write_file(), doc_generic_ticket_odt\write_file(), doc_generic_user_odt\write_file(), and doc_generic_usergroup_odt\write_file().
CommonDocGenerator::get_substitutionarray_each_var_object | ( | & | $object, |
$outputlangs, | |||
$recursive = 1 ) |
Define array with couple substitution key => substitution value.
Object | $object | Dolibarr Object |
Translate | $outputlangs | Language object for output |
boolean | int | $recursive | Want to fetch child array or child object. |
Definition at line 907 of file commondocgenerator.class.php.
References get_substitutionarray_each_var_object().
Referenced by get_substitutionarray_each_var_object(), doc_generic_asset_odt\write_file(), doc_generic_bom_odt\write_file(), doc_generic_contract_odt\write_file(), doc_generic_invoice_odt\write_file(), doc_generic_mo_odt\write_file(), doc_generic_myobject_odt\write_file(), doc_generic_order_odt\write_file(), doc_generic_product_odt\write_file(), doc_generic_project_odt\write_file(), doc_generic_proposal_odt\write_file(), doc_generic_reception_odt\write_file(), doc_generic_recruitmentjobposition_odt\write_file(), doc_generic_stock_odt\write_file(), doc_generic_supplier_invoice_odt\write_file(), doc_generic_supplier_order_odt\write_file(), doc_generic_task_odt\write_file(), and doc_generic_usergroup_odt\write_file().
CommonDocGenerator::get_substitutionarray_lines | ( | $line, | |
$outputlangs, | |||
$linenumber = 0 ) |
Define array with couple substitution key => substitution value Note that vars into substitutions array are formatted.
Object | $line | Object line |
Translate | $outputlangs | Lang object to use for output |
int | $linenumber | The number of the line for the substitution of "object_line_pos" |
Definition at line 714 of file commondocgenerator.class.php.
References doc_getlinedesc(), dol_print_date(), fill_substitutionarray_with_extrafields(), getDolGlobalInt(), price(), price2num(), and vatrate().
Referenced by doc_generic_asset_odt\write_file(), doc_generic_bom_odt\write_file(), doc_generic_contract_odt\write_file(), doc_generic_invoice_odt\write_file(), doc_generic_mo_odt\write_file(), doc_generic_myobject_odt\write_file(), doc_generic_order_odt\write_file(), doc_generic_proposal_odt\write_file(), doc_generic_reception_odt\write_file(), doc_generic_recruitmentjobposition_odt\write_file(), doc_generic_shipment_odt\write_file(), doc_generic_supplier_invoice_odt\write_file(), doc_generic_supplier_order_odt\write_file(), and doc_generic_supplier_proposal_odt\write_file().
CommonDocGenerator::get_substitutionarray_mysoc | ( | $mysoc, | |
$outputlangs ) |
Define array with couple substitution key => substitution value.
Definition at line 285 of file commondocgenerator.class.php.
References getFormeJuridiqueLabel(), and getState().
Referenced by doc_generic_asset_odt\write_file(), doc_generic_bom_odt\write_file(), doc_generic_contract_odt\write_file(), doc_generic_invoice_odt\write_file(), doc_generic_member_odt\write_file(), doc_generic_mo_odt\write_file(), doc_generic_myobject_odt\write_file(), doc_generic_odt\write_file(), doc_generic_order_odt\write_file(), doc_generic_product_odt\write_file(), doc_generic_project_odt\write_file(), doc_generic_proposal_odt\write_file(), doc_generic_reception_odt\write_file(), doc_generic_recruitmentjobposition_odt\write_file(), doc_generic_shipment_odt\write_file(), doc_generic_stock_odt\write_file(), doc_generic_supplier_invoice_odt\write_file(), doc_generic_supplier_order_odt\write_file(), doc_generic_supplier_proposal_odt\write_file(), doc_generic_task_odt\write_file(), doc_generic_ticket_odt\write_file(), doc_generic_user_odt\write_file(), and doc_generic_usergroup_odt\write_file().
CommonDocGenerator::get_substitutionarray_object | ( | $object, | |
$outputlangs, | |||
$array_key = 'object' ) |
Define array with couple substitution key => substitution value Note that vars into substitutions array are formatted.
Object | $object | Main object to use as data source |
Translate | $outputlangs | Lang object to use for output |
string | $array_key | Name of the key for return array |
Reimplemented in doc_generic_member_odt, doc_generic_project_odt, doc_generic_task_odt, doc_generic_ticket_odt, and doc_generic_user_odt.
Definition at line 515 of file commondocgenerator.class.php.
References dol_print_date(), fill_substitutionarray_with_extrafields(), price(), price2num(), and vatrate().
Referenced by doc_generic_asset_odt\write_file(), doc_generic_bom_odt\write_file(), doc_generic_contract_odt\write_file(), doc_generic_invoice_odt\write_file(), doc_generic_mo_odt\write_file(), doc_generic_myobject_odt\write_file(), doc_generic_order_odt\write_file(), doc_generic_proposal_odt\write_file(), doc_generic_reception_odt\write_file(), doc_generic_recruitmentjobposition_odt\write_file(), doc_generic_supplier_invoice_odt\write_file(), doc_generic_supplier_order_odt\write_file(), and doc_generic_supplier_proposal_odt\write_file().
CommonDocGenerator::get_substitutionarray_other | ( | $outputlangs | ) |
Define array with couple substitution key => substitution value.
Translate | $outputlangs | Language object for output |
Definition at line 472 of file commondocgenerator.class.php.
References dol_now(), dol_print_date(), and isASecretKey().
Referenced by doc_generic_asset_odt\write_file(), doc_generic_bom_odt\write_file(), doc_generic_contract_odt\write_file(), doc_generic_invoice_odt\write_file(), doc_generic_member_odt\write_file(), doc_generic_mo_odt\write_file(), doc_generic_myobject_odt\write_file(), doc_generic_odt\write_file(), doc_generic_order_odt\write_file(), doc_generic_product_odt\write_file(), doc_generic_project_odt\write_file(), doc_generic_proposal_odt\write_file(), doc_generic_reception_odt\write_file(), doc_generic_recruitmentjobposition_odt\write_file(), doc_generic_shipment_odt\write_file(), doc_generic_stock_odt\write_file(), doc_generic_supplier_invoice_odt\write_file(), doc_generic_supplier_order_odt\write_file(), doc_generic_supplier_proposal_odt\write_file(), doc_generic_task_odt\write_file(), doc_generic_ticket_odt\write_file(), doc_generic_user_odt\write_file(), and doc_generic_usergroup_odt\write_file().
CommonDocGenerator::get_substitutionarray_shipment | ( | $object, | |
$outputlangs, | |||
$array_key = 'object' ) |
Define array with couple substitution key => substitution value Note that vars into substitutions array are formatted.
Expedition | $object | Main object to use as data source |
Translate | $outputlangs | Lang object to use for output |
string | $array_key | Name of the key for return array |
Definition at line 841 of file commondocgenerator.class.php.
References dol_include_once(), dol_print_date(), fill_substitutionarray_with_extrafields(), measuringUnitString(), and price().
Referenced by doc_generic_shipment_odt\write_file().
CommonDocGenerator::get_substitutionarray_thirdparty | ( | $object, | |
$outputlangs, | |||
$array_key = 'company' ) |
Define array with couple substitution key => substitution value For example {company_name}, {company_name_alias}.
Societe | $object | Object |
Translate | $outputlangs | Language object for output |
string | $array_key | Name of the key for return array |
Definition at line 344 of file commondocgenerator.class.php.
References fill_substitutionarray_with_extrafields(), getState(), and price().
Referenced by doc_generic_asset_odt\write_file(), doc_generic_bom_odt\write_file(), doc_generic_contract_odt\write_file(), doc_generic_invoice_odt\write_file(), doc_generic_member_odt\write_file(), doc_generic_mo_odt\write_file(), doc_generic_myobject_odt\write_file(), doc_generic_odt\write_file(), doc_generic_order_odt\write_file(), doc_generic_product_odt\write_file(), doc_generic_project_odt\write_file(), doc_generic_proposal_odt\write_file(), doc_generic_reception_odt\write_file(), doc_generic_recruitmentjobposition_odt\write_file(), doc_generic_shipment_odt\write_file(), doc_generic_stock_odt\write_file(), doc_generic_supplier_invoice_odt\write_file(), doc_generic_supplier_order_odt\write_file(), doc_generic_supplier_proposal_odt\write_file(), doc_generic_task_odt\write_file(), doc_generic_ticket_odt\write_file(), doc_generic_user_odt\write_file(), and doc_generic_usergroup_odt\write_file().
CommonDocGenerator::get_substitutionarray_user | ( | $user, | |
$outputlangs ) |
Define array with couple substitution key => substitution value.
Definition at line 192 of file commondocgenerator.class.php.
References dol_print_date(), fill_substitutionarray_with_extrafields(), and get_exdir().
Referenced by doc_generic_asset_odt\write_file(), doc_generic_bom_odt\write_file(), doc_generic_contract_odt\write_file(), doc_generic_invoice_odt\write_file(), doc_generic_mo_odt\write_file(), doc_generic_myobject_odt\write_file(), doc_generic_odt\write_file(), doc_generic_order_odt\write_file(), doc_generic_product_odt\write_file(), doc_generic_project_odt\write_file(), doc_generic_proposal_odt\write_file(), doc_generic_reception_odt\write_file(), doc_generic_recruitmentjobposition_odt\write_file(), doc_generic_shipment_odt\write_file(), doc_generic_stock_odt\write_file(), doc_generic_supplier_invoice_odt\write_file(), doc_generic_supplier_order_odt\write_file(), doc_generic_supplier_proposal_odt\write_file(), doc_generic_task_odt\write_file(), doc_generic_ticket_odt\write_file(), doc_generic_user_odt\write_file(), and doc_generic_usergroup_odt\write_file().
CommonDocGenerator::getColumnContentWidth | ( | $colKey | ) |
get column content width from column key
string | $colKey | the column key |
Definition at line 1164 of file commondocgenerator.class.php.
Referenced by pdf_storm\write_file().
CommonDocGenerator::getColumnContentXStart | ( | $colKey | ) |
get column content X (abscissa) left position from column key
string | $colKey | the column key |
Definition at line 1177 of file commondocgenerator.class.php.
Referenced by printStdColumnContent(), pdf_cornas\write_file(), pdf_cyan\write_file(), pdf_eagle_proforma\write_file(), pdf_eratosthene\write_file(), pdf_espadon\write_file(), pdf_sponge\write_file(), pdf_standard_asset\write_file(), pdf_standard_myobject\write_file(), pdf_standard_recruitmentjobposition\write_file(), pdf_storm\write_file(), and pdf_zenith\write_file().
CommonDocGenerator::getColumnRank | ( | $colKey | ) |
get column position rank from column key
string | $colKey | the column key |
Definition at line 1189 of file commondocgenerator.class.php.
Referenced by insertNewColumnDef().
CommonDocGenerator::getColumnStatus | ( | $colKey | ) |
get column status from column key
string | $colKey | the column key |
Definition at line 1585 of file commondocgenerator.class.php.
Referenced by pdf_vinci\_tableau(), pdf_espadon\_tableau_tot(), pdfTabTitles(), prepareArrayColumnField(), pdf_cornas\write_file(), pdf_cyan\write_file(), pdf_eagle_proforma\write_file(), pdf_eratosthene\write_file(), pdf_espadon\write_file(), pdf_sponge\write_file(), pdf_standard_asset\write_file(), pdf_standard_myobject\write_file(), pdf_standard_recruitmentjobposition\write_file(), pdf_storm\write_file(), pdf_vinci\write_file(), and pdf_zenith\write_file().
CommonDocGenerator::getExtrafieldContent | ( | $object, | |
$extrafieldKey, | |||
$outputlangs = null ) |
get extrafield content for pdf writeHtmlCell compatibility usage for PDF line columns and object note block
object | $object | Common object |
string | $extrafieldKey | The extrafield key |
Translate | $outputlangs | The output langs (if value is __(XXX)__ we use it to translate it). |
Definition at line 1336 of file commondocgenerator.class.php.
References dol_string_nohtmltag(), and setEventMessages().
Referenced by pdf_cornas\write_file(), pdf_cyan\write_file(), pdf_eagle_proforma\write_file(), pdf_eratosthene\write_file(), pdf_espadon\write_file(), pdf_sponge\write_file(), pdf_standard_asset\write_file(), pdf_standard_myobject\write_file(), pdf_storm\write_file(), and pdf_zenith\write_file().
CommonDocGenerator::getSubstitutionarrayMember | ( | $member, | |
$outputlangs ) |
Define array with couple substitution key => substitution value.
Definition at line 238 of file commondocgenerator.class.php.
References dol_print_date(), fill_substitutionarray_with_extrafields(), and get_exdir().
Referenced by doc_generic_member_odt\write_file().
CommonDocGenerator::insertNewColumnDef | ( | $newColKey, | |
$defArray, | |||
$targetCol = '', | |||
$insertAfterTarget = false ) |
get column position rank from column key
string | $newColKey | the new column key |
array | $defArray | a single column definition array |
string | $targetCol | target column used to place the new column beside |
bool | $insertAfterTarget | insert before or after target column ? |
Definition at line 1206 of file commondocgenerator.class.php.
References getColumnRank().
Referenced by defineColumnExtrafield().
CommonDocGenerator::pdfTabTitles | ( | & | $pdf, |
$tab_top, | |||
$tab_height, | |||
$outputlangs, | |||
$hidetop = 0 ) |
Print standard column content.
TCPDI | Pdf object | |
float | $tab_top | Tab top position |
float | $tab_height | Default tab height |
Translate | $outputlangs | Output language |
int | $hidetop | Hide top |
Definition at line 1604 of file commondocgenerator.class.php.
References getColumnStatus(), and setEventMessages().
Referenced by pdf_cornas\_tableau(), pdf_cyan\_tableau(), pdf_eagle_proforma\_tableau(), pdf_eratosthene\_tableau(), pdf_espadon\_tableau(), pdf_sponge\_tableau(), pdf_standard_asset\_tableau(), pdf_standard_myobject\_tableau(), pdf_standard_recruitmentjobposition\_tableau(), pdf_storm\_tableau(), pdf_zenith\_tableau(), pdf_cyan\write_file(), pdf_eagle_proforma\write_file(), pdf_eratosthene\write_file(), pdf_espadon\write_file(), pdf_sponge\write_file(), pdf_standard_asset\write_file(), pdf_standard_myobject\write_file(), pdf_standard_recruitmentjobposition\write_file(), and pdf_storm\write_file().
CommonDocGenerator::prepareArrayColumnField | ( | $object, | |
$outputlangs, | |||
$hidedetails = 0, | |||
$hidedesc = 0, | |||
$hideref = 0 ) |
Prepare Array Column Field.
object | $object | common object |
Translate | $outputlangs | langs |
int | $hidedetails | Do not show line details |
int | $hidedesc | Do not show desc |
int | $hideref | Do not show ref |
Definition at line 1094 of file commondocgenerator.class.php.
References defineColumnField(), and getColumnStatus().
Referenced by pdf_cornas\write_file(), pdf_cyan\write_file(), pdf_eagle_proforma\write_file(), pdf_eratosthene\write_file(), pdf_espadon\write_file(), pdf_sponge\write_file(), pdf_standard_asset\write_file(), pdf_standard_myobject\write_file(), pdf_standard_recruitmentjobposition\write_file(), pdf_storm\write_file(), pdf_vinci\write_file(), and pdf_zenith\write_file().
CommonDocGenerator::printColDescContent | ( | $pdf, | |
& | $curY, | ||
$colKey, | |||
$object, | |||
$i, | |||
$outputlangs, | |||
$hideref = 0, | |||
$hidedesc = 0, | |||
$issupplierline = 0 ) |
print description column content
TCPDF | pdf object | |
float | $curY | curent Y position |
string | $colKey | the column key |
object | $object | CommonObject |
int | $i | the $object->lines array key |
Translate | $outputlangs | Output language |
int | $hideref | hide ref |
int | $hidedesc | hide desc |
int | $issupplierline | if object need supplier product |
Definition at line 1299 of file commondocgenerator.class.php.
References pdf_writelinedesc(), and printStdColumnContent().
Referenced by pdf_cornas\write_file(), pdf_cyan\write_file(), pdf_eagle_proforma\write_file(), pdf_eratosthene\write_file(), pdf_espadon\write_file(), pdf_sponge\write_file(), pdf_standard_asset\write_file(), pdf_standard_myobject\write_file(), pdf_standard_recruitmentjobposition\write_file(), and pdf_zenith\write_file().
CommonDocGenerator::printRect | ( | $pdf, | |
$x, | |||
$y, | |||
$l, | |||
$h, | |||
$hidetop = 0, | |||
$hidebottom = 0 ) |
Rect pdf.
TCPDF | Object PDF | |
float | $x | Abscissa of first point |
float | $y | Ordinate of first point |
float | $l | ?? |
float | $h | ?? |
int | $hidetop | 1=Hide top bar of array and title, 0=Hide nothing, -1=Hide only title |
int | $hidebottom | Hide bottom |
Definition at line 1050 of file commondocgenerator.class.php.
Referenced by pdf_aurore\_tableau(), pdf_azur\_tableau(), pdf_canelle\_tableau(), pdf_cornas\_tableau(), pdf_crabe\_tableau(), pdf_cyan\_tableau(), pdf_eagle\_tableau(), pdf_eagle_proforma\_tableau(), pdf_einstein\_tableau(), pdf_eratosthene\_tableau(), pdf_espadon\_tableau(), pdf_muscadet\_tableau(), pdf_rouget\_tableau(), pdf_soleil\_tableau(), pdf_sponge\_tableau(), pdf_squille\_tableau(), pdf_standard\_tableau(), pdf_standard_asset\_tableau(), pdf_standard_myobject\_tableau(), pdf_standard_recruitmentjobposition\_tableau(), pdf_storm\_tableau(), pdf_strato\_tableau(), pdf_typhon\_tableau(), pdf_vinci\_tableau(), and pdf_zenith\_tableau().
CommonDocGenerator::printStdColumnContent | ( | $pdf, | |
& | $curY, | ||
$colKey, | |||
$columnText = '' ) |
print standard column content
TCPDF | pdf object | |
float | $curY | curent Y position |
string | $colKey | the column key |
string | $columnText | column text |
Definition at line 1251 of file commondocgenerator.class.php.
References getColumnContentXStart(), and setEventMessages().
Referenced by pdf_espadon\_tableau_tot(), printColDescContent(), pdf_cornas\write_file(), pdf_cyan\write_file(), pdf_eagle_proforma\write_file(), pdf_eratosthene\write_file(), pdf_espadon\write_file(), pdf_sponge\write_file(), pdf_standard_asset\write_file(), pdf_standard_myobject\write_file(), pdf_storm\write_file(), pdf_vinci\write_file(), and pdf_zenith\write_file().