Answers if this element needs overflow to be solved. This method is typically called by conditions such as Overflow2Next or during drawing if the overflow marker needs to be drawn. NOTE: There is currently not a test if text actually went into the next element. It's
(self, tolerance=0)
| 634 | # F L O W |
| 635 | |
| 636 | def isOverflow(self, tolerance=0): |
| 637 | """Answers if this element needs overflow to be solved. This method is |
| 638 | typically called by conditions such as Overflow2Next or during drawing |
| 639 | if the overflow marker needs to be drawn. |
| 640 | |
| 641 | NOTE: There is currently not a test if text actually went into the next |
| 642 | element. It's just checking if there is a name defined, not if it |
| 643 | exists or is already filled by another flow.""" |
| 644 | return self.nextElement is None and self.getOverflow() |
| 645 | |
| 646 | def overflow2Next(self, processed=None): |
| 647 | """Try to fix if there is overflow. If there is overflow outside the |
no test coverage detected