com.aspose.slides
Class VbaProject

java.lang.Object
  extended by com.aspose.slides.VbaProject
All Implemented Interfaces:
IVbaProject

public final class VbaProject
extends java.lang.Object
implements IVbaProject

Represents VBA project with presentation macros.


Constructor Summary
VbaProject()
           This constructor creates new VBA project from scratch.
VbaProject(byte[] data)
           This constructor loads VBA project from binary representation of OLE container.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VbaProject

public VbaProject()

This constructor creates new VBA project from scratch. Project will be created in 1252 Windows Latin 1 (ANSI) codepage


VbaProject

public VbaProject(byte[] data)

This constructor loads VBA project from binary representation of OLE container.

Method Detail

getName

public java.lang.String getName()

Returns the name of the VBA project. Read-only String.

Specified by:
getName in interface IVbaProject

getModules

public IVbaModuleCollection getModules()

Returns the list of all modules that are contained in the VBA project. Read-only IVbaModuleCollection.

Specified by:
getModules in interface IVbaProject

getReferences

public IVbaReferenceCollection getReferences()

Returns the list of all references that are contained in the VBA project. Read-only IVbaReferenceCollection.

Specified by:
getReferences in interface IVbaProject

toBinary

public byte[] toBinary()

Returns the binary representation of the VBA project as OLE container

Specified by:
toBinary in interface IVbaProject
Returns:
Binary representation of the VBA project as OLE container


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.