Bug 53182

Summary: Reading combined character styling and direct formatting of a character run
Product: POI Reporter: Kelvin Chappell <kelvin.chappell>
Component: HWPFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.8-FINAL   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Test case.

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.