I have Apache POI API for Excel file manipulation. Excel file is generated from Jasper Report. Generated Excel from Jasper Report is fine. What I want is some additional things which Jasper Report do not support. Like adding print page setup - Header and Footer thing. I have ignored border margins on each Excel pages. But when I add header and footer, they are printed with some margin. Then observed that there is a checkbox on Page Setup page on MS Excel.
Here Align with page margins
checkbox controls margin on Header and Footer. If this checkbox is checked then it will have same margin as excel page.
Question: How can I control this checkbox field from Apache POI?