API Reference
OdfConversionReport
Feature mapping report for one explicit conversion between OpenDocument and another Office format.
Inheritance
- Object
- OdfConversionReport
Usage
Explore 7 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 OdfConversionLossException.Report
- Method OdfConversionReport.Add
- Property OdfConversionResult.Report
Accepted by parameters 4
Constructors
public OdfConversionReport(String sourceFormat, String targetFormat) #Creates an empty conversion report.
Parameters
- sourceFormat System.String
- targetFormat System.String
Methods
public OdfConversionReport Add(String feature, OdfConversionMappingStatus status, Int32 count = 1, String? message = null) #OdfConversionReportAdds one feature-level result and returns this report.
Parameters
- feature System.String
- status OfficeIMO.OpenDocument.OdfConversionMappingStatus
- count System.Int32 = 1
- message System.String? = null
public Void ApplyPolicy(OdfConversionLossPolicy policy) #VoidApplies an explicit conversion loss policy.
Parameters
- policy OfficeIMO.OpenDocument.OdfConversionLossPolicy
public IReadOnlyList<OdfConversionMapping> ForFeature(String feature) #IReadOnlyList<OdfConversionMapping>Returns all results for one stable feature identifier.
Parameters
- feature System.String
public Void RequireNoLoss() #VoidThrows when any feature was approximated, skipped, or unsupported.
public Void RequireNoSkippedOrUnsupported() #VoidThrows when any feature was skipped or unsupported; approximations are accepted.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public IReadOnlyList<OdfConversionMapping> Mappings { get; } #Feature results in the order reported by the adapter.
public IReadOnlyList<OfficeConversionFidelityDiagnostic> FidelityDiagnostics { get; } #Category-preserving diagnostics for downstream acceptance policies.
public Boolean HasLoss { get; } #True when at least one feature was approximated, skipped, or unsupported.
public Boolean HasSkippedOrUnsupported { get; } #True when at least one feature was skipped or unsupported.