Bug 51111 - Creating XWPFRun in XWPFParagraph does not affect runs list
Creating XWPFRun in XWPFParagraph does not affect runs list
Status: RESOLVED FIXED
Product: POI
Classification: Unclassified
Component: XWPF
3.8-dev
PC All
: P2 major (vote)
: ---
Assigned To: POI Developers List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-04-24 13:35 UTC by Dmitry Kochelaev
Modified: 2011-05-03 05:50 UTC (History)
1 user (show)



Attachments
Patch to fix described issue (193 bytes, patch)
2011-04-24 13:42 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:35:15 UTC
1) Add XWPFRun in XWPFParagraph with createRun() method.
2) Run is successfully created (and will be written to file if document is stored).
3) List returned by getRuns() method of XWPFParagraph doesn't contain new element.

Patch with difference to current version from trunk is attached.
Comment 1 Dmitry Kochelaev 2011-04-24 13:42:07 UTC
Created attachment 26931 [details]
Patch to fix described issue
Comment 2 Nick Burch 2011-05-03 05:50:20 UTC
Thanks, fixed (with unit test) in r1098920.