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

NameTypeAccessDescription
nameStringRead/WriteGets or sets name of the ActiveX control.
forms2OleControlbooleanReadReturns true if the control is a Forms2OleControl.

Methods

SignatureDescription
getName() → StringGets or sets name of the ActiveX control.
setName(value: String)Sets the name value.
isForms2OleControl() → booleanReturns 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.

See Also