Click or drag to resize
IEndTagProperties Interface
Properties for the end tag that matches a corresponding start tag.

Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public interface IEndTagProperties : IAbstractBasicTagProperties, 
	IMetaDataContainer, ICloneable, IAbstractInlineTagProperties

The IEndTagProperties type exposes the following members.

Properties
  NameDescription
Public propertyCanHide
Indicates whether the tag is allowed to be hidden during editing operations.
(Inherited from IAbstractInlineTagProperties.)
Public propertyDisplayText
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.)
Public propertyHasMetaData
True if there is any metadata in the container
(Inherited from IMetaDataContainer.)
Public propertyIsSoftBreak
Indicates whether it is valid to break the line in front of this tag during word wrap.
(Inherited from IAbstractInlineTagProperties.)
Public propertyCode exampleIsWordStop
Determines whether the tag is considered to be a new word during segmentation. It also affects the way that the caret moves when using word movement keyboard actions such as CTRL+LEFT ARROW and CTRL+RIGHT ARROW in editors.
(Inherited from IAbstractInlineTagProperties.)
Public propertyMetaData
Enumerator for the metadata key/value pairs.
(Inherited from IMetaDataContainer.)
Public propertyMetaDataCount
The number of meta data key/value pairs in the container
(Inherited from IMetaDataContainer.)
Public propertyTagContent
This property usually holds the whole tag with delimiters and all attributes during the entire forward and backward conversion process.
(Inherited from IAbstractBasicTagProperties.)
Top
Methods
  NameDescription
Public methodClearMetaData
Removes all key/value pairs from the meta data collection.
(Inherited from IMetaDataContainer.)
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from ICloneable.)
Public methodGetMetaData
Returns the metadata value associated with the specified key, or null if no such key exists in the collection.
(Inherited from IMetaDataContainer.)
Public methodMetaDataContainsKey
True if a metadata value with the specified key exists
(Inherited from IMetaDataContainer.)
Public methodRemoveMetaData
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.)
Public methodSetMetaData

Sets the value of the specified metadata key.

If the key already exists in the collection, its value gets overwritten.

(Inherited from IMetaDataContainer.)
Top
Remarks

Since it is always clear which start tag an end tag matches (due to the XML-well-formedness requirement imposed by the API) there is no need for an end tag to have an id.

End tags may not contain translatable content either, and cannot have formatting associated with them.

By default,start and end tag properties have IsWordStop set to false, as paired tags normally represent formatting or similar information, which should not affect the word boundaries in the text.

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments