[reportlab-users] PTOContainer split problem
    Robin Becker 
    robin at reportlab.com
       
    Wed Aug 13 09:57:26 EDT 2008
    
    
  
Yoann Roman wrote:
> I'm running across a PTOContainer problem when the content is a single very
> large paragraph. Attached are two files: a simple Python script and a large
> text file (GNU GPL, in this case).
> 
> If I try to use the doc.build([pto]) line, I get this:
.......
In fact I tried your large text by inserting this into our standard test case
reportlab/test/test_platypus_pleaseturnover.py at line 127
	textxxx=open('/tmp/yoannroman/gnu.txt','r').read()
	ptoblob('First Try at a PTO',[Paragraph(textxxx,bt)],t0,h0)
and this works even if the style is a bit busted.
-- 
Robin Becker
    
    
More information about the reportlab-users
mailing list