| IStructureTagProperties Interface |
Namespace: Sdl.FileTypeSupport.Framework.NativeApi
The IStructureTagProperties type exposes the following members.
| Name | Description | |
|---|---|---|
| DisplayText |
A shortened version of a tag that can be used in translation editors
that implement full and abbreviated tag views. Often the GI without attributes.
(Inherited from IAbstractBasicTagProperties.) | |
| HasLocalizableContent | (Inherited from IAbstractTagProperties.) | |
| HasMetaData | True if there is any metadata in the container
(Inherited from IMetaDataContainer.) | |
| LocalizableContent |
Translatable content inside the tag, in the order in which it appears. An example of such content may
be localizable attribute values in HTML or XML.
(Inherited from IAbstractTagProperties.) | |
| MetaData |
Enumerator for the metadata key/value pairs.
(Inherited from IMetaDataContainer.) | |
| MetaDataCount |
The number of meta data key/value pairs in the container
(Inherited from IMetaDataContainer.) | |
| TagContent |
This property usually holds the whole tag with delimiters and all attributes during
the entire forward and backward conversion process.
(Inherited from IAbstractBasicTagProperties.) | |
| TagId |
Identifier for a tag.
(Inherited from IAbstractTagProperties.)Tags originating from the native parser typically have unique ids. In the bilingual content model, corresponding tags between source and target can be identified by their ids. If a tag is cloned, it will have the same id as its clone. It may therefore happen during conversion from bilingual to native format that multiple tags have the same id. In such cases the native content handler may assume that the tags have been cloned for localization purposes. |
| Name | Description | |
|---|---|---|
| AddSubSegment |
Adds localizable content as a sub-segment for this tag.
(Inherited from IAbstractTagProperties.) | |
| AddSubSegments |
Adds a collection of localizable sub-segments for this tag.
(Inherited from IAbstractTagProperties.) | |
| ClearMetaData |
Removes all key/value pairs from the meta data collection.
(Inherited from IMetaDataContainer.) | |
| ClearSubSegments |
Removes all localizable content for this tag.
(Inherited from IAbstractTagProperties.) | |
| Clone | Creates a new object that is a copy of the current instance. (Inherited from ICloneable.) | |
| GetMetaData |
Returns the metadata value associated with the specified key,
or null if no such key exists in the collection.
(Inherited from IMetaDataContainer.) | |
| MetaDataContainsKey | True if a metadata value with the specified key exists
(Inherited from IMetaDataContainer.) | |
| RemoveMetaData |
Removes the metadata key/value pair with the specified key
from the collection. No changes are made if the collection
does not contain such a key.
(Inherited from IMetaDataContainer.) | |
| RemoveSubSegment |
Removes localizable content for this tag.
(Inherited from IAbstractTagProperties.) | |
| SetMetaData | Sets the value of the specified metadata key. If the key already exists in the collection, its value gets overwritten. | |
| SortSubSegments |
Sorts the localizable sub-segments by start offset.
(Inherited from IAbstractTagProperties.) |