API Reference

Class

PowerPointDeckPreflightReport

Namespace OfficeIMO.PowerPoint
Assembly OfficeIMO.PowerPoint
Modifiers sealed

Deterministic deck preflight result shared by code, designer, and markup workflows.

Inheritance

  • Object
  • PowerPointDeckPreflightReport

Usage

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

Methods

public Boolean HasFindingsAtOrAbove(PowerPointDeckPreflightSeverity severity) #
Returns: Boolean

Returns whether any finding meets or exceeds the supplied severity.

Parameters

severity OfficeIMO.PowerPoint.PowerPointDeckPreflightSeverity requiredposition: 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 Void ThrowIfFindings(PowerPointDeckPreflightSeverity severity = Error) #
Returns: Void

Throws when findings meet or exceed the supplied severity.

Parameters

severity OfficeIMO.PowerPoint.PowerPointDeckPreflightSeverity = Error optionalposition: 0
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 Int32 SlideCount { get; } #

Number of inspected slides.

public IReadOnlyList<PowerPointDeckPreflightFinding> Findings { get; } #

Findings in deterministic slide and shape order.

public Int32 ErrorCount { get; } #

Number of error findings.

public Int32 WarningCount { get; } #

Number of warning findings.

public Int32 InfoCount { get; } #

Number of informational findings.

public Boolean IsSuccessful { get; } #

Whether the report contains no errors.