Click or drag to resize
IStructureTag Interface
Tag that represents structural information, and that appears inside a IParagraphUnit with IsStructure set to true.

Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public interface IStructureTag : IAbstractTag, 
	IAbstractDataContent, IAbstractMarkupData, ICloneable

The IStructureTag type exposes the following members.

Properties
  NameDescription
Public propertyHasSubSegmentReferences
True if there is one or more SubSegments for the tag.
(Inherited from IAbstractTag.)
Public propertyIndexInParent
The index of this item in its parent container (if any).
(Inherited from IAbstractMarkupData.)
Public propertyParent
When this item is inside a markup data container, this property provides access to the parent container.
(Inherited from IAbstractMarkupData.)
Public propertyParentParagraph
Convenient accessor to the source or target paragraph container that the item appears in.
(Inherited from IAbstractMarkupData.)
Public propertyProperties
Information on the structure tag
Public propertySubSegments
Information on any localizable content inside this tag
(Inherited from IAbstractTag.)
Public propertyTagProperties
Common properties of tag information as determined by the native file type processors
(Inherited from IAbstractTag.)
Top
Methods
  NameDescription
Public methodCode exampleAcceptVisitor
Part of the visitor pattern implementation for markup data. This method is overridden in each leaf implementation. The implementation should call the Visit... method on the visitor corresponding to their object type, passing themselves (i.e. this) as the parameter. Objects that contain other objects (e.g. implementations of ISegment or IOtherMarker) should NOT apply the visitor to their content items. It must be left to the visitor implementation to 'decide' whether the visitor 'wants' to visit the sub-items of a node.
(Inherited from IAbstractMarkupData.)
Public methodAddSubSegmentReference
Appends a sub-segment reference to the list of sub-segments.
(Inherited from IAbstractTag.)
Public methodAddSubSegmentReferences
Appends a set of sub-segment references.
(Inherited from IAbstractTag.)
Public methodClearSubSegmentReferences
Removes all sub-segment references from the tag.
(Inherited from IAbstractTag.)
Public methodRemoveFromParent
Removes this node from its parent container (if any).
(Inherited from IAbstractMarkupData.)
Public methodRemoveSubSegmentReference
Removes the specified sub-segment reference.
(Inherited from IAbstractTag.)
Top
Remarks

If the tag has localizable content, that content is exposed for translation inside separate, localizable paragraph units, which are referenced via the SubSegments collection.

See Also
Community
Edit

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