[reportlab-users] bug?
John Pywtorak
reportlab-users@reportlab.com
Mon, 26 Jul 2004 16:50:02 -0700
On Thursday 22 July 2004 12:42 am, Guillaume Constant wrote:
> First : it has certainly ever been noticed but "__doc__" of "Table" module
> can't be read with pydoc
>
> Second and more awkard : 2 Table methods are not defined:
> look at tables.py:
> from line 688:
> def _drawHLines(self, (sc, sr), (ec, er), weight, color):
> ecp = self._colpositions[sc:ec+2]
> rp = self._rowpositions[sr:er+1]
> ...
> _colpositions and _rowpositions ar not defined anywhere (neither in Table
> nor in parent Class)
This line below seems like it defines them which they are not methods, rather
lists, or arrays.
self._colpositions = [0] #index -1 is right side boundary; we skip when
processing cells
self._rowpositions = [height] # index 0 is actually topline; we skip when
processing cells
I believe both are defined in _calc_width and _calc_height respectively.
Johnny P
--
Windows
Start Here
Frustrating Hanging Crashing
Blue Screen of Death
Reboot