Hy support,
Please check the following code and note that the text object has a null BorderInfo by default. (On the other side the table object has a non-null BorderInfo.)
Pdf pdf = new Pdf();
Section sec1 = pdf.getSections().add();
Table table = new Table(sec1);
table.getBorder().getBottom();
Text text1 = new Text(sec1,“Para1”); //$NON-NLS-1$
//the following line crashes
text1.getTextInfo().getTextBorder().getLeft();
Is this expected ?
Thank you,
Milan
Hello Milan,
I have tested the issue and I’m able to reproduce the same problem. I have logged it in our issue tracking system as PDFJAVA-10992. We will investigate this issue in detail and will keep you updated on the status of a correction.
We apologize for your inconvenience.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Hi Milan,
This bug has been fixed. Please try the attachment.