OleControl
Overview
OleControl is a class in Aspose.Words FOSS for Java.
Inherits from: IEmbeddedObject.
Represents OLE ActiveX control.
Edition status of its 6 listed members (a property and its accessor methods are listed separately, overloads once): 6 not yet exercised by a verified example.
This class declares 4 methods for OleControl objects in Java programs.
Available methods include: getName, isForms2OleControl, saveForUser, setName.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: forms2OleControl, name.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read/Write | Gets or sets name of the ActiveX control. |
forms2OleControl | boolean | Read | Returns true if the control is a Forms2OleControl. |
Methods
| Signature | Description |
|---|---|
getName() → String | Gets or sets name of the ActiveX control. |
setName(value: String) | Sets the name value. |
isForms2OleControl() → boolean | Returns true if the control is a Forms2OleControl. |
saveForUser(stream: Stream, attrSource: IShapeAttrSource) | Saves the embedded object data in a way that makes it a valid standalone file. |