Bug 51113 - XWPFParagraph.insertNewRun(..) always insert run in the end
Summary: XWPFParagraph.insertNewRun(..) always insert run in the end
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XWPF (show other bugs)
Version: 3.8-dev
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-24 13:44 UTC by Dmitry Kochelaev
Modified: 2011-05-03 05:53 UTC (History)
1 user (show)



Attachments
Patch to fix the described issue (71 bytes, patch)
2011-04-24 13:45 UTC, Dmitry Kochelaev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.