Bug 28615 - Out by one positioning of character properties when adding new character run
Summary: Out by one positioning of character properties when adding new character run
Status: RESOLVED WORKSFORME
Alias: None
Product: POI
Classification: Unclassified
Component: HDF (show other bugs)
Version: 3.0-dev
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-27 08:23 UTC by Nick Burch
Modified: 2014-12-22 14:44 UTC (History)
0 users



Attachments
Java file to add some italic text after a paragraph (1.28 KB, text/plain)
2004-04-27 08:24 UTC, Nick Burch
Details
A simple two paragraph word document (19.50 KB, application/msword)
2004-04-27 08:25 UTC, Nick Burch
Details
A two paragraph word document, that POI has incorrectly added italic text to (13.50 KB, application/msword)
2004-04-27 08:26 UTC, Nick Burch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Burch 2004-04-27 08:23:32 UTC
Using insertAfter("some text",CharacterProperties) on a Paragraph, the character properties don't 
start in the resultant word document until the second character of the added text

Will attach code and documents to show this
Comment 1 Nick Burch 2004-04-27 08:24:41 UTC
Created attachment 11346 [details]
Java file to add some italic text after a paragraph
Comment 2 Nick Burch 2004-04-27 08:25:42 UTC
Created attachment 11347 [details]
A simple two paragraph word document
Comment 3 Nick Burch 2004-04-27 08:26:11 UTC
Created attachment 11348 [details]
A two paragraph word document, that POI has incorrectly added italic text to
Comment 4 Dominik Stadler 2014-12-22 14:44:49 UTC
I just quickly tried this and it seems to work fine using latest trunk (i.e. 3.11-FINAL plus a few unrelated fixes), therefore I am closing this as it seems to have been fixed by other changes. 

Please reopen if this is still a problem for you.