Page and Flow

The Page and Flow elements contain the same attributes.

This table lists the use, (default) values, and description of the attributes of the page and flow elements.

Attribute

Use

Values (default value in bold)

Description

Name

Implied

Only used for internal purposes by InDesign Connector.

SitecoreID

Implied

The SitecoreID attribute is used to identify each page object (TextFrame, ImageFrame, etc) with a corresponding Sitecore item. The SitecoreID attribute contains the ID value of that specific item. Each page object item created with the InDesign Connector is related to a Sitecore item.

When you use a script to create a page object (TextFrame, ImageFrame, etc), you should add the SitecoreID attribute and use a default value (e.g. null) to make the InDesign Connector identify this item.

Number

For Page: Required

For Flow: Implied

The number used to identify the page. If a page exists, the page objects are added to that specific page. If a page does not exist, a new page is created and the page objects are added to that new page.

ContNr

Implied

True

False

Continue from previous. Specifies whether page numbers continue from the previous section. If the attribute is not specified, the value is taken from the master document.

MasterPrefix

Required

The prefix of the master spread applied to the page. For example: A, B, C and so on.

MasterBase

Required

The name of the master spread applied to that page for example Master.

FlowMasterPrefix

Implied

The Prefix of the InDesign master document that is applied to flow pages. Used for Flow element. If value is not set, MasterBase/MasterPrefix value is used as fallback value.

FlowMasterBase

Implied

The name of the InDesign master document that is applied to flow pages. Used for Flow element. If value is not set, MasterBase/MasterPrefix value is used as fallback value.

Transition

Implied

Blinds

Box

Comb

Cover

Dissolve

Fade

PageTurn

Push

Split

Uncover

Wipe

ZoomIn

ZoomOut

Sets the page transition.

If the attribute value is empty no transition is applied.

Direction

Implied

Down

Left

LeftDown

LeftUp

Right

RightDown

RightUp

Up

In

Out

Horizontal

Vertical

HorizontalIn HorizontalOut

VerticalIn

VerticalOut

Sets the transition direction.

Direction values depend of the type of transition that is selected:

Blinds, Comb - Horizontal, Vertical

Box - In, Out

Cover, Push, Uncover, Wipe, ZoomIn, ZoomOut - Down, Left, LeftDown, LeftUp, Right, RightDown, RightUp, Up

Dissolve, Fade, PageTurn - no direction(empty)

Split - HorizontalIn, HorizontalOut

If the attribute value is empty no direction is applied.

Speed

Implied

Slow

Medium

Fast

Sets the transition speed.

HorizontalGuides

Implied

Shows the horizontal guides on the page in case the document is published through IDC. The value contains real numbers in mm split by |.

VerticalGuides

Implied

Show the vertical guides on the page in case the document is published through IDC. The value contains real numbers in mm split by |.

Margin

Implied

[0, 11559.469]

Pipeline separated list of page margin sizes in mm, in the following order:

Inside | Outside | Top | Bottom.

Width

Implied

Sets the width of the page. The default value is fetched from the page preferences of the master document

Height

Implied

Sets the height of the page. The default value is fetched from the page preferences of the master document