Class TMXStartOfInputEvent
Represents the StartOfInputEvent in a TMX file.
Inherited Members
Namespace: SdlSdl.LanguagePlatformIOTMX
Assembly: Sdl.LanguagePlatform.IO.dll
Syntax
public class TMXStartOfInputEvent : StartOfInputEvent
Constructors
TMXStartOfInputEvent()
Declaration
public TMXStartOfInputEvent()
TMXStartOfInputEvent(string, header, TranslationUnitFormat)
Initializes a new instance of the TMXStartOfInputEvent with the specified file name, header and flavor.
Declaration
public TMXStartOfInputEvent(string fileName, header hdr, TranslationUnitFormat flavor)
Parameters
Type | Name | Description |
---|---|---|
string | fileName | The file name. |
header | hdr | The TMX header as generated from the TMX 1.4 XSD. |
TranslationUnitFormat | flavor | The TMX flavor. |
Properties
BuiltinRecognizers
Gets or sets special tokenization recognizers which are set up for the TM (template), if present.
Declaration
public BuiltinRecognizers BuiltinRecognizers { get; set; }
Property Value
Type | Description |
---|---|
BuiltinRecognizers |
Fields
Gets or sets the field definitions of the TM in the TMX file, if present.
Declaration
public FieldDefinitions Fields { get; set; }
Property Value
Type | Description |
---|---|
FieldDefinitions |
Header
Gets the TMX header.
Declaration
public header Header { get; }
Property Value
Type | Description |
---|---|
header |
IncludesContextContent
Gets or sets a flag indicating whether the TM (template) can include context content
Declaration
public bool IncludesContextContent { get; set; }
Property Value
Type | Description |
---|---|
bool |
TMName
Gets or sets the TM Name, if present in the header.
Declaration
public string TMName { get; set; }
Property Value
Type | Description |
---|---|
string |
TextContextMatchType
Gets or sets the TextContextMatchType the TM (template) uses
Declaration
public TextContextMatchType TextContextMatchType { get; set; }
Property Value
Type | Description |
---|---|
TextContextMatchType |
TokenizerFlags
Gets or sets tokenization settings which are set up for the TM (template), if present.
Declaration
public TokenizerFlags TokenizerFlags { get; set; }
Property Value
Type | Description |
---|---|
TokenizerFlags |
UsesIdContextMatch
Gets or sets a flag indicating whether the TM (template) uses IdContextMatch
Declaration
public bool UsesIdContextMatch { get; set; }
Property Value
Type | Description |
---|---|
bool |
WordCountFlags
Gets or sets word count settings which are set up for the TM (template), if present.
Declaration
public WordCountFlags WordCountFlags { get; set; }
Property Value
Type | Description |
---|---|
WordCountFlags |