Paged.The open publishing system
The format atlas
Layers

IDML Reference

Layers

An IDML layer is a named, document-wide plane that page items join; it sets paint order between layers and can hide, lock or stop printing its items.

Tier: BeginnerBeginnerIexplanation

Reviewed against engine v0.71.6

A layer in IDML is a named, document-wide plane that page items belong to; it decides stacking between layers and whether its items show.

In short Layers are declared once, in designmap.xml, as <Layer> elements listed from the bottom layer to the top. A page item joins a layer by naming it in ItemLayer; the layer holds no list of members. A layer says nothing about position. It does three things a reader must honour: its place in the list orders its items against other layers' items, and its Visible and Printable switches decide whether its items appear. The rest is for editing: Locked, guides, the panel colour.

Two halves in two parts of the package

  • Definitions live in designmap.xml: one <Layer> per layer, with an id, a name and its switches, in bottom-to-top order.
  • Membership lives on the page items: each item's ItemLayer names its layer by Self id. A group's members are on the group's layer.

Items can also be hidden one at a time: Visible="false" on a page item hides that item whatever its layer says.

The pages in this chapter

  • The layer modelIntermediateII· referencethe <Layer> element, the order of the list, ItemLayer, and how groups and layers interact.
  • Visibility and printingIntermediateII· explanationwhen an item is drawn, printed or neither.

The day an item you can see in the XML does not appear on the page, check here first: follow its ItemLayer (or its group's) to the <Layer> in the design map and read Visible and Printable, then check the item's own Visible.

Frequently asked questions

What is a layer in an IDML document? A named, document-wide plane that page items are assigned to. It orders its items against other layers and can hide them, lock them or keep them from printing. It holds no position.

Where are layers defined? In designmap.xml, as <Layer> elements. The first one listed is the bottom layer. Items join a layer through their ItemLayer attribute.

Why would an item in the XML not appear on the page? Usually a hidden or non-printing layer, or Visible="false" on the item itself. Follow its ItemLayer to the design map, or check the item's own Visible.

On this page