Search Locate Previous Next Contents

nlPopStyle – undo paragraph style

Paragraph styles can be successively applied and undone in a stack, for example:

nlStyle 'body'    © base style
nlStyle 'indent'  © add indenting
nlStyle 'ind2'    © next level
nlPopStyle        © back up
nlPopStyle        © revert to base

This allows you to overlay a set of new properties easily, and undo the changes without checking exactly which properties need to be backed out.

There is no limit on the depth of the style stack.



Continue to: nlPushFrame – define temporary frame
© Copyright Causeway Graphical Systems Ltd 2001