VbaProject
Overview
VbaProject is a class in Aspose.Words FOSS for Java.
Inherits from: Cloneable.
Provides access to VBA project information.
Edition status of its 16 listed members (a property and its accessor methods are listed separately, overloads once): 16 not yet exercised by a verified example.
This class declares 10 methods for VbaProject objects in Java programs.
Available methods include: VbaProject, deepClone, getCodePage, getModules, getName, getReferences, isProtected, isSigned, setCodePage, setName.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: codePage, modules, name, protected, references, signed.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read/Write | Gets or sets VBA project name. |
modules | VbaModuleCollection | Read | Returns collection of VBA project modules. |
codePage | int | Read/Write | Gets or sets the VBA project’s code page. |
signed | boolean | Read | Shows whether the VbaProject is signed or not. |
protected | boolean | Read | Shows whether the VbaProject is password protected. |
references | VbaReferenceCollection | Read | Gets a collection of VBA project references. |
Methods
| Signature | Description |
|---|---|
VbaProject() | Creates a blank VbaProject. |
getName() → String | Gets or sets VBA project name. |
setName(value: String) | Sets the name value. |
getModules() → VbaModuleCollection | Returns collection of VBA project modules. |
getCodePage() → int | Gets or sets the VBA project’s code page. |
setCodePage(value: int) | Sets the code page value. |
deepClone() → VbaProject | Performs a copy of the VbaProject. |
isSigned() → boolean | Shows whether the VbaProject is signed or not. |
isProtected() → boolean | Shows whether the VbaProject is password protected. |
getReferences() → VbaReferenceCollection | Gets a collection of VBA project references. |