API Reference

Class

PowerPointAccessibilityReport

Namespace OfficeIMO.PowerPoint
Assembly OfficeIMO.PowerPoint
Modifiers sealed

Structured accessibility inspection result for generated or imported presentations.

Inheritance

  • Object
  • PowerPointAccessibilityReport

Usage

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

Methods

public PowerPointAccessibilityReport EnsureCompliant(Boolean includeWarnings = false) #
Returns: PowerPointAccessibilityReport

Throws when the report contains errors, or warnings when requested.

Parameters

includeWarnings System.Boolean = false optionalposition: 0
public Void SaveJson(String path, Boolean indented = true) #
Returns: Void

Writes the JSON report to disk, creating the destination directory when needed.

Parameters

path System.String requiredposition: 0
indented System.Boolean = true optionalposition: 1
public String ToJson(Boolean indented = true) #
Returns: String

Serializes the report as dependency-free JSON.

Parameters

indented System.Boolean = true optionalposition: 0

Properties

public Int32 SchemaVersion { get; } #

Report schema version.

public PowerPointAccessibilityPolicyProfile Profile { get; } #

Policy profile used for inspection.

public IReadOnlyList<PowerPointAccessibilitySlideInfo> Slides { get; } #

Per-slide inspection metadata.

public IReadOnlyList<PowerPointAccessibilityFinding> Findings { get; } #

Findings in deterministic document, slide, and shape order.

public Int32 ErrorCount { get; } #

Number of error findings.

public Int32 WarningCount { get; } #

Number of warning findings.

public Boolean IsSuccessful { get; } #

Whether no policy errors were found.