1
edit
m (Reverted edits by Ikenofopake (talk) to last revision by Eldy) |
|||
| Line 37: | Line 37: | ||
== Frame of scripts == | == Frame of scripts == | ||
{{ToTranslate}} | {{ToTranslate}} | ||
During the development of version 2.2, the scripts used for generating PDF documents had the following methods (taking as example the model "crabe") inside the class with the model's name: | |||
* pdf_crabe() - '' | * pdf_crabe() - ''Creator of the object pdf'' | ||
* write_pdf_file() - '' | * write_pdf_file() - ''General method for generating the file. This method calls all the following ones after initializing some variables'' | ||
* _pagehead() - '' | * _pagehead() - ''Method for drawing the heading of the document, including in general the logo, the title of the document (and the date) as well as the frames of the issuer and the addressee of the document'' | ||
* _tableau() - '' | * _tableau() - ''Method for drawing the details table (products, services,...)'' | ||
* _tableau_info() - '' | * _tableau_info() - ''Method for drawing the table containing information list present in the bill'' | ||
* _tableau_tot() - '' | * _tableau_tot() - ''Method for drawing table of Totals'' | ||
* _tableau_versement() - '' | * _tableau_versement() - ''Method for drawing table of payment rules'' | ||
* _pagefoot() - '' | * _pagefoot() - ''Method for drawing bottom of the page'' | ||
== Examples of customization == | == Examples of customization == | ||
edit