Footers - Multiple lines?
Is it possible to add multi-line footers to a document, using the techniques described in Chapter 5? I have the following code:
Date today = new Date();
Format formatter = new SimpleDateFormat("dd MMM yyyy");
Phrase footer = new Phrase(new Chunk("PRICES ARE EX MELBOURNE / PERTH / BRISBANE WAREHOUSE\n", BOLD10));
footer.add(new Chunk("There is no obligation to comply with these prices. Date Printed: " + formatter.format(today), NORM10));
footer, (rect.getLeft() + rect.getRight()) / 2,
But this only outputs the first line ("PRICES ARE EX ..."). Is there a special trick to having multi-line footers? Am I missing something blindingly simple?