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

NameTypeAccessDescription
nameStringRead/WriteGets or sets VBA project name.
modulesVbaModuleCollectionReadReturns collection of VBA project modules.
codePageintRead/WriteGets or sets the VBA project’s code page.
signedbooleanReadShows whether the VbaProject is signed or not.
protectedbooleanReadShows whether the VbaProject is password protected.
referencesVbaReferenceCollectionReadGets a collection of VBA project references.

Methods

SignatureDescription
VbaProject()Creates a blank VbaProject.
getName() → StringGets or sets VBA project name.
setName(value: String)Sets the name value.
getModules() → VbaModuleCollectionReturns collection of VBA project modules.
getCodePage() → intGets or sets the VBA project’s code page.
setCodePage(value: int)Sets the code page value.
deepClone() → VbaProjectPerforms a copy of the VbaProject.
isSigned() → booleanShows whether the VbaProject is signed or not.
isProtected() → booleanShows whether the VbaProject is password protected.
getReferences() → VbaReferenceCollectionGets a collection of VBA project references.

See Also