It is better to have a separate InDesignContext build tree, since we need more information down there than just drawing instructions. This way the InDesignContext just gets the PageBot Element passed over, using it's own API.
(self, view, origin, **kwargs)
| 793 | e.prepare_inds(view) |
| 794 | |
| 795 | def build_inds(self, view, origin, **kwargs): |
| 796 | """It is better to have a separate InDesignContext build tree, since we |
| 797 | need more information down there than just drawing instructions. This |
| 798 | way the InDesignContext just gets the PageBot Element passed over, |
| 799 | using it's own API.""" |
| 800 | p = pointOffset(self.origin, origin) |
| 801 | p2D = point2D(self._applyAlignment(p)) # Ignore z-axis for now. |
| 802 | # Inheriting Elements should add their context call here. |
| 803 | for e in self.elements: |
| 804 | e.build_inds(view, p2D, **kwargs) |
| 805 | |
| 806 | # H T M L / S C S S / S A S S S U P P O R T |
| 807 |
nothing calls this directly
no test coverage detected