use of com.itextpdf.text.Anchor in project saga by timurstrekalov.
the class PdfReporter method createFooter.
private Element createFooter() {
final Paragraph footer = new Paragraph();
footer.add(new Phrase("Generated using ", FONT_FOOTER));
final Anchor a = new Anchor(config.getProperty("app.name"), FONT_FOOTER);
a.setReference("http://timurstrekalov.github.com/saga/");
footer.add(a);
footer.add(new Phrase(" version " + config.getProperty("app.version"), FONT_FOOTER));
footer.setAlignment(Element.ALIGN_RIGHT);
return footer;
}