Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointDeckPreflightReport

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Source revision
e96266e685be with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • PowerPointDeckPreflightReport

Usage

Explore 4 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 HasFindingsAtOrAbove(PowerPointDeckPreflightSeverity severity) #

Returns whether any finding meets or exceeds the supplied severity.

Parameters

severity OfficeIMO.PowerPoint.PowerPointDeckPreflightSeverity required

Returns

bool
public void SaveJson(string path, bool indented = true) #

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

Parameters

path string required
indented bool = true optional
public void ThrowIfFindings(PowerPointDeckPreflightSeverity severity = Error) #

Throws when findings meet or exceed the supplied severity.

Parameters

severity OfficeIMO.PowerPoint.PowerPointDeckPreflightSeverity = Error optional
public string ToJson(bool indented = true) #

Serializes the report as dependency-free JSON.

Parameters

indented bool = true optional

Returns

string

Properties

public int SchemaVersion { get; } #

Report schema version.

public int SlideCount { get; } #

Number of inspected slides.

public IReadOnlyList<PowerPointDeckPreflightFinding> Findings { get; } #

Findings in deterministic slide and shape order.

public int ErrorCount { get; } #

Number of error findings.

public int WarningCount { get; } #

Number of warning findings.

public int InfoCount { get; } #

Number of informational findings.

public bool IsSuccessful { get; } #

Whether the report contains no errors.