4 Replies Latest reply on Mar 31, 2011 6:32 AM by Czajka

    keepWithPrevious:true...not working

    Czajka Level 1

      I don't seem to be able to set this property with javascript...although I can get others to work like keepWithNext which specifics # of lines.keepWithPrevious is boolean, but is not working for me. Any ideas? Is this a bug?

       

               myDocument.paragraphStyles.add({name:"Address1", pointSize:8, leading:10, appliedFont:"Optima", fontStyle:"Italic", spaceBefore:2, hyphenation:false, keepWithPrevious:true});