DocumentFormat.OpenXml.Features Namespace

Classes

DisposableFeatureExtensions

Extensions for using IDisposableFeature

FeatureCollection

Represents a collection of features.

FeatureExtensions

Methods to help with using IFeatureCollection.

PackageEventExtensions

Extensions to add events around lifecycle.

ParagraphIdFeatureExtensions

Extensions to add paragraph id generation to a document

ParagraphIdOptions

Options to declare how paragraph ids should be generated.

PartEventFeatureExtensions

Extensions to add events around parts.

PartRootEventExtensions

Extensions to add events around part roots.

RandomNumberGeneratorFeatureExtensions

Extensions to add a random number generator to a feature set.

SharedParagraphIdFeatureExtensions

A collection of extensions that will add support for shared IParagraphIdCollectionFeature instances among multiple documents.

Structs

FeatureEventArgs<TArg>

Holder for feature event args.

Interfaces

IDisposableFeature

Feature to track items to dispose when the containing package or part is closed.

IDocumentTypeFeature<TDocumentType>

Feature interface that defines the type of a document and allows for changing it.

IFeatureCollection

Represents a collection of features.

IFeatureEvent<TArg>

Interface for general feature eventing.

IPackageEventsFeature

A feature to track events around the package.

IParagraphIdCollectionFeature

Provides access to the paragraph id collection in a document.

IParagraphIdGeneratorFeature

A generator for paragraph id values that can ensure uniqueness if IParagraphIdCollectionFeature is registered.

IPartEventsFeature

A feature to track events around parts.

IPartExtensionFeature

A feature that defines what extensions are used for a given part content type

IPartRootEventsFeature

A feature to track events around parts.

IRaiseFeatureEvent<TArg>

Interface to raise events for IFeatureEvent<TArg>.

IRandomNumberGeneratorFeature

A feature to generate random numbers

ISharedFeature<T>

A feature to create a composite feature if shared among multiple instances.

Enums

EventType

Type of event used for change notification.