com.aspose.cells
Class VbaProject

java.lang.Object
    extended by com.aspose.cells.VbaProject

public class VbaProject 
extends java.lang.Object

Represents the VBA project.

Property Getters/Setters Summary
booleangetIslockedForViewing()
           Inidicates whether this VBA project is locked for viewing.
booleanisProtected()
           Inidicates whether this VBA project is protected.
booleanisSigned()
           Indicates whether VBAcode is signed or not.
VbaModuleCollectiongetModules()
           Gets all VbaModule objects.
java.lang.StringgetName()
voidsetName(java.lang.String value)
           Gets and sets the name of the VBA project.
VbaProjectReferenceCollectiongetReferences()
           Gets all references of VBA project.
 
Method Summary
voidprotect(boolean islockedForViewing, java.lang.String password)
           Protects or unprotects this VBA project.
 

Property Getters/Setters Detail

getName/setName

public java.lang.String getName() / public void setName(java.lang.String value)
Gets and sets the name of the VBA project.

isSigned

public boolean isSigned()
Indicates whether VBAcode is signed or not.

isProtected

public boolean isProtected()
Inidicates whether this VBA project is protected.

getIslockedForViewing

public boolean getIslockedForViewing()
Inidicates whether this VBA project is locked for viewing.

getModules

public VbaModuleCollection getModules()
Gets all VbaModule objects.

getReferences

public VbaProjectReferenceCollection getReferences()
Gets all references of VBA project.

Method Detail

protect

public void protect(boolean islockedForViewing, java.lang.String password)
Protects or unprotects this VBA project. If islockedForViewing is true, the password could not be null.
Parameters:
islockedForViewing - indicates whether locks project for viewing.
password - If the value is null, unprotects this VBA project, otherwise projects the this VBA project.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.