Click or drag to resize
INativeTextLocationMessageReporter Interface
Message reporter specialization that allows line and offset numbers to be associated with messages to relate to locations in plain text files.

Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public interface INativeTextLocationMessageReporter : IBasicMessageReporter
Methods
  NameDescription
Public methodReportMessage(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.)
Public methodReportMessage(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.
Top
Remarks

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.

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments