Interface ITagPair
A pair of tags (i.e. start and end) in the bilingual content model, with the content enclosed by the tag pair
Inherited Members
Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public interface ITagPair : IAbstractTag, IAbstractDataContent, IAbstractMarkupData, ICloneable, IAbstractMarkupDataContainer, ISupportsUniqueId, IList<IAbstractMarkupData>, ICollection<IAbstractMarkupData>, IEnumerable<IAbstractMarkupData>, IEnumerable
Properties
EndTagProperties
The tag properties communicated from the native file processing components that refer to the end tag of the paired tags
Declaration
IEndTagProperties EndTagProperties { get; set; }
Property Value
Type | Description |
---|---|
IEndTagProperties |
EndTagRevisionProperties
Revision information directly associated with the end tag, or null
if none
Declaration
IRevisionProperties EndTagRevisionProperties { get; set; }
Property Value
Type | Description |
---|---|
IRevisionProperties |
IsEndTagGhost
When true, the end tag of the tag pair has ghost status.
Ghost tags occur when either the start tag or the end tag of a tag pair has been deleted. Such operations would leave the tag pair in an invalid state until either the remaining start or end tag has been removed too (provided that the entire tag pair can be deleted properly). SDL Trados Studio supports this behavior in the editor by leaving the tag pair in place until both start and end tags have been deleted. While only one tag of a pair has been deleted, the "deleted" tag is temporarily marked as a (transparent) "ghost" tag, but retains its position.
Declaration
bool IsEndTagGhost { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Under normal circumstances, tags should never have ghost status, however, we still need to support serialization of the ghost status when saving files to an intermediate bilingual format, which is why this interface had to be introduced.
IsStartTagGhost
When true, the start tag of the tag pair has ghost status.
Ghost tags occur when either the start tag or the end tag of a tag pair has been deleted. Such operations would leave the tag pair in an invalid state until either the remaining start or end tag has been removed too (provided that the entire tag pair can be deleted properly). SDL Trados Studio supports this behavior in the editor by leaving the tag pair in place until both start and end tags have been deleted. While only one tag of a pair has been deleted, the "deleted" tag is temporarily marked as a (transparent) "ghost" tag, but retains its position.
Declaration
bool IsStartTagGhost { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Under normal circumstances, tags should never have ghost status, however, we still need to support serialization of the ghost status when saving files to an intermediate bilingual format, which is why this interface had to be introduced.
StartTagProperties
The tag properties communicated by the native file processing components that refer to the start tag of the paired tags
Declaration
IStartTagProperties StartTagProperties { get; set; }
Property Value
Type | Description |
---|---|
IStartTagProperties |
StartTagRevisionProperties
Revision information that is directly associated with the start tag, or null
if none
Declaration
IRevisionProperties StartTagRevisionProperties { get; set; }
Property Value
Type | Description |
---|---|
IRevisionProperties |