LwgDocument document2 = new LwgDocument(LwgPageSize.A4.rotate(), 10, 10, 10, 10);
LwgDocument document3 = new LwgDocument(LwgPageSize.A4.rotate(), 10, 10, 10, 10);
try {
// step2
PdfWriter.getInstance(document1,
new GfrFileOutputStream("com.lowagie.examples.objects.tables.SplitRows_Between.pdf"));
PdfWriter.getInstance(document2,
new GfrFileOutputStream("com.lowagie.examples.objects.tables.SplitRows_Within.pdf"));
PdfWriter.getInstance(document3,
new GfrFileOutputStream("com.lowagie.examples.objects.tables.SplitRows_OmitRows.pdf"));
// step3
document1.open();
document2.open();
document3.open();
// step4