preserve

Specifies widow/orphan-style constraints on the overflow behavior of the content within the enclosing container.

Syntax

Reference_Syntax.preserve = "0 | integer | all"

Values

Type

Values

String

  • 0 (default)

  • integer

  • all

The content is broken across an overflow boundary.

  • integer

  • all

An integer value greater than zero specifies the minimum quantity of content that must transition across the overflow boundary. For instance, specifying an integer value of 2 would prevent a single line of content from being widowed across the overflow boundary; it would result in a minimum of two lines of content transitioning across the overflow boundary.

  • all

Each paragraph of content must be kept intact and therefore cannot be broken across an overflow boundary.

Applies to

Model

Object

Form Model

para

Version

XFA 2.1

Examples

JavaScript

TextField1.para.preserve = "all";

FormCalc

TextField1.para.preserve = "all"

// Ethnio survey code removed