[reportlab-users] Table of Contents and Style

Bradley Young young.bradley at gmail.com
Mon Apr 21 17:08:48 EDT 2008

On Mon, Apr 21, 2008 at 2:01 PM, Bradley Young <young.bradley at gmail.com>


> Agreed, but I think that we should optimize somewhat for the common case

> (while not eliminating the case where there would be wildly different styles

> per level). My suggestion was that there be an easily alterable "root"

> style, which cascades to lower levels (but can be later modified as the

> author sees fit). This would make it much easier to eliminate the dreaded

> Times Roman :).


> Another issue with the current format is that there is a fixed level of

> depth available, and this should be made more dynamic.


Further reflection makes me think that it would be pretty easy to just make
the styles, and potentially other items (e.g. table style, right column
width) keyword arguments for the constructor. Then you could just pass in
an array of indeterminate depth for the levelStyles variable, etc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20080421/1d9945e7/attachment.html>

More information about the reportlab-users mailing list