poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jancy.thangarasu" <jancy.thangar...@aspiresys.com>
Subject How to add section in HWPFDocument
Date Fri, 18 May 2012 13:05:23 GMT
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: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message