How can I check for ParagraphStyles+ at the middle of a paragraph?
<para1>This is an <para1+>example text</para1+> only.</para1>
This is an example text only.
(It's don't have a character style, but a modification of the paragraph style)
If your paragraph.styleOverridden == true == > there are some overridden ocurrences inside, but where?
Each child of para has this property too, so you could start iterate through lines (check each .styleOverridden), words, characters and try to detect the start and the end of overridden part.
That's some logic effort.
You can cut down the amount of processing by working with textStyleRanges, but when you find one with styleOverridden == true, you're still going to have to look at all the properties and compare them against those of the appliedParagraphStyle. You may be able to cut down on the amount of processing by zeroing in only on properties that you strongly care about.
So many thanks guys!