I need to modification the text frame based on applied paragraph style. Kindly help for this.
Can't see any chance to work for your code ==> the reason is THERE S NO SUCH PROPERTY AS textFrame.appliedParagraphStyle.
Can't see your goal, as well ==> to tell you the truth
I have taking the responsibility to get styled word doc from the InDesign application (final files). In application, some of the text frames applied paragraph style directly (see 1st screenshot below). While extracting to word, the original font style changed (some functions used to clear styles, nested retain etc...). So, i'm trying to apply color for those frames (separate application for identification purpose) only for user identification.
Here is some sample:
This is correct method - no issue for this frame:
Word doc - error:
Word doc - correct:
This is my goal.
Kindly let me know if not clear my request.
"if (_storyAllTextFrames[m].paragraphs.appliedParagraphStyle.name == myMissingStyle)"
what you are looking for?
Not exactly, kind check the below case.
In beginning, the text frame applied paragraph style then overrode:
Once clear overrides, display in original style (bold as per style)
The both of occurrences are wrong as per our norms.
So, we must accept only '(no style)'. Other than, need to report (above kind of examples).
Thanks for checking.