0

I am using Apache POI to edit Docx documents. What I am trying to achieve is to rearrange an XWPFParagraph's runs by adding new runs to the XWPFParagraph, but inserting new runs to a paragaph is actually adding runs to the end of the paragraph. I want to add a run to a paragraph at a specified location. Is there any way to add a new run in a paragraph at a specified location? Any help would be highly appreciated.

  • 1
    [XWPFParagraph.insertNewRun](https://poi.apache.org/apidocs/dev/org/apache/poi/xwpf/usermodel/XWPFParagraph.html#insertNewRun-int-) – Axel Richter Jul 19 '23 at 11:02

0 Answers0