C# Класс OfficeOpenXml.VBA.ExcelVbaProject

Represents the VBA project part of the package
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Create void
CreateDirStream byte[]
CreateProjectStream byte[]
CreateProjectwmStream byte[]
CreateVBAProjectStream byte[]
Decrypt byte[]
Encrypt string
ExcelVbaProject System
GetByte byte[]
GetDocumentAttributes ExcelVbaModuleAttributesCollection
GetProject void
GetString string
GetString string
GetString string
GetUnicodeString string
ReadDirStream void
ReadModules void
ReadProjectProperties void
Save void
Validate bool
WriteControlReference void
WriteModuleRecord void
WriteNameReference void
WriteOrginalReference void
WritePassword string
WriteProjectReference void
WriteProtectionStat string
WriteRegisteredReference void
WriteVisibilityState string

Открытые методы

Метод Описание
Remove ( ) : void

Remove the project from the package

ToString ( ) : string

Приватные методы

Метод Описание
Create ( ) : void

Create a new VBA Project

CreateDirStream ( ) : byte[]

MS-OVBA 2.3.4.1

CreateProjectStream ( ) : byte[]
CreateProjectwmStream ( ) : byte[]
CreateVBAProjectStream ( ) : byte[]

MS-OVBA 2.3.4.1

Decrypt ( string value ) : byte[]
Encrypt ( byte value ) : string

2.4.3.2 Encryption

ExcelVbaProject ( ExcelWorkbook wb ) : System
GetByte ( string value ) : byte[]
GetDocumentAttributes ( string name, string clsid ) : ExcelVbaModuleAttributesCollection
GetProject ( ) : void
GetString ( BinaryReader br, uint size ) : string
GetString ( BinaryReader br, uint size, Encoding enc ) : string
GetString ( byte value, int max ) : string
GetUnicodeString ( BinaryReader br, uint size ) : string
ReadDirStream ( ) : void
ReadModules ( ) : void
ReadProjectProperties ( ) : void
Save ( ) : void
Validate ( ) : bool
WriteControlReference ( BinaryWriter bw, ExcelVbaReference reference ) : void
WriteModuleRecord ( BinaryWriter bw, ExcelVBAModule module ) : void
WriteNameReference ( BinaryWriter bw, ExcelVbaReference reference ) : void
WriteOrginalReference ( BinaryWriter bw, ExcelVbaReference reference ) : void
WritePassword ( ) : string
WriteProjectReference ( BinaryWriter bw, ExcelVbaReference reference ) : void
WriteProtectionStat ( ) : string
WriteRegisteredReference ( BinaryWriter bw, ExcelVbaReference reference ) : void
WriteVisibilityState ( ) : string

Описание методов

Remove() публичный Метод

Remove the project from the package
public Remove ( ) : void
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string