Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelFeatureReport

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
c47203b3ce89 with working tree changes
Modifiers
sealed

Workbook-level feature and compatibility report.

Inheritance

  • object
  • ExcelFeatureReport

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(ExcelPreflightCapability capability) #

Returns true when the requested workflow-level capability can be attempted for this workbook.

Parameters

capability OfficeIMO.Excel.ExcelPreflightCapability required
The OfficeIMO.Excel workflow capability to check.

Returns

bool
public ExcelFeatureReport EnsureCan(ExcelPreflightCapability capability) #

Throws with workflow-specific diagnostics when the requested capability cannot be attempted for this workbook.

Parameters

capability OfficeIMO.Excel.ExcelPreflightCapability required
The OfficeIMO.Excel workflow capability that must be available.

Returns

ExcelFeatureReport The current feature report for fluent guard usage.
public ExcelFeatureReport EnsureNoAdvancedFeatures() #

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

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

Throws when the workbook contains any of the named features.

Parameters

featureNames string[] required
Feature names to reject, for example VBA macros or External workbook links.
public ExcelFeatureReport EnsureNoFeatures(IEnumerable<string> featureNames) #

Throws when the workbook contains any of the named features.

Parameters

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

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

Parameters

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

Throws when the workbook contains unsupported features.

FindFeatures 3 overloads
public IReadOnlyList<ExcelFeatureFinding> 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 External workbook links.

Returns

IReadOnlyList<ExcelFeatureFinding>
public IReadOnlyList<ExcelFeatureFinding> 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 External workbook links.

Returns

IReadOnlyList<ExcelFeatureFinding>
public IReadOnlyList<ExcelFeatureFinding> 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<ExcelFeatureFinding>
public IReadOnlyList<string> GetCapabilityDiagnostics(ExcelPreflightCapability capability) #

Returns operation-specific diagnostics explaining why a workflow-level capability is blocked, or an empty list when it can be attempted.

Parameters

capability OfficeIMO.Excel.ExcelPreflightCapability required
The OfficeIMO.Excel workflow capability to explain.

Returns

IReadOnlyList<string>
public IReadOnlyList<ExcelPreflightRepairHint> GetRepairHints(ExcelPreflightCapability capability) #

Returns actionable repair or routing hints for a blocked preflight capability.

Parameters

capability OfficeIMO.Excel.ExcelPreflightCapability required
Capability to explain.

Returns

IReadOnlyList<ExcelPreflightRepairHint>
public string ToMarkdown() #

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

Returns

string

Properties

public IReadOnlyList<ExcelFeatureFinding> Features { get; } #

Features discovered in the workbook.

public IReadOnlyList<ExcelFeatureFinding> EditableFeatures { get; } #

Features OfficeIMO can author or edit directly.

public IReadOnlyList<ExcelFeatureFinding> PartiallyEditableFeatures { get; } #

Features OfficeIMO can partly author or edit.

public IReadOnlyList<ExcelFeatureFinding> PreservedFeatures { get; } #

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

public IReadOnlyList<ExcelFeatureFinding> UnsupportedFeatures { get; } #

Features OfficeIMO does not meaningfully support yet.

public bool HasAdvancedFeatures { get; } #

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

public bool CanReadWorkbookData { get; } #

True when OfficeIMO can attempt read-oriented workbook data operations.

public bool CanEditCellValues { get; } #

True when OfficeIMO can attempt cell-value edits without known unsupported package features.

public bool CanEditWorkbookStructure { get; } #

True when OfficeIMO can attempt structure-changing workbook edits without preserve-only or unsupported feature blockers.

public bool CanUseCachedFormulaValues { get; } #

True when cached formula values can be trusted for read/export workflows.

public bool CanCalculateFormulas { get; } #

True when OfficeIMO's lightweight evaluator can calculate all discovered formulas without known dependency issues.

public bool CanBindTemplate { get; } #

True when template binding can be attempted without preserve-only or unsupported advanced package features.

public bool CanExportPdfReport { get; } #

True when the workbook is suitable for the first-party report-grade Excel-to-PDF export path.