Hi Mark, Thanks for your reply. I have been playing around with your code and it is very helpful. Reason, I asked the version is "sectPr.getPgMar()" calls a method of class "CTPageMgr", but I cannot find this class in any poi-ooxml jar files of any poi version - 3.8 or 3.7. So, it is throwing me exception on execution.
However, I did find another class "CTPageMargins", but don't understand how to initialize it, to get the same properties as the other one. Moreover, I am not even sure if the former class has been replaced by the latter. Any help with this is highly appreciated. Regards, Pankaj -- View this message in context: http://apache-poi.1045710.n5.nabble.com/XWPF-Sections-tp4313854p5467451.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]
