| INativeTextLocationMessageReporter Interface |
Namespace: Sdl.FileTypeSupport.Framework.NativeApi
| Name | Description | |
|---|---|---|
| ReportMessage(Object, String, ErrorLevel, String, String) |
Used by any component to report a non-critical issue, not explicitly associated
with a content location.
(Inherited from IBasicMessageReporter.) | |
| ReportMessage(Object, String, ErrorLevel, String, NativeTextLocation, NativeTextLocation) |
Used by file writers etc. in order to report a non-critical issue with an associated content range or location expressed in line and
character offset numbers in the original native file format.
|
This interface is used by any components that want to report issues relating to the native file format, where the file format is interpreted as plain text and locations are referenced by line and offset numbers. The framework will attempt to map the locations in the bilingual content for those cases in which users should be able to navigate to the corresponding document location by clicking a message.
Native file writers must use this mechanism to associate locations with error messages, as they have no output content stream in which to insert location markers. File sniffers and pre- and post-processors are other components that may want to report issues with associated locations, but do not have access to the native content stream.