In my application, I've been using Apache POI to generate excel invoices and reports. The report uses several font sizes, bordered and non-bordered cells, varied foreground and background colours, and numerous cell layouts. Page borders are a new requirement that I must include. I have examined the majority of the samples. I was unable to locate sample code for the entire page; only for cell-level boundaries.
In OpenOffice/Libre Office excel applications this can be achieved by going to Format>Page>Border and selecting options as in the image below
page border
Can someone please help me with this?