Paged.The open publishing system
The format atlas
Layers

IDML Reference / Layers

Visibility and printing

When an IDML page item is drawn and printed — the layer's Visible and Printable, the item's own Visible and Nonprinting, and why Locked changes nothing.

Tier: IntermediateIntermediateIIexplanation

Reviewed against engine v0.71.9

An item shows when its layer is visible and the item itself is visible; it prints when, in addition, its layer is printable and the item is not marked non-printing.

In short Four switches decide whether a page item appears. On the layer: Visible (hidden layers show nothing) and Printable (a non-printing layer shows on screen but not in print or PDF). On the item: Visible (hides that item alone) and Nonprinting (shows on screen only). Locked, on the layer or the item, only stops editing. All of them default to showing and printing.

The layer's switches

  • Visible="false": the layer is hidden. None of its items are drawn, on screen or in output.
  • Printable="false": the layer is a non-printing layer. Its items show while editing but are left out of print and export.
  • Locked="true": its items cannot be selected or moved. It changes nothing about what is drawn.

All three default to the showing state: visible, printable, unlocked. For a group, the switches of the group's layer apply to all its members.

The blue rectangle is on a layer with Visible="false". It is in the file, but it is not drawn. Set that layer's Visible to true to bring it back.

designmap.xmlRead / the source
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?aid style="50" type="document" readerVersion="6.0" featureSet="257" product="20.0(32)"?>
<Document xmlns:idPkg="http://ns.adobe.com/AdobeInDesign/idml/1.0/packaging" DOMVersion="20.0" Self="d" StoryList="ustory" Name="layer-visibility.indd" CMYKProfile="Coated FOGRA39 (ISO 12647-2:2004)" RGBProfile="sRGB IEC61966-2.1" SolidColorIntent="UseColorSettings" AfterBlendingIntent="UseColorSettings" DefaultImageIntent="UseColorSettings">
  <Layer Self="ulayer-front" Name="Front" Visible="true" Locked="false" Printable="true"/>
  <Layer Self="ulayer-back" Name="Back" Visible="false" Locked="false" Printable="true"/>
  <idPkg:Graphic src="Resources/Graphic.xml"/>
  <idPkg:Fonts src="Resources/Fonts.xml"/>
  <idPkg:Styles src="Resources/Styles.xml"/>
  <idPkg:Preferences src="Resources/Preferences.xml"/>
  <idPkg:Tags src="XML/Tags.xml"/>
  <idPkg:MasterSpread src="MasterSpreads/MasterSpread_umaster.xml"/>
  <idPkg:Spread src="Spreads/Spread_uspread.xml"/>
  <idPkg:Story src="Stories/Story_ustory.xml"/>
  <idPkg:BackingStory src="XML/BackingStory.xml"/>
</Document>

The spread holds two rectangles; the page shows one. "It is in the XML" and "it is on the page" are different statements, and the layer's switches are the difference.

The item's own switches

  • Visible="false" on a page item hides that item only, whatever its layer. In InDesign it is the eye on the object's row in the Layers panel.
  • Nonprinting="true" keeps the item on screen and out of print and export, like a non-printing layer for one item.
  • Locked="true" blocks selection, like a locked layer.

Nested layers

If a layer is written inside another <Layer>, it inherits its parent's state: a visible layer inside a hidden parent is hidden, and a layer inside a locked parent is locked. See the layer model.

In Paged: the renderer draws an item only when its layer is visible, its layer is printable and the item is visible; a nested layer inherits a hidden or locked parent. The renderer makes no difference between screen and print, so a non-printing layer is hidden in the rendered page too. An item's own Nonprinting is read and saved back but not applied: the item is drawn and exported. Locked layers and items are drawn. A locked item cannot be moved, resized, restacked or deleted, by the editor or by a script, while its fill, stroke and text can still change, as in InDesign; a locked layer only blocks selection in the editor.

Supported · verified Tracked

When content goes missing

  1. Read the item's ItemLayer, or its group's.
  2. Find that <Layer> in designmap.xml, and any <Layer> it is nested in.
  3. Check Visible and Printable there.
  4. Check the item's own Visible and Nonprinting.

If all of these show the item, the cause is elsewhere: geometry (off the page, on the pasteboard), paint (Swatch/None), or text that is overset.

Frequently asked questions

When is a page item drawn? When its layer is visible and the item's own Visible is not false. For printing and export, its layer must also be printable and the item must not be Nonprinting.

Does Printable="false" hide items? Not while editing in InDesign: the layer shows on screen and is left out of print and PDF. A renderer that only produces output treats it like a hidden layer.

Does a Locked layer change the output? No. Locking only stops items from being selected or moved.

Can one item be hidden without hiding its layer? Yes, with Visible="false" on the item.

On this page