It is better to have a separate InDesignContext build tree, because we need more information down there than just drawing instructions. This way the InDesignContext just gets passed the PageBot Element, using it's own API.
(self, view, origin=None, **kwargs)
| 890 | # B U I L D I N D E S I G N |
| 891 | |
| 892 | def build_inds(self, view, origin=None, **kwargs): |
| 893 | """It is better to have a separate InDesignContext build tree, because |
| 894 | we need more information down there than just drawing instructions. |
| 895 | This way the InDesignContext just gets passed the PageBot Element, |
| 896 | using it's own API.""" |
| 897 | context = view.context |
| 898 | p = pointOffset(self.origin, origin) |
| 899 | p2D = point2D(self._applyAlignment(p)) # Ignore z-axis for now. |
| 900 | context.textBox(self.bs, p2D, e=self) |
| 901 | for e in self.elements: |
| 902 | e.build_inds(view, p2D) |
| 903 | |
| 904 | # B U I L D H T M L |
| 905 |
nothing calls this directly
no test coverage detected