Footers worked in poi version 3.5-beta4,
but in poi version 3.5-beta6 the following code gives the exception message:
bad text 'Page &P of &N'
public static void foot (HSSFSheet sheet){
HSSFFooter f = sheet.getFooter();
f.setLeft(HSSFFooter.date());
f.setCenter(HSSFFooter.tab());
f.setRight("Page " + HSSFFooter.page() + " of " +
HSSFFooter.numPages());
}
--
View this message in context:
http://www.nabble.com/footers-stopped-working-sometime-after-3.5-beta4-tp24558579p24558579.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]