API Reference
HtmlTargetCapabilityContract
Describes one built-in HTML target, its public APIs, and feature-level contract.
Inheritance
- Object
- HtmlTargetCapabilityContract
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
- Property HtmlConversionPreflight.Contract
- Method HtmlTargetCapabilityContracts.Get
- Property HtmlTargetCapabilityContracts.All
Constructors
public HtmlTargetCapabilityContract(HtmlConversionTarget target, String packageName, String artifactName, HtmlToTargetCapabilityContract htmlToTarget, TargetToHtmlCapabilityContract targetToHtml = null) #Creates a target contract from independently classified conversion routes.
Parameters
- target OfficeIMO.Html.HtmlConversionTarget
- packageName System.String
- artifactName System.String
- htmlToTarget OfficeIMO.Html.HtmlToTargetCapabilityContract
- targetToHtml OfficeIMO.Html.TargetToHtmlCapabilityContract = null
public HtmlTargetCapabilityContract(HtmlConversionTarget target, String packageName, String artifactName, String importEntryPoint, String importResultContract, String exportEntryPoint, String exportResultContract, String ioAndAsyncBoundary, IEnumerable<String> profiles, IEnumerable<HtmlSemanticFeature> supported, IEnumerable<HtmlSemanticFeature> approximated, IEnumerable<HtmlSemanticFeature> unsupported) #Obsolete("Use the constructor that accepts HtmlToTargetCapabilityContract and TargetToHtmlCapabilityContract.")Creates a compatibility target contract. New catalogs should use the directional constructor so import and reverse-export profiles and feature outcomes cannot be conflated.
Parameters
- target OfficeIMO.Html.HtmlConversionTarget
- packageName System.String
- artifactName System.String
- importEntryPoint System.String
- importResultContract System.String
- exportEntryPoint System.String
- exportResultContract System.String
- ioAndAsyncBoundary System.String
- profiles System.Collections.Generic.IEnumerable{System.String}
- supported System.Collections.Generic.IEnumerable{OfficeIMO.Html.HtmlSemanticFeature}
- approximated System.Collections.Generic.IEnumerable{OfficeIMO.Html.HtmlSemanticFeature}
- unsupported System.Collections.Generic.IEnumerable{OfficeIMO.Html.HtmlSemanticFeature}
Methods
public HtmlCapabilitySupportLevel GetSupport(HtmlSemanticFeature feature) #HtmlCapabilitySupportLevelObsolete("Use HtmlToTarget.GetSupport or TargetToHtml.GetSupport.")Compatibility alias for the HTML-to-target feature outcome.
Parameters
- feature OfficeIMO.Html.HtmlSemanticFeature
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public HtmlConversionTarget Target { get; } #Target identifier used by preflight and adapter selection.
public String PackageName { get; } #Package that owns the thin target projection.
public String ArtifactName { get; } #Native or rendered artifact produced by the target.
public HtmlToTargetCapabilityContract HtmlToTarget { get; } #HTML-to-target route, including its own profiles and feature partition.
public TargetToHtmlCapabilityContract TargetToHtml { get; } #Target-to-HTML route, or null when unavailable.
public String ImportEntryPoint { get; } #Primary public HTML import entry point.
public String ImportResultContract { get; } #Public result or evidence contract returned by the import path.
public String ExportEntryPoint { get; } #Primary reverse HTML entry point, or null when no reverse path exists.
public String ExportResultContract { get; } #Reverse conversion evidence contract, or null when unavailable.
public String IoAndAsyncBoundary { get; } #Obsolete("Use HtmlToTarget.IoAndAsyncBoundary or TargetToHtml.IoAndAsyncBoundary.")Compatibility alias for the HTML-to-target I/O boundary.
public IReadOnlyList<String> Profiles { get; } #Obsolete("Use HtmlToTarget.Profiles or TargetToHtml.Profiles.")Compatibility aggregate of import and export profile names.
public IReadOnlyList<HtmlSemanticFeature> SupportedFeatures { get; } #Obsolete("Use HtmlToTarget.SupportedFeatures or TargetToHtml.SupportedFeatures.")Compatibility alias for HTML-to-target supported features.
public IReadOnlyList<HtmlSemanticFeature> ApproximatedFeatures { get; } #Obsolete("Use HtmlToTarget.ApproximatedFeatures or TargetToHtml.ApproximatedFeatures.")Compatibility alias for HTML-to-target approximated features.
public IReadOnlyList<HtmlSemanticFeature> UnsupportedFeatures { get; } #Obsolete("Use HtmlToTarget.UnsupportedFeatures or TargetToHtml.UnsupportedFeatures.")Compatibility alias for HTML-to-target unsupported features.
public Boolean SupportsReverseHtml { get; } #Whether the target exposes a reverse artifact-to-HTML route.