@Test
public void tabStopsColumnText() throws Exception{

    Document document = new Document(PageSize.A4);
    PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(OUTABSTOPSC));
    document.open();
    Font oFont1 = FontFactory.getFont(BaseFont.ZAPFDINGBATS, 15, Font.UNDEFINED);
    Font oFont2 = FontFactory.getFont(BaseFont.COURIER, 15, Font.UNDEFINED);
    Font oFont3 = FontFactory.getFont(BaseFont.TIMES_ROMAN, 15, Font.UNDEFINED);
    Font oFont4 = FontFactory.getFont(BaseFont.HELVETICA, 15, Font.UNDEFINED);
    Image oImg = Image.getInstance("./src/test/resources/com/itextpdf/text/Chunk/logo.gif");
    PdfContentByte canvas = writer.getDirectContentUnder();
    java.util.List<TabStop> tabStops = new ArrayList<TabStop>();
    //tabStops.add(new TabStop(100, new DottedLineSeparator()));
    //tabStops.add(new TabStop(200, new DottedLineSeparator()));
    tabStops.add(new TabStop(200, new DottedLineSeparator()));
    //tabStops.add(new TabStop(300, new DottedLineSeparator()));
    tabStops.add(new TabStop(400, new DottedLineSeparator()));
    //tabStops.add(new TabStop(500, new DottedLineSeparator()));
    //tabStops.add(new TabStop(550, new DottedLineSeparator()));
    Paragraph oPara = new Paragraph("Hello World! ", oFont1);
    oPara.setTabSettings(new TabSettings(tabStops));
    oPara.add(new Chunk("iText ® is a library that allows you to create and manipulate PDF documents.", oFont2));
    oPara.add(new Chunk("It enables developers looking to enhance web- and other applications with dynamic PDF docu", oFont3));
    oPara.add(Chunk.TABBING);
    oPara.add(new Chunk("ment generation and/or manipulation.", oFont3));
    oPara.add(new Chunk(oImg, 0, 0, true));
    //oPara.Add(new Chunk(new TestVerticalPositionMark()));
    oPara.add(Chunk.TABBING);
    oPara.add(new Chunk("Developers can use iText to:", oFont4));
    ColumnText.showTextAligned(canvas, Element.ALIGN_LEFT, new Phrase("|100"), 100, 500, 0);
    ColumnText.showTextAligned(canvas, Element.ALIGN_LEFT, new Phrase("|200"), 200, 500, 0);
    ColumnText.showTextAligned(canvas, Element.ALIGN_LEFT, new Phrase("|250"), 250, 500, 0);
    ColumnText.showTextAligned(canvas, Element.ALIGN_LEFT, new Phrase("|300"), 300, 500, 0);
    ColumnText.showTextAligned(canvas, Element.ALIGN_LEFT, new Phrase("|400"), 400, 500, 0);
    ColumnText.showTextAligned(canvas, Element.ALIGN_LEFT, new Phrase("|500"), 500, 500, 0);
    ColumnText.showTextAligned(canvas, Element.ALIGN_LEFT, new Phrase("|550"), 550, 500, 0);
    ColumnText oColTxt1 = new ColumnText(canvas);
    oColTxt1.setSimpleColumn(0, 400, 595, 500);
    oColTxt1.addElement(oPara);
    oColTxt1.go();
    document.close();
    Assert.assertTrue(compareInnerText(SOURCE15, OUTABSTOPSC));
}