5 Replies Latest reply on Apr 22, 2013 7:18 PM by caterpillarjin

    How to iterate a story to find if a characterstyle is applied to its textranges?

    caterpillarjin

      Does source like below work?

       

      characterStyle.parent == theStory.textRanges[i]

       

      One more questions is if there might be a CharacterAttribute who belongs no characterstyle? Can I iterate charaterstyles to know all the font, bold .. information for all teh textranges?

       

      Message was edited by: caterpillarjin