I have a very large table which I want to split onto many pages. The base
table looks something like this:

TableData:
R1 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | Cn
R2 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | Cn
R3 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | Cn
R4 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | Cn
R5 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | Cn
...
R8 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | Cn

The result table(s) on each page must have a row header on each page and a
"column header" (this means that some columns, e.g. the columns C1 and C2
should be placed in each page).

Result tables:
Page 1:
R1 | C1 | C2 | C3 | C4 | C5 | C6 
R2 | C1 | C2 | C3 | C4 | C5 | C6 
R3 | C1 | C2 | C3 | C4 | C5 | C6 
R4 | C1 | C2 | C3 | C4 | C5 | C6 

Page 2:
R1 | C1 | C2 | C7 | C8 | C9 | C10
R2 | C1 | C2 | C7 | C8 | C9 | C10
R3 | C1 | C2 | C7 | C8 | C9 | C10
R4 | C1 | C2 | C7 | C8 | C9 | C10 

Page 3: 
R1 | C1 | C2 | Cn
R2 | C1 | C2 | Cn
R3 | C1 | C2 | Cn
R4 | C1 | C2 | Cn

Page 4:
R1 | C1 | C2 | C3 | C4 | C5 | C6 
R5 | C1 | C2 | C3 | C4 | C5 | C6 
R6 | C1 | C2 | C3 | C4 | C5 | C6 
R7 | C1 | C2 | C3 | C4 | C5 | C6 
R8 | C1 | C2 | C3 | C4 | C5 | C6 

Page 5:
R1 | C1 | C2 | C7 | C8 | C9 | C10
R5 | C1 | C2 | C7 | C8 | C9 | C10
R6 | C1 | C2 | C7 | C8 | C9 | C10
R7 | C1 | C2 | C7 | C8 | C9 | C10
R8 | C1 | C2 | C7 | C8 | C9 | C10 

Page 6: 
R1 | C1 | C2 | Cn
R5 | C1 | C2 | Cn
R6 | C1 | C2 | Cn
R7 | C1 | C2 | Cn
R8 | C1 | C2 | Cn

How can I do this with iText? How can I specify the columns that have to be 
repeated on each row?

Best Regard
Peter
-- 
View this message in context: 
http://www.nabble.com/How-to-split-a-large-table-%28too-many-columns-and-too-many-rows%29-onto-many-pages-tf4836308.html#a13836033
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to