<idPkg:Graphic> / Element reference
idPkg:Graphic
The idPkg:Graphic element in IDML: where it appears (Resources/Graphic), its 2 attributes, their values, and how real documents use them.
Definition
The root of Resources/Graphic.xml, holding colours, gradients, swatches, inks and stroke styles; in the design map, its reference.
- Lives in
Resources/Graphic305 anddesignmap305- Frequency
- In 305 of the 305 documents of the census (100%), 2026-10-12
- Attributes
- 2 observed, 1 of them vary between documents
- Discussed in
- The design map and Version markers
Structure
Relationships
Inside
#root305Document305
Contains
Color305Gradient272Swatch272Ink271PastedSmoothShade271StrokeStyle271DashedStrokeStyle2ColorGroup1
idPkg:Graphic 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 | Seen in |
|---|---|---|---|
| DOMVersion# The version of InDesign's object model the part was written with, such as 20.0. | real | any | 100% varies in 125 |
| src# The path, from the package root, of the part this entry pulls in. | reference to Resources | any | 100% |
idPkg:Graphic (census of 2026-10-12, 305 documents). Seen in is the share of the 305 documents with a idPkg:Graphic 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 305 of 305 documents (100%):
Resources/Graphic305 anddesignmap305. - 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 idPkg:Graphic. 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
- Does not read this element yet
- Render
- No feature of the capability record names this element
- Edit
- No attribute maps to a scriptable path
- Write
- Writes none of its attributes on IDML export
By attribute
| Attribute | Parse | Edit | Write |
|---|---|---|---|
| DOMVersion | not read | — | not written |
| src | 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 idPkg:Graphic.