|
MIOLO26
|
Membros protegidos | |
| _page_break_allowed (Frame $frame) | |
Atributos Protegidos | |
| $_bottom_page_margin | |
| $_page_full | |
| $_in_table | |
| $_renderer | |
Atributos Protegidos herdados de Frame_Decorator | |
| $_root | |
| $_frame | |
| $_positioner | |
| $_reflower | |
| $_dompdf | |
Atributos Protegidos herdados de Frame | |
| $_node | |
| $_id | |
| $_style | |
| $_original_style | |
| $_parent | |
| $_first_child | |
| $_last_child | |
| $_prev_sibling | |
| $_next_sibling | |
| $_containing_block | |
| $_position | |
| $_decorator | |
|
protected |
Determine if a page break is allowed before $frame
| Frame | $frame | the frame to check |
http://www.w3.org/TR/CSS21/page.html#allowed-page-breaks /* In the normal flow, page breaks can occur at the following places:
These breaks are subject to the following rules:
If the above doesn't provide enough break points to keep content from overflowing the page boxes, then rules B and D are dropped in order to find additional breakpoints.
If that still does not lead to sufficient break points, rules A and C are dropped as well, to find still more break points.
[endquote]
We will also allow breaks between table rows. However, when splitting a table, the table headers should carry over to the next page (but they don't yet).
| check_forced_page_break | ( | Frame | $frame | ) |
Check if a forced page break is required before $frame. This uses the frame's page_break_before property as well as the preceeding frame's page_break_after property.
Frame $frame the frame to check bool true if a page break occured
| check_page_break | ( | Frame | $frame | ) |
| get_renderer | ( | ) |
Return the renderer used for this pdf
| is_full | ( | ) |
Returns true if the page is full and is no longer accepting frames.
| next_page | ( | ) |
Start a new page by resetting the full flag.
| set_containing_block | ( | $x = null, | |
| $y = null, | |||
| $w = null, | |||
| $h = null ) |
Set the frame's containing block. Overridden to set $this->_bottom_page_margin.
| float | $x | |
| float | $y | |
| float | $w | |
| float | $h |
Reimplementado de Frame_Decorator.
| set_renderer | ( | $renderer | ) |
Set the renderer used for this pdf
| Renderer | $renderer | the renderer to use |
| split | ( | $child = null | ) |
split this frame at $child.
The current frame is cloned and $child and all children following $child are added to the clone. The clone is then passed to the current frame's parent->split() method.
| Frame | $child |
Reimplementado de Frame_Decorator.
| table_reflow_end | ( | ) |
Indicate to the page that table reflow is finished.
| table_reflow_start | ( | ) |
Indicate to the page that a table is currently being reflowed.
|
protected |
|
protected |
|
protected |
|
protected |