<PDFAttribute> / Element reference
PDFAttribute
The PDFAttribute element in IDML: where it appears (Spreads), its 3 attributes, their values, and how real documents use them.
Definition
Which page of a placed PDF is shown, which box it is cropped to, and whether its background is transparent.
- Lives in
Spreads3,MasterSpreads1 andStories1- Frequency
- In 5 of the 305 documents of the census (1.6%), 2026-10-12
- Attributes
- 3 observed
- Discussed in
- Placed images
Structure
Relationships
PDFAttribute sits: the elements that hold it, and the elements it holds. Each number is the documents that show the pairing (census of 2026-10-12, 305 documents).Attributes
| Attribute | Type | Values | Default | Seen in |
|---|---|---|---|---|
| PageNumber# The page of the PDF file that is placed, counted from 1. | integer (count) | 1 or more | 1 | 100% |
| PDFCrop# Which box of the PDF page is placed, such as its crop, trim, bleed or media box, or the bounds of its visible content. | keyword | CropContentVisibleLayers5 | — | 100% |
| TransparentBackground# When true, the PDF page's white background is dropped so what lies beneath shows through. | boolean | true5 | — | 100% |
PDFAttribute (census of 2026-10-12, 305 documents). Seen in is the share of the 5 documents with a PDFAttribute that set the attribute; varies in counts those that hold a value other than the most common one. Values are listed, with the documents using each, only where documents use a small closed set. A name with a dotted underline links to the chapter that explains it. How the census counts.Evidence
- Observed
- In 5 of 305 documents (1.6%):
Spreads3,MasterSpreads1 andStories1. - Census
- Taken 2026-10-12 over 305 documents (34 written by test generators, 267 from template packs, 4 samples). It observed 281 elements; this reference gives 195 of them an entry. How the census counts
- Counts are
- Documents, not occurrences. Values are published only for small closed sets; numbers only by kind.
Paged support
What Paged, one implementation of the format, does with PDFAttribute. Nothing in this panel is part of the format; the reference above holds for any reader.
As of: scriptable paths from engine release v0.77.0; parse and write from the importer and exporter at paged b6f499b, read 2026-11-30; render from the capability record exported 2026-11-29.
- Parse
- Reads 2 of the 3 attributes
- Render
- No feature of the capability record names this element
- Edit
- 1 attribute map to a scriptable path for
paged.set - Write
- Writes 2 of the 3 attributes on IDML export
By attribute
| Attribute | Parse | Edit | Write |
|---|---|---|---|
| PageNumber | readsspread.rs:2265 | framePdfPage | writespdf_attribute.rs:50 |
| PDFCrop | readsspread.rs:2266 | — | writespdf_attribute.rs:53 |
| TransparentBackground | not read | — | not written |
Parse and write come from the idml-coverage record, which reads the importer and exporter source; each mark links to the line. Render is recorded per feature, not per attribute. A feature is listed when its title in the record names PDFAttribute.