public final class VbaProject extends java.lang.Object implements IVbaProject
Represents VBA project with presentation macros.
Constructor and Description |
---|
VbaProject()
This constructor creates new VBA project from scratch.
|
VbaProject(byte[] data)
This constructor loads VBA project from binary representation of OLE container.
|
Modifier and Type | Method and Description |
---|---|
IVbaModuleCollection |
getModules()
Returns the list of all modules that are contained in the VBA project.
|
java.lang.String |
getName()
Returns the name of the VBA project.
|
IVbaReferenceCollection |
getReferences()
Returns the list of all references that are contained in the VBA project.
|
byte[] |
toBinary()
Returns the binary representation of the VBA project as OLE container
|
public VbaProject()
This constructor creates new VBA project from scratch. Project will be created in 1252 Windows Latin 1 (ANSI) codepage
public VbaProject(byte[] data)
This constructor loads VBA project from binary representation of OLE container.
public final java.lang.String getName()
Returns the name of the VBA project.
Read-only String
.
getName
in interface IVbaProject
public final IVbaModuleCollection getModules()
Returns the list of all modules that are contained in the VBA project.
Read-only IVbaModuleCollection
.
getModules
in interface IVbaProject
public final IVbaReferenceCollection getReferences()
Returns the list of all references that are contained in the VBA project.
Read-only IVbaReferenceCollection
.
getReferences
in interface IVbaProject
public final byte[] toBinary()
Returns the binary representation of the VBA project as OLE container
toBinary
in interface IVbaProject