0 Replies Latest reply on Oct 23, 2015 4:53 AM by TPMi

    Javascript: how to get paragraph style properties?


      For example, if a paragraph is aligned to the right, I can get alignment like this (assuming ps is a paragraphStyle object):

      var align = ps.getEnumerationValue(charIDToTypeID('Algn'));

      But if the paragraph is styled with named paragraph style without overrides, this line gives an error.

      How to get properties from named paragraph styles, and named paragraph styles themselves?