Class
RtfConversionReport
OfficeIMO.Rtf
Shared fidelity and policy report used by every RTF conversion adapter.
Inheritance
- OfficeConversionReport
- RtfConversionReport
Usage
Explore 6 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 3
- Property RtfConversionLossException.Report
- Property RtfConversionResult<T>.Report
- Property RtfDocumentMergeResult.Report
Accepted by parameters 3
- Constructor RtfConversionLossException.RtfConversionLossException
- Method RtfConversionReport.Merge
- Constructor RtfConversionResult<T>.RtfConversionResult
Constructors
public RtfConversionReport() #Methods
Add 2 overloads
public RtfConversionDiagnostic Add(RtfConversionSeverity severity, string code, string message, RtfConversionAction action, string? sourcePath = null, string? feature = null, int count = 1, string? detail = null) #Adds a conversion diagnostic.
Parameters
- severity OfficeIMO.Rtf.RtfConversionSeverity
- code string
- message string
- action OfficeIMO.Rtf.RtfConversionAction
- sourcePath string? = null
- feature string? = null
- count int = 1
- detail string? = null
Returns
RtfConversionDiagnosticpublic void Add(RtfConversionDiagnostic diagnostic) #Adds an existing conversion diagnostic.
Parameters
- diagnostic OfficeIMO.Rtf.RtfConversionDiagnostic
public void AddReadDiagnostics(IEnumerable<RtfDiagnostic>? diagnostics, string? sourcePath = null) #Maps parser and binder diagnostics into the shared report.
Parameters
- diagnostics System.Collections.Generic.IEnumerable<OfficeIMO.Rtf.Diagnostics.RtfDiagnostic>?
- sourcePath string? = null
public void Merge(RtfConversionReport? report) #Adds diagnostics from another report.
Parameters
- report OfficeIMO.Rtf.RtfConversionReport?
Inherited Methods
public void ThrowIfLoss() #Inherited from OfficeConversionReport
Properties
Inherited Properties
public string Source { get; } #Inherited from OfficeConversionReport
public string Target { get; } #Inherited from OfficeConversionReport
public string? OutputPath { get; } #Inherited from OfficeConversionReport
public long ItemsWritten { get; } #Inherited from OfficeConversionReport
public TimeSpan Elapsed { get; } #Inherited from OfficeConversionReport
public IReadOnlyList<OfficeDiagnostic> Diagnostics { get; } #Inherited from OfficeConversionReport