Menu

#1136 Can't add a 90° counter-clockwise rotated cell in the bottom of a page (with AutoPageBreak enabled)

v1.0_(example)
open
nobody
None
1
2017-10-04
2017-10-04
No

When (trying to) add a 90° counter-clockwise rotated cell (Cell or Multicell), with the top-left corner as rotation center, at the bottom of a page #1 (with AutoPageBreak enabled), TCPDF incorrectly display the cell (without rotation) in the next page (let's call it page #2), but do the rotate on the footer of page#2 (which was not desired).

It seems like the checkPageBreak method ignore the 90° counter-clockwise transformation (which makes the cell to be in an upper position than it was before rotation) and incorrectly add a new page.

Moreover, the footer shouldn't be impacted by a rotation done in the body of the PDF content.

Trying to do a workaround by disabling AutoPageBreak before StartTransform() and re-enable it after StopTransform() did not work.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB