Class TMXWriterSettings
Inheritance
System.Object
TMXWriterSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.IO.TMX
Assembly: Sdl.LanguagePlatform.IO.dll
Syntax
public class TMXWriterSettings
Constructors
TMXWriterSettings()
Declaration
public TMXWriterSettings()
TMXWriterSettings(Encoding)
Declaration
public TMXWriterSettings(Encoding encoding)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Encoding | encoding |
Properties
Encoding
Declaration
public Encoding Encoding { get; }
Property Value
Type | Description |
---|---|
System.Text.Encoding |
PlainText
Declaration
public bool PlainText { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ReplaceInvalidCharacters
Gets or sets a flag whether to replace characters < \u0020 with '*'. Usually these are emitted as numeric character reference entities. However, some XML parsers (such as Java's) throw errors on such characters.
Declaration
public bool ReplaceInvalidCharacters { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ReplacementCharacter
Gets or sets the character to replace invalid characters with - if \0, invalid characters will be deleted. Only relevant if _ReplaceInvalidCharacters is true. Defaults to \0. Obviously should not be set to an invalid XML character :)
Declaration
public char ReplacementCharacter { get; set; }
Property Value
Type | Description |
---|---|
System.Char |
TargetFormat
Declaration
public TranslationUnitFormat TargetFormat { get; set; }
Property Value
Type | Description |
---|---|
TranslationUnitFormat |