Recusively compose Page and add it to doc. Note that this will alter the self.parent to doc. The recursively pass the composing on to the page elements, which at that time can use the full document style settings by e.css(...).
(self, doc, publication)
| 404 | # C O M P O S I T I O N S U P P O R T |
| 405 | |
| 406 | def compose(self, doc, publication): |
| 407 | """Recusively compose Page and add it to doc. Note that this will alter |
| 408 | the self.parent to doc. The recursively pass the composing on to the |
| 409 | page elements, which at that time can use the full document style |
| 410 | settings by e.css(...).""" |
| 411 | doc.appendPage(self) |
| 412 | for e in self.elements: |
| 413 | e.compose(doc, publication) |
| 414 | |
| 415 | # D R A W B O T & F L A T S U P P O R T |
| 416 |
nothing calls this directly
no test coverage detected