Hi, How to add section to the word document? I come across the method addSection() in documentSummaryInformation class but am not getting the actual usage of it!!
Pls share if anybody have idea on this method[addsection()] usage and moreover i would like to know like using this method will move to new page.Correct me if i am wrong. DocumentSummaryInformation documentSummaryInformation = document.getDocumentSummaryInformation(); documentSummaryInformation.addSection(new Section(),range); //What value i should pass for two parmaters I have given a try to the above couple of lines but don't know to proceed further ,What value i suppose to pass?? even passing will lead to next page..?? Thanks in advance.. Jancy -- View this message in context: http://apache-poi.1045710.n5.nabble.com/How-to-add-section-in-HWPFDocument-tp5709801.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]
