The dialog for paragraph and character styles (General > Contains) lists the properties that are defined directly in the style and are not inherited from the parent style.
I would like to get these properties with a basic macro but fail to do so. A “SwXStyle” always contains all properties and I can’t find a way to distinguish between “defined” and “inherited”.
Can anyone give me any pointers/suggestions?
Is searching for "Direct Formatting" possible---how?
LibreOffice: com/sun/star/beans/PropertyState.idl File Reference
May be Styles Reporter extension can help you
Thanks, PropertyState seems to be the solution.
I doubt it.
We probably need to compare the property values of the parent and child objects and find the differences. This isn’t easy in general, since property values, in addition to primitive types (numbers, text, etc.), can also be objects (including structures), sequences, and so on.
Hi KKA,
here’s a document that might help:
StyleChanged_v_0_1_3.odt (73.5 KB)
Probably far from perfect, though 
Thanks, I will investigate and learn. 
But as I said, PropertyState is what I was looking for (and works fine so far).