more odf.Formatting.StyleData/AppliedStyle typing instead of Object

Function doesn't need to be nested (so should be in my opinion)