3 Replies Latest reply on Jan 10, 2012 4:54 AM by zyberkid

    Reset / break styles inside textframe

    zyberkid Level 1

      Dear all,




      there is a textframe in which the text flows through. it is actually language based texts so for each language seperate style(Font, font size, line space etc) needs to be implemented.

      for achieving this, i'm setting style to insersionpoint[-1] and this works great.


      while setting style for arabic, the same style is also applied for previous line's  text.  i.e if the line is splited with \r the style continues, if the prevous text is splitted with \n then style is passed on to the previous texts.


      by investigating further i came to know \r\n will break the style along the lines.



      IS there any specific property in paragraphstyle to stop styling previous lines too.


      awaiting for your comments and insights.