How to Identify the new line char in paragraph taht in word Doc using POI
Hai i am new to POI my Goal is to read the word document using POI.i achieved that. i can able to extract pictures and text.but my problem is to find the new line character in paragraph using HWPF.
here is my code:
POIFSFileSystem fs = new POIFSFileSystem(new BufferedInputStream(istream));
HWPFDocument hdoc=new HWPFDocument(fs);
FileInformationBlock FIB=hdoc.getFileInformationBlock();
List pTable=hdoc.getPicturesTable().getAllPictures();
Range r=hdoc.getRange();
for(int i=0;i<r.numParagraphs();i++)
{
Paragraph pra=r.getParagraph(i);
for(int j=0;j<pra.numCharacterRuns();j++)
{
CharacterRun crun=pra.getCharacterRun(j);
textval=pra.text();
}>

