Interface: ShapeHost
The part-level surface a Shape resolves against.
Properties
opc
readonlyopc:OpcPackage
The package the host belongs to, for reaching a referenced part (image, chart, …).
part
readonlypart:Part
The OPC part holding the shape tree (p:sld / p:sldLayout / p:sldMaster).
partName
readonlypartName:string
Partname of part.
relationships
readonlyrelationships:Relationships
part's relationships: image embeds, hyperlinks, chart references.
Methods
shapeByIdDeep()
shapeByIdDeep(
id):AnyShape|undefined
The shape anywhere in this host's tree with the given drawing id, or undefined (always, for null).
Parameters
| Parameter | Type |
|---|---|
id | number | null |
Returns
AnyShape | undefined
themeContext()
themeContext():
ThemeContext
The host's resolved colour/font context, backing every resolved* getter.