VbaModuleType
Overview
VbaModuleType is an enum in Aspose.Words FOSS for Java.
Specifies the type of a model in a VBA project.
Edition status of its 9 listed members (a property and its accessor methods are listed separately, overloads once): 9 not yet exercised by a verified example.
This enum declares 4 methods for VbaModuleType objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
DOCUMENT_MODULE | A type of VBA project item that specifies a module for embedded macros and programmatic access operations that are associated with a document. |
PROCEDURAL_MODULE | A collection of subroutines and functions. |
CLASS_MODULE | A module that contains the definition for a new object. |
DESIGNER_MODULE | A VBA module that extends the methods and properties of an ActiveX control that has been registered with the project. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of VbaModuleType values. |
Methods
| Signature | Description |
|---|---|
getName(vbaModuleType: int) → String | Returns JAVA_STYLE string representation of integer VbaModuleType value. |
toString(vbaModuleType: int) → String | Returns DotNetStyle string representation of integer VbaModuleType value. |
fromName(vbaModuleTypeName: String) → int | Returns integer representation by VbaModuleType name. |
getValues() → int[] | Returns array of VbaModuleType values. |