php - Add line numbers to TCPDF -


is possible set linenumbers document using tcpdf?. in case i'm using multicell() method , want set linenumbering. possible?

i found answer myself. extended tcpdf , copied writer() method. added $nl in each cell() call.

$this->cell($w, $h, $nl.' '.$tmpstr, 0, $ln, $align, $fill, $link, $stretch); 

best regards


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -