Bug 51113

Summary: XWPFParagraph.insertNewRun(..) always insert run in the end
Product: POI Reporter: Dmitry Kochelaev <dkochelaev>
Component: XWPFAssignee: POI Developers List <dev>
Severity: normal CC: dkochelaev
Priority: P2    
Version: 3.8-dev   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Patch to fix the described issue

Description Dmitry Kochelaev 2011-04-24 13:44:56 UTC
When insertRun(..) method of XWPFParagraph is called it inserts Run in correct place of document (it is seen if document is stored to file).

However, in XWPFParagraph.getRuns() Run is inserted in the end.

Patch with difference to trunk to fix this issue is attached.
Comment 1 Dmitry Kochelaev 2011-04-24 13:45:23 UTC
Created attachment 26932 [details]
Patch to fix the described issue
Comment 2 Nick Burch 2011-05-03 05:53:24 UTC
Thanks, applied (with unit test) in r1098923.