Bug 53182 - Reading combined character styling and direct formatting of a character run
Reading combined character styling and direct formatting of a character run
Status: RESOLVED FIXED
Product: POI
Classification: Unclassified
Component: HWPF
3.8-FINAL
All All
: P2 normal (vote)
: ---
Assigned To: POI Developers List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-05-03 10:51 UTC by Kelvin Chappell
Modified: 2012-11-05 15:52 UTC (History)
0 users



Attachments
Test case. (3.30 KB, application/x-zip-compressed)
2012-05-03 10:51 UTC, Kelvin Chappell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kelvin Chappell 2012-05-03 10:51:35 UTC
Created attachment 28714 [details]
Test case.

If text in a Word doc has an italic character styling applied, and that styling is overridden by direct formatting, then the text appears in the Word doc as unitalicised.  However, CharacterRun.isItalic() returns true when it would be expected to return false.
See attached test case.
Comment 1 Sergey Vladimirov 2012-11-05 15:52:04 UTC
The problem was that POI completely ignored character style. Fixed in trunk.