Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfConversionReport

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Base
OfficeConversionReport
Modifiers
sealed

Collects shared PDF conversion warnings from one adapter run.

Inheritance

  • OfficeConversionReport
  • PdfConversionReport

Usage

Explore 10 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.

Accepted by parameters 4

Constructors

public PdfConversionReport() #

Creates an empty mutable report for one in-progress converter operation.

Methods

public void Add(PdfConversionWarning warning) #

Adds one warning to the report.

Parameters

warning OfficeIMO.Pdf.PdfConversionWarning required
public void AddRange(IEnumerable<PdfConversionWarning> warnings) #

Adds all warnings from another report.

Parameters

warnings System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfConversionWarning> required
public void Clear() #

Clears warnings from a previous conversion run.

public PdfConversionReport RequireNoErrorWarnings() #

Throws when the report contains error-severity conversion warnings; otherwise returns the current report for fluent checks.

public PdfConversionReport RequireNoWarnings() #

Throws when the report contains any conversion warning; otherwise returns the current report for fluent checks.

public PdfConversionReport Snapshot() #

Creates an independent, read-only snapshot of all warnings currently visible through this report.

public PdfConversionReportSummary Summarize() #

Builds a stable count summary for proof packs, logs, wrapper routing, and user-facing diagnostics.

Properties

public bool IsReadOnly { get; } #

True when this report is a frozen result snapshot and can no longer be modified.

public IReadOnlyList<PdfConversionWarning> Warnings { get; } #

Warnings recorded by the converter in production order.

public bool HasWarnings { get; } #

True when at least one warning was recorded.

public bool HasErrors { get; } #

True when at least one error-severity warning was recorded.

public override bool HasLoss { get; } #

True when conversion reported an approximation, omission, failure, or unassessed fidelity.

public PdfConversionFidelityStatus FidelityStatus { get; } #

High-level fidelity outcome derived from the structured warnings. Declared font-family and bounded typography substitutions are distinguished from other lossy or unsupported behavior.