poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <n...@apache.org>
Subject Re: [HWPF] Get Style Name for Paragraph/Character from Word Doc (.doc)
Date Fri, 12 Oct 2012 09:46:57 GMT
On 11/10/12 19:30, Polk, Scott W wrote:
> The style of the first line is set to Quote, while the style of the
> second line is set to Strong.

Is that the style of the paragraph, or just of some text? IIRC, you can 
style either a paragraph or some text in it (possibly all of it!), and 
they end up differently in the file

It might be worth checking the start and end of the character runs 
within in the paragraphs, to check what's happening. You might find you 
need to get character style info rather than paragraph style info


To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org

View raw message