API reference / Common / Engine types / TextCustomXmlSpan
Interface: TextCustomXmlSpan
A span-level custom XML element (docx w:customXml, CT_CustomXmlRun) — the same construct as TextCustomXmlBlock at the level below, wrapping spans rather than blocks.
Its extent rides a mark over the characters its spans realize, as TextControlSpan's does and for the same reasons, and must lie inside a single paragraph.
Placeholder — the level is modelled, but nothing imports, exports or lays one out yet.
Properties
| Property | Description |
|---|---|
customXmlCustomXml | w:customXml's uri / element and w:customXmlPr — what the element is. The same type the other levels carry, because the schema's is. |
spans?TextSpan[] | The spans it wraps (EG_PContent), in the parent paragraph's offset space. Never empty: a mark cannot hold an empty range. |