1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
AsciiParagraph ap = new AsciiParagraph();
ap.addText("c2 c2");
ap.addText("c3 c3");
ap.addText("c4 c4");
ap.addText("t1 t1");
ap.addText("t2 t2");
ap.addText("t3 t3");
ap.addText("t4\t\t\t\tt4");
ap.addText("word followed by " + StringUtils.CR + " followed by" + StringUtils.LF + " followed by \n");
ap.getContext().setWidth(60).setAlignment(TextAlignment.LEFT);
System.out.println(ap.render());