TabStop[] tabStops = text.getParagraph().getTabStops();
if (tabStops != null && tabStops.length > 0)
{
for (int i = 0; i < tabStops.length; i++)
{
TabStop tabStop = tabStops[i];
String tabStopAlign = "";
switch (tabStop.getAlignment())
{
case CENTER:
tabStopAlign = "\\tqc";
break;
case RIGHT:
tabStopAlign = "\\tqr";
break;
case LEFT:
default:
tabStopAlign = "";
break;
}
writer.write(tabStopAlign + "\\tx" + LengthUtil.twip(tabStop.getPosition()) + " ");
}
}
JRFont font = text;
if (text.getRunDirectionValue() == RunDirectionEnum.RTL)