Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordFeatureReport

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
273d35d5ba8a with working tree changes
Modifiers
sealed

Document-level feature and compatibility report.

Inheritance

  • object
  • WordFeatureReport

Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public bool Can(WordPreflightCapability capability) #

Returns whether the requested workflow capability can be attempted.

Parameters

capability OfficeIMO.Word.WordPreflightCapability required

Returns

bool
public WordFeatureReport EnsureCan(WordPreflightCapability capability) #

Throws with operation-specific diagnostics when a capability is unavailable.

Parameters

capability OfficeIMO.Word.WordPreflightCapability required
public WordFeatureReport EnsureNoAdvancedFeatures() #

Throws when the document contains preserve-only or unsupported advanced features.

EnsureNoFeatures 3 overloads
public WordFeatureReport EnsureNoFeatures(params string[] featureNames) #

Throws when the document contains any of the named features.

Parameters

featureNames string[] required
Feature names to reject, for example VBA macros or Digital signatures.
public WordFeatureReport EnsureNoFeatures(IEnumerable<string> featureNames) #

Throws when the document contains any of the named features.

Parameters

featureNames System.Collections.Generic.IEnumerable<string> required
Feature names to reject, for example VBA macros or Digital signatures.
public WordFeatureReport EnsureNoFeatures(params OfficeFeatureSupportLevel[] supportLevels) #

Throws when the document contains any features with the provided support levels.

Parameters

supportLevels OfficeIMO.OfficeFeatureSupportLevel[] required
Support levels to reject.
public WordFeatureReport EnsureNoUnsupportedFeatures() #

Throws when the document contains unsupported features.

FindFeatures 3 overloads
public IReadOnlyList<WordFeatureFinding> FindFeatures(params string[] featureNames) #

Returns discovered features matching the provided feature names.

Parameters

featureNames string[] required
Feature names to match, for example VBA macros or Digital signatures.

Returns

IReadOnlyList<WordFeatureFinding>
public IReadOnlyList<WordFeatureFinding> FindFeatures(IEnumerable<string> featureNames) #

Returns discovered features matching the provided feature names.

Parameters

featureNames System.Collections.Generic.IEnumerable<string> required
Feature names to match, for example VBA macros or Digital signatures.

Returns

IReadOnlyList<WordFeatureFinding>
public IReadOnlyList<WordFeatureFinding> FindFeatures(params OfficeFeatureSupportLevel[] supportLevels) #

Returns discovered features with one of the provided support levels.

Parameters

supportLevels OfficeIMO.OfficeFeatureSupportLevel[] required
Support levels to match.

Returns

IReadOnlyList<WordFeatureFinding>
public IReadOnlyList<string> GetCapabilityDiagnostics(WordPreflightCapability capability) #

Explains why a workflow capability is unavailable.

Parameters

capability OfficeIMO.Word.WordPreflightCapability required

Returns

IReadOnlyList<string>
public IReadOnlyList<WordPreflightRepairHint> GetRepairHints(WordPreflightCapability capability) #

Returns actionable repair or routing hints for an unavailable capability.

Parameters

capability OfficeIMO.Word.WordPreflightCapability required

Returns

IReadOnlyList<WordPreflightRepairHint>
public string ToMarkdown() #

Returns a compact Markdown report of discovered document features and support status.

Returns

string

Properties

public IReadOnlyList<WordFeatureFinding> Features { get; } #

Features discovered in the document.

public IReadOnlyList<WordFeatureFinding> EditableFeatures { get; } #

Features OfficeIMO can author or edit directly.

public IReadOnlyList<WordFeatureFinding> PartiallyEditableFeatures { get; } #

Features OfficeIMO can partly author or edit.

public IReadOnlyList<WordFeatureFinding> PreservedFeatures { get; } #

Advanced features OfficeIMO should preserve but cannot fully author or edit yet.

public IReadOnlyList<WordFeatureFinding> UnsupportedFeatures { get; } #

Features OfficeIMO does not meaningfully support yet.

public bool HasAdvancedFeatures { get; } #

Whether the document contains non-editable advanced features that should be checked before edit-heavy round trips.

public bool CanReadDocumentContent { get; } #

True when core document content can be read despite non-content package metadata.

public bool CanEditDocumentContent { get; } #

True when ordinary content edits have no known unsupported package blocker.

public bool CanEditDocumentStructure { get; } #

True when structure-changing edits have no preserve-only or unsupported blocker.

public bool CanBindTemplate { get; } #

True when template binding has no preserve-only or unsupported blocker.

public bool CanRenderFixedLayout { get; } #

True when no discovered feature is known to require external materialization or exact unsupported layout.

public bool CanSavePackageRoundTrip { get; } #

True when saving is not known to invalidate an unsupported package contract.