Skip to content

VbaCompression v0.5.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 19 Dec 10:12
· 8 commits to main since this release

Library VbaCompression implements [MS-OVBA] Compression and Decompression algorithms used
in the Office VBA File Format structures. Office VBA project contains embedded macros and custom forms
for use in Microsoft Office documents.

Usage

Sample usage to generate Excel workbook file with macro
from the source code files Module.vb and MyClass.vb:

var content = "abcdefghijklmnopqrstuv.";
var contentBytes = Encoding.ASCII.GetBytes(content);
var compressedBytes = VbaCompression.Compress(contentBytes);
// compressedBytes = 01 19 B0 00 61 62 63 64
//                   65 66 67 68 00 69 6A 6B
//                   6C 6D 6E 6F 70 00 71 72
//                   73 74 75 76 2E

Requirements

Library works on .NET Framework 4.6.2 and 4.8, and .NET 6, 7 and 8 runtimes.

Legal

This is a fork of the Kavod.Vba.Compression library.

[MS-OVBA] Intellectual Property Rights Notice

Project icon Gold Bars is licensed from Icons8 service
under Universal Multimedia Licensing Agreement for Icons8.

See https://icons8.com/license for more information