| IRevisionMarker Interface |
Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
The IRevisionMarker type exposes the following members.
| Name | Description | |
|---|---|---|
| AcceptVisitor |
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.) | |
| Add | Adds an item to the ICollectionT. (Inherited from ICollectionIAbstractMarkupData.) | |
| Clear | Removes all items from the ICollectionT. (Inherited from ICollectionIAbstractMarkupData.) | |
| Clone | Creates a new object that is a copy of the current instance. (Inherited from ICloneable.) | |
| Contains | Determines whether the ICollectionT contains a specific value. (Inherited from ICollectionIAbstractMarkupData.) | |
| CopyTo | (Inherited from ICollectionIAbstractMarkupData.) | |
| Find(PredicateIAbstractMarkupData) |
Returns the first item that matches the specified predecate.
(Inherited from IAbstractMarkupDataContainer.)The iteration is performed over all items and sub-items in this collection and all sub-collections until the item is located. | |
| Find(PredicateLocation) |
Returns the first location that matches the specified predecate.
The iteration is performed over all locations in this collection and all sub-collections until
the element is located.
(Inherited from IAbstractMarkupDataContainer.) | |
| Find(Location, PredicateLocation) |
Returns the first location that matches the specified predecate, starting
at a specific location.
(Inherited from IAbstractMarkupDataContainer.) | |
| ForEachSubItem |
Execute the specified action on each item and (recursively) each sub-item in this container.
(Inherited from IAbstractMarkupDataContainer.) | |
| GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerableIAbstractMarkupData.) | |
| GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
| GetLocationsFrom |
Enumerator for locations starting from a specific location
(Inherited from IAbstractMarkupDataContainer.) | |
| IndexOf | Determines the index of a specific item in the IListT. (Inherited from IListIAbstractMarkupData.) | |
| Insert | Inserts an item to the IListT at the specified index. (Inherited from IListIAbstractMarkupData.) | |
| MoveAllItemsTo(IAbstractMarkupDataContainer) |
Moves all items from this container into another one.
(Inherited from IAbstractMarkupDataContainer.) | |
| MoveAllItemsTo(IAbstractMarkupDataContainer, Int32) |
Moves all items from this container to a specific location in another container.
(Inherited from IAbstractMarkupDataContainer.) | |
| MoveItemsTo(IAbstractMarkupDataContainer, Int32, Int32) |
Moves a number of items from this container into another one.
(Inherited from IAbstractMarkupDataContainer.) | |
| MoveItemsTo(IAbstractMarkupDataContainer, Int32, Int32, Int32) |
Moves a number of items from this container into a specific location in another one.
(Inherited from IAbstractMarkupDataContainer.) | |
| Remove | Removes the first occurrence of a specific object from the ICollectionT. (Inherited from ICollectionIAbstractMarkupData.) | |
| RemoveAt | Removes the IListT item at the specified index. (Inherited from IListIAbstractMarkupData.) | |
| RemoveFromParent |
Removes this node from its parent container (if any).
(Inherited from IAbstractMarkupData.) | |
| Split |
Splits this container in two. After the split, this object will hold
all items with index lower than the splitBeforeItemIndex parameter.
The returned object is a clone of this object, which contains all other items.
(Inherited from IAbstractMarkupDataContainer.) |
| Name | Description | |
|---|---|---|
| AllSubItems |
An iterator that can be used to iterate over all child items - including sub-items - in the container.
(Inherited from IAbstractMarkupDataContainer.) | |
| CanBeSplit |
Indicates whether it is possible to split this container into different
parts by calling the Split(Int32) method.
(Inherited from IAbstractMarkupDataContainer.) | |
| Count | Gets the number of elements contained in the ICollectionT. (Inherited from ICollectionIAbstractMarkupData.) | |
| IndexInParent |
The index of this item in its parent container (if any).
(Inherited from IAbstractMarkupData.) | |
| IsReadOnly | Gets a value indicating whether the ICollectionT is read-only. (Inherited from ICollectionIAbstractMarkupData.) | |
| Item | Gets or sets the element at the specified index. (Inherited from IListIAbstractMarkupData.) | |
| Locations |
Iterator for all possible locations in the collection and its sub-collections
(Inherited from IAbstractMarkupDataContainer.) | |
| Parent |
When this item is inside a markup data container, this property
provides access to the parent container.
(Inherited from IAbstractMarkupData.) | |
| ParentParagraph |
Convenient accessor to the source or target paragraph container that the
item appears in.
(Inherited from IAbstractMarkupData.) | |
| Properties |
Information on this particular revision
| |
| UniqueId |
The Unique ID associated with an object may be used
by implementations during operations such as segmentation
(Inherited from ISupportsUniqueId.) |
Revision markers can be nested. If revisions are nested, all content inside a Delete revision (including other revisions) is always considered to be deleted. Deleted revisions that appear inside inserted revisions should be treated as if a part of the inserted content has been deleted in a subsequent revision.
Note that individual tags may also have revision properties. This is necessary to track adding and deleting of tag pairs or individual start/end tags.
Revision markers are also used to annotate differences between TM matches and document content when a match is shown in the TM window.
A single edit operation (revision) may need to be applied using multiple revision markers (and tags). In such cases, the different markers (and tags) can reference the same revision properties object.