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

testing - Detect whether test has failed within fixture -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

android - Create single AAR file from multiple modules using Gradle -