API Reference
Class
OdfConversionResult`1
Converted document together with the feature mapping evidence for that conversion.
Inheritance
- OfficeConversionResult<TDocument, OdfConversionReport>
- OdfConversionResult`1
Usage
Explore 3 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
- Method OdfConversionResult.ApplyPolicy
- Method OdgDocument.ToDrawings
- Method OdgPage.ToDrawing
Type Parameters
- TDocument
Constructors
public OdfConversionResult<TDocument>(TDocument value, OdfConversionReport report) #Creates a conversion result.
Parameters
- value TDocument
- report OfficeIMO.OpenDocument.OdfConversionReport
Methods
public OdfConversionResult<TDocument> ApplyPolicy(OdfConversionLossPolicy policy) #Returns:
OdfConversionResult<TDocument>Applies a loss policy and returns this result for fluent adapter composition. A rejected disposable conversion value is disposed before the policy exception is rethrown.
Parameters
- policy OfficeIMO.OpenDocument.OdfConversionLossPolicy
public TDocument GetValue(OdfConversionLossPolicy policy) #Returns:
TDocumentReturns the converted document after applying an explicit loss policy.
Parameters
- policy OfficeIMO.OpenDocument.OdfConversionLossPolicy
public override TDocument RequireNoLoss() #Returns:
TDocumentReturns the converted document or throws when the conversion was lossy.