PdfConversionReport
OfficeIMO.Pdf
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.
Returned or exposed by 6
- Property PdfBytesResult.Report
- Method PdfConversionReport.RequireNoErrorWarnings
- Method PdfConversionReport.RequireNoWarnings
- Method PdfConversionReport.Snapshot
- Property PdfDocumentConversionResult.Report
- Property PdfSaveResult.Report
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
public void AddRange(IEnumerable<PdfConversionWarning> warnings) #Adds all warnings from another report.
Parameters
- warnings System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfConversionWarning>
public PdfConversionReport RequireNoErrorWarnings() #Throws when the report contains error-severity conversion warnings; otherwise returns the current report for fluent checks.
Returns
PdfConversionReportpublic PdfConversionReport RequireNoWarnings() #Throws when the report contains any conversion warning; otherwise returns the current report for fluent checks.
Returns
PdfConversionReportpublic PdfConversionReport Snapshot() #Creates an independent, read-only snapshot of all warnings currently visible through this report.
Returns
PdfConversionReportpublic PdfConversionReportSummary Summarize() #Builds a stable count summary for proof packs, logs, wrapper routing, and user-facing diagnostics.
Returns
PdfConversionReportSummaryInherited Methods
public void ThrowIfLoss() #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.
Inherited Properties
public string Source { get; } #public string Target { get; } #public string? OutputPath { get; } #public long ItemsWritten { get; } #public TimeSpan Elapsed { get; } #public IReadOnlyList<OfficeDiagnostic> Diagnostics { get; } #