API Reference
Class
OdfConversionReport
Feature mapping report for one explicit conversion between OpenDocument and another Office format.
Inheritance
- Object
- OdfConversionReport
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method OdfConversionReport.Add
- Property OdfConversionResult.Report
Accepted by parameters
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) #Returns:
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 IReadOnlyList<OdfConversionMapping> ForFeature(String feature) #Returns:
IReadOnlyList<OdfConversionMapping>Returns all results for one stable feature identifier.
Parameters
- feature System.String
public Void RequireNoLoss() #Returns:
VoidThrows when any feature was approximated, skipped, or unsupported.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String SourceFormat { get; } #Source format identifier.
public String TargetFormat { get; } #Target format identifier.
public IReadOnlyList<OdfConversionMapping> Mappings { get; } #Feature results in the order reported by the adapter.
public Boolean HasLoss { get; } #True when at least one feature was approximated, skipped, or unsupported.