https://issues.apache.org/bugzilla/show_bug.cgi?id=53378

--- Comment #2 from Kaushal <[email protected]> ---
The code i used to do the changes is as below: I have added this to the main in
QuickTest.java that comes with the POI HWPF source code.

HWPFDocument doc = new HWPFDocument (new FileInputStream ("C:/tutorial.doc"));
Range r = doc.getRange();

     System.out.println("Example you supplied:");
      System.out.println("---------------------");
      Section s = r.getSection(0);
      Paragraph p = s.getParagraph(1);

      p.insertAfter("KC KC KC");

      OutputStream out = new FileOutputStream("C:/tutorialOp.doc");

      doc.write(out);
      out.close();

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to