I want to get the effective character formatting for a piece of text (within a <w:r>
element). I can use org.docx4j.model.PropertyResolver
to resolve its style, even if it's inherited. However, I can't find how to apply formatting from different sources, i.e. the final formatting of a run is the result of applying its manual formatting, its character style, its enclosing paragraph's style, and its enclosing table's style (if it exists), with some extra quirks around toggle properties. See p. 32 of http://www.doxtop.com/browse/925bbc5e/04---wordprocessingml-advanced.aspx
for the details. Is it implemented in docx4j?