View Source Idmlx.Components.Spread (idmlx v0.2.1)
Represents a spread in an InDesign document.
A spread is a pair of facing pages or a single page in an InDesign document. This module defines the structure for storing spread information including:
- Geometric boundaries
- Associated styles
- Page items (TextFrames, Rectangles, etc.)
- Fonts and colors used in the spread
Spread Structure
- geometric_bounds - Boundaries of the spread [y1, x1, y2, x2]
- styles - List of styles applied to elements in the spread
- items - List of page items (TextFrames, Rectangles, Polygons)
- fonts - List of fonts used in the spread
- colors - List of colors used in the spread
Examples
%Idmlx.Components.Spread{
geometric_bounds: [0, 0, 841.89, 595.28],
items: [%TextFrame{}, %Rectangle{}],
styles: [%Style{}],
fonts: [%Font{}],
colors: [%Color{}]
}