My application is developed in two different version English and Arabic. I have created pdf table in iText with rowspan and colspan which is working perfectly in English version but in arabic version rowspan is not working. when i'm using setRunDirection(3) to put arabic text in my table,the setRowspan(2) is not working.
please tell me how set rowspan value here.
please help me to solve this issue.
Thanks
This is part of code for table size 2 column and rowspan 2.
BaseFont base=BaseFont.createFont("C:/Windows/Font/arial.ttf",BaseFont.IDENTITY_H,BaseFont.EMBEDDED);
Font sourceFont= new Font(base, 9,Font.NORMAL,Color.RED);
PdfPTable tab1=new PdfPTable(2);
tab1.setRunDirection(3);//**(if you comment this line it will work)**
PdfPCell cells;
cells=new PdfPCell(new Paragraph("arabic text", sourceFont));
cells.setRowspan(2);
tab1.addCell(cells);
cells=new PdfPCell(new Paragraph("arabic text", sourceFont));
tab1.addCell(cells);
cells=new PdfPCell(new Paragraph("arabic text", sourceFont));
tab1.addCell(cells);