Interface IDocumentProperties
Properties that are common to all files in a bilingual document
Inherited Members
Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public interface IDocumentProperties : ICloneable
Properties
LastOpenedAsPath
(optional) Full path to a file from which the document was last opened
Declaration
string LastOpenedAsPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This property is meant to be available as a hint. It is not guaranteed to be kept up-to-date, and it may be empty.
LastSavedAsPath
(optional) Full path to a file the document was last saved as
Declaration
string LastSavedAsPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This property is meant to be available as a hint. It is not guaranteed to be kept up-to-date, and it may be empty.
Repetitions
Table of segments with the same source language content that occur more than one time in the document
Declaration
IRepetitionsTable Repetitions { get; set; }
Property Value
Type | Description |
---|---|
IRepetitionsTable |
Remarks
This property is not set by the framework itself. It is up to implementations to initialize and use it as appropriate.
SourceCount
Total word/character count for the source language content of this document (if set)
Declaration
SourceCount SourceCount { get; set; }
Property Value
Type | Description |
---|---|
SourceCount |
SourceLanguage
The source language used by any files in this document. All files in a document must use the same source language.
Declaration
Language SourceLanguage { get; set; }
Property Value
Type | Description |
---|---|
Language |
TargetLanguage
The target language (if any) used by files in this document. All files in a document must use the same target language, however, for files that have not yet been localized the target language may not yet apply.
Declaration
Language TargetLanguage { get; set; }
Property Value
Type | Description |
---|---|
Language |