2 Replies Latest reply on Jan 27, 2016 11:53 AM by Schmaltzkopf

    How do I set nested style to none?

    Schmaltzkopf Level 1

      Hi, there.

      I have a paragraph style, which contains two nested (char) styles.

       

      var psBody = myDocument.paragraphStyles.add({  
          name: "ps Body",
          appliedFont: "Cambria",  
          fontStyle: "Bold",  
          pointSize: 24,  
          justification: Justification.centerAlign,
          keepWithNext:1});
          psBody.nestedStyles.add({
              appliedCharacterStyle: ,//<=============
              delimiter: NestedStyleDelimiters.anyWord,
              inclusive: true,
              repetition: 1});
          psBody.nestedStyles.add({
              appliedCharacterStyle: csBlue,
              delimiter: NestedStyleDelimiters.anyWord,
              inclusive: true,
              repetition: 1});
      

       

      How do I "say" that I want my first nested style to be none?

      Any help would be appreciated