LayoutConstraints

com.phasmidsoftware.xmldoc.idml.LayoutConstraints
See theLayoutConstraints companion object

The value of a HorizontalLayoutConstraints or VerticalLayoutConstraints attribute on any IDML PageItem (TextFrame, Rectangle, Oval, ... - confirmed against real content: both element types in HelloWorld2.idml carry this attribute with an identical shape, matching InDesign's own PageItem.horizontalLayoutConstraints/verticalLayoutConstraints properties, which the ExtendScript API documents as applying to PageItem generally, not to any one subtype).

The three values are, in order: the constraint on the margin/space before the item (left, for horizontal; top, for vertical), on the item's own dimension (width or height), and on the margin/space after it (right or bottom).

Value parameters

after

the constraint on the space after the item (right margin / bottom margin).

before

the constraint on the space before the item (left margin / top margin).

dimension

the constraint on the item's own dimension (width / height).

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product