Advertisement

06.18.2008 at 04:02PM PDT, ID: 23497215
[x]
Attachment Details

reportlab multipage table

Asked by deepakabc in Python Scripting Language, Adobe Acrobat, Scripting Languages

Tags: python, python

i m using reportlab for pdf. i m trying generate a table but when table is long it won't go to multipage.

another thing i want to repeat header on multipage table.

is there any idea how do i do that i m posting my code in it.

give me example if it possible. thanks

please help me out.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
ts = [('ALIGN', (1,1), (-1,-1), 'CENTER'),
            ('ALIGN', (-2,0), (-2,-1), 'CENTER'),
            ('VALIGN', (0,0), (-1,-1), 'MIDDLE'),
            ('FONT', (0,0), (-1,-1), 'Helvetica', 9),
            ('BOX', (0,0), (-1, -1), tableBorder, colors.black), tableGrid
             ,
            ('BACKGROUND', (0,0), (-1,0), colors.Color(0.85,0.85,0.85))]
 
        table = Table(data, style=ts, splitByRow = 1 )
        Flowable.wrapOn(table,c,400,625)
        
        table.drawOn(c, posX*cm, posY*cm)
[+][-]06.19.2008 at 10:42AM PDT, ID: 21824519

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06.22.2008 at 10:11PM PDT, ID: 21843625

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06.23.2008 at 08:06AM PDT, ID: 21846990

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Python Scripting Language, Adobe Acrobat, Scripting Languages
Tags: python, python
Sign Up Now!
Solution Provided By: pravinasar
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628