Table of Contents

Class CompoundFile

Namespace
DocWright.Ole
Assembly
DocWright.Ole.dll

Reads OLE Compound File Binary (CFB, [MS-CFB]) containers and exposes named streams.

public sealed class CompoundFile : IDisposable
Inheritance
CompoundFile
Implements
Inherited Members

Remarks

This is the single implementation of the container parser. It lives below every consumer on purpose: a .doc file, an ECMA-376 encrypted package and an embedded OLE payload are all CFB containers, and those three consumers live in packages that must not depend on one another. DocWright.Formats.Doc.Cfb.CompoundFile remains as the published name Phase 9 shipped and delegates here.

Properties

StreamNames

Gets the stream names in ordinal directory order.

Methods

ContainsStream(string)

Determines whether the container has a named stream.

Dispose()
Open(Stream, Stream?)

Opens a compound file over a seekable stream.

OpenStream(string)

Opens a named stream.

TryOpenStream(string, out Stream?)

Opens a named stream if present.