Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

last column ln is wrong #2

Open
mtorniai opened this issue Apr 27, 2020 · 0 comments
Open

last column ln is wrong #2

mtorniai opened this issue Apr 27, 2020 · 0 comments

Comments

@mtorniai
Copy link

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant