w:next (Next Paragraph Style)

Specifies the style automatically applied to a new paragraph created when pressing Enter at the end of a paragraph using this style.

Parent elements

Description

w:next specifies the style that is automatically applied to a new paragraph created by pressing Enter at the end of a paragraph with the current style. It is defined in ECMA-376 Part 1 §17.7.4.10.

For example, heading styles typically set w:next to Normal so that body text follows a heading naturally. If omitted, the current style is continued.

Attributes

Attribute Type Possible Values Description
w:val ST_String The styleId of any paragraph style. Style to apply to the paragraph created after pressing Enter.

Examples

<w:style w:type="paragraph" w:styleId="Heading1">
  <w:next w:val="Normal"/>
</w:style>