WordFeatureReport
OfficeIMO.Word
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.
Returned or exposed by 5
Methods
public bool Can(WordPreflightCapability capability) #Returns whether the requested workflow capability can be attempted.
Parameters
- capability OfficeIMO.Word.WordPreflightCapability
Returns
boolpublic WordFeatureReport EnsureCan(WordPreflightCapability capability) #Throws with operation-specific diagnostics when a capability is unavailable.
Parameters
- capability OfficeIMO.Word.WordPreflightCapability
Returns
WordFeatureReportpublic WordFeatureReport EnsureNoAdvancedFeatures() #Throws when the document contains preserve-only or unsupported advanced features.
Returns
WordFeatureReportpublic WordFeatureReport EnsureNoFeatures(params string[] featureNames) #Throws when the document contains any of the named features.
Parameters
- featureNames string[]
- Feature names to reject, for example VBA macros or Digital signatures.
Returns
WordFeatureReportpublic WordFeatureReport EnsureNoFeatures(IEnumerable<string> featureNames) #Throws when the document contains any of the named features.
Parameters
- featureNames System.Collections.Generic.IEnumerable<string>
- Feature names to reject, for example VBA macros or Digital signatures.
Returns
WordFeatureReportpublic WordFeatureReport EnsureNoFeatures(params OfficeFeatureSupportLevel[] supportLevels) #Throws when the document contains any features with the provided support levels.
Parameters
- supportLevels OfficeIMO.OfficeFeatureSupportLevel[]
- Support levels to reject.
Returns
WordFeatureReportpublic WordFeatureReport EnsureNoUnsupportedFeatures() #Throws when the document contains unsupported features.
Returns
WordFeatureReportpublic IReadOnlyList<WordFeatureFinding> FindFeatures(params string[] featureNames) #Returns discovered features matching the provided feature names.
Parameters
- featureNames string[]
- 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>
- 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[]
- 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
Returns
IReadOnlyList<string>public IReadOnlyList<WordPreflightRepairHint> GetRepairHints(WordPreflightCapability capability) #Returns actionable repair or routing hints for an unavailable capability.
Parameters
- capability OfficeIMO.Word.WordPreflightCapability
Returns
IReadOnlyList<WordPreflightRepairHint>public string ToMarkdown() #Returns a compact Markdown report of discovered document features and support status.
Returns
stringInherited Methods
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.