Expand description
Presentation layer types.
Presentation layers define how semantic content is rendered visually. Codex supports three presentation types:
Paginated- Fixed pages for print/PDFContinuous- Vertical scroll for screensResponsive- Adapts to viewport size
§Philosophy
Content is authoritative; presentation is derived. The same content can have multiple presentation layers for different contexts.
§Print Features
For professional print workflows, see the print module which provides:
MasterPage- Reusable page templates with headers, footers, and backgroundsPrintSpecification- Bleed, crop marks, spot colors, and color space settingsPdfXCompliance- PDF/X conformance metadata for prepress workflows
Structs§
- Baseline
Grid - Baseline grid configuration for vertical rhythm.
- Bleed
Box - Bleed area beyond the trim edge.
- Breakpoint
- A viewport width breakpoint.
- Column
Layout - Multi-column layout configuration.
- Continuous
- Continuous presentation for screen reading.
- Endnotes
Config - Endnotes configuration.
- Flow
Element - Flow element for automatic text flow across pages.
- Font
Metrics - Font metrics for exact text reproduction.
- Footnote
Separator - Configuration for the footnote separator line.
- Footnotes
Config - Footnotes configuration.
- Grid
Area - A named area within a grid layout.
- Grid
Layout - CSS Grid layout configuration.
- Hyphenation
Config - Hyphenation configuration.
- Line
Info - Line-level precision for legal documents.
- Line
Numbering - Line numbering configuration.
- Margins
- Page margins.
- Master
Page - A master page template that can be applied to document pages.
- Master
Page Element - An element placed on a master page.
- Master
Page Region - A header or footer region in a master page.
- Output
Intent - Output intent specification for PDF/X.
- PageBox
- Page box dimensions.
- Page
Element - An element positioned on a page.
- Page
Region - Header or footer region.
- Page
Template - Page template for headers, footers, and margins.
- Paginated
- Paginated presentation for print/PDF output.
- PdfX
Compliance - PDF/X compliance metadata.
- Placeholder
Definition - Definition of a placeholder in a master page.
- Position
- Element position on a page.
- Precise
Layout - Precise layout for a specific page format.
- Precise
Page - A page in a precise layout.
- Precise
Page Element - A precisely positioned element on a page.
- Precise
Page Size - Exact page dimensions for precise layouts.
- Print
Specification - Print specifications for professional output.
- Responsive
- Responsive presentation for adaptive screen layouts.
- Responsive
Defaults - Default settings for responsive presentation.
- Responsive
Style - A style with optional breakpoint overrides.
- Section
- A section of content in continuous presentation.
- Spot
Color - Spot color definition.
- Style
- CSS-like style properties.
- TocConfig
- Table of contents configuration.
- Transform
- 2D transform for element positioning.
- Typography
Config - Typography configuration for a presentation layer.
Enums§
- Alternate
Color - Alternate color representation.
- Color
- Color value.
- Color
Space - Color space for the document.
- Crop
Mark Style - Crop mark style.
- CssValue
- CSS value with units.
- Font
Weight - Font weight.
- Footnote
Position - Where footnotes are placed in the document.
- Line
Numbering Restart - When to restart line numbering.
- Line
Numbering Side - Side for line numbers.
- Master
Element Type - Type of master page element.
- Page
Size - Standard page sizes.
- PdfX
Level - PDF/X conformance level.
- Placeholder
Type - Type of placeholder.
- Presentation
Type - Presentation type identifier.
- Region
Alignment - Alignment of content within a region.
- Scale
- Scale factor for transforms.
- Spot
Color Type - Type of spot color.
- Text
Align - Text alignment.
- TocLeaders
- Leader style for table of contents entries.
- Transform
Origin - Transform origin point.
- Writing
Mode - Writing mode for text direction.
Type Aliases§
- Style
Map - A map of style names to style definitions.