Skip to content

API reference / Common / Engine types / TextEmbeddedObjectBinding

Type Alias: TextEmbeddedObjectBinding ​

ts
type TextEmbeddedObjectBinding = 
  | {
  embed: TextOleObject;
}
  | {
  link: {
     object: TextOleObject;
     updateMode: TextOleUpdateMode | null;
     lockedField: boolean;
  };
}
  | {
  control: TextActiveXControl;
};

What a [TextEmbeddedObject]'s presentation stands in for.

Word writes the OLE binding as an o:OLEObject in the VML namespace rather than as the w:objectEmbed / w:objectLink the wordprocessing schema defines; both spell the same attributes and both land here, distinguished by @Type.