Servoy / svyUtils

Wide range of low-level utility methods and application concepts for Servoy solutions
5 stars 5 forks source link

Expose more poi methods #36

Open tp-pitc opened 2 years ago

tp-pitc commented 2 years ago

I would like to be able to set page numbers on the footer of an excel spreadsheet (and therefore to appear on a printout). Code would have to be similar to: var sheet = workbook.createSheet(sheet_title);//this works var pageHeader = sheet.sheet.getHeader();//this works pageHeader.setCenter("Test of a header);//this works var pageFooter = sheet.sheet.getFooter();//this works //the reccomended way according to apache poi is to use HeaderFooter.page() and HeaderFooter.numPages() but these are not exposed pageFooter.setCenter("Page " + HeaderFooter.page() + " of " + HeaderFooter.numPages());//does not work of course //so I have this palceholder at the moment pageFooter.setCenter("Print date:" + new Date());//this works

Can we expose more methods?

seanthomasdevlin commented 2 years ago

Hi Tom,

Under evaluation: https://support.servoy.com/browse/SVYX-358 Please subscribe to the support ticket for updates.

Thanks, Sean