| ISourceAndTargetFileRefreshablePreview Interface |
Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
The ISourceAndTargetFileRefreshablePreview type exposes the following members.
| Name | Description | |
|---|---|---|
| Control |
The actual Windows Forms control for the preview display
(Inherited from IAbstractPreviewControl.) | |
| PreferredHighlightColor |
Set by the host application to indicate the preferred color
to be used for highlighting the current segment in the preview
when NavigateToSegment(SegmentReference) is called.
(Inherited from INavigablePreview.) | |
| RefreshPreview |
RefreshPreview should be set to true in the controller if a full preview regeneration is needed
| |
| SourcePreviewFile |
Full path to the source language file. This should be set by the
application before the first call to Launch or Refresh.
(Inherited from ISourceAndTargetFilePreviewController.) | |
| TargetFilePath |
Full path to the target language file that is overwritten when
the preview is refreshed. This path is typically set once and stays unchanged during
the lifetime of the preview.
(Inherited from IPreviewUpdatedViaRefresh.) | |
| TargetPreviewFile |
Full path to the target language file, which should be set by the
application before the first call to Launch or Refresh.
(Inherited from ISourceAndTargetFilePreviewController.) |
| Name | Description | |
|---|---|---|
| AfterFileRefresh |
Called by the host application after the preview file has been successfully
overwritten.
(Inherited from IPreviewUpdatedViaRefresh.) | |
| BeforeFileRefresh |
Called by the host application when the preview is about to be updated,
before the file at TargetFilePath is overwritten.
(Inherited from IPreviewUpdatedViaRefresh.) | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| NavigateToSegment |
Called by the host application to request that
the preview should scroll to the specified segment.
(Inherited from INavigablePreview.) | |
| Refresh |
Called when a document preview first needs to be been displayed and
subsequently each time the document preview needs to be been updated.
(Inherited from IAbstractPreviewControl.) |
| Name | Description | |
|---|---|---|
| SegmentSelected |
Raised when the user interacts with the preview, selecting
a different segment than the one that is currently highlighted.
(Inherited from INavigablePreview.) |