TCPDF_ENGINE
class TCPDF_ENGINE extends Tcpdf (View source)
Properties
| Closure(): string|null | $pagecontexthook | Facade callback returning the raw PDF operators for the ambient text state to prepend to every new page content stream. |
Methods
No description
Start counting the cell bounding boxes added by the engine.
Stop counting and return the number of cell bounding boxes added since the window was opened, and their largest bottom edge ordinate (-INF when none was added).
Adds the cell box to the tally of every open window.
Anchor the page regions (columns) at the content top margin.
Details
void
setPageContext(int $pid = -1)
No description
int
openCellBBoxWindow()
Start counting the cell bounding boxes added by the engine.
array
closeCellBBoxWindow(int $window)
Stop counting and return the number of cell bounding boxes added since the window was opened, and their largest bottom edge ordinate (-INF when none was added).
protected void
pushCellBBox(array $box)
Adds the cell box to the tally of every open window.
protected void
anchorPageRegionsToContentTop(int $pid)
Anchor the page regions (columns) at the content top margin.
Pages opened by the engine's internal flows clone the previous page data, including regions that may start mid-page (legacy columns set on the page where they were defined): on every following page the columns restart at the top margin (legacy selectColumn() behavior). The region list of an existing page has no mutator, so the adjusted data is written directly into the page store.