2 Replies Latest reply on Aug 2, 2016 11:57 AM by Obi-wan Kenobi

    Some para styles don't appear in the UI!…

    Obi-wan Kenobi Adobe Community Professional

      Hi all,

       

      I've a little problem! 

       

      The line code 01:

       

      var styles = app.activeDocument.paragraphStyles.everyItem().name;
      …
      
      
      var w = new Window ('dialog {alignChildren: "right"}', '………');
        var group1 = w.add ('group');
        group1.add ('statictext {text: "………"}');
        var style = group1.add ('dropdownlist', undefined, styles);
        style.minimumSize.width = 200;
        style.maximumSize.width = 200;
        style.selection = 0;
      …
      

       

      … doesn't show me all the para styles in my document, especially, para styles in para styles groups?

       

      Thanks in advance!