GithubHelp home page GithubHelp logo

voilab / tctable Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 6.0 93 KB

Create quickly and efficiently TCPDF tables with advanced page break options and memory optimization

License: MIT License

PHP 100.00%
php table tcpdf

tctable's People

Contributors

tafel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tctable's Issues

Make addRow public

Hi,

thanks for your TCPDF extension.

I think it would be good the make the method "addRow" public to be able to use it with the events. You would not need to write additional rows manually. What do you think about this?

Kind regards
Mark

last column ln is wrong

I had a problem with next line starting from the x-pos of where previous ended. I looked into the code and changed this to make it work:

//$this->columnDefinition[key($this->columnDefinition)]['ln'] = true;
        $this->columnDefinition[key($this->columnDefinition)]['ln'] = 1; // fix: documentation says this should be number

TCPDC doc for MultiCell says ln accepts a number 0, 1 or 2, not boolean.

@param $ln (int) Indicates where the current position should go after the call. Possible values are:<ul><li>0: to the right</li><li>1: to the beginning of the next line [DEFAULT]</li><li>2: below</li></ul>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.