| IParagraph Interface |
Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
The IParagraph type exposes the following members.
| 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.) | |
| IsSource | ||
| IsTarget | ||
| Locations |
Iterator for all possible locations in the collection and its sub-collections
(Inherited from IAbstractMarkupDataContainer.) | |
| Parent |
The parent paragraph unit this paragraph belongs to
| |
| TextDirection |
The text direction of the paragraph. This directionality overrides any document-level directionality
unless it is set to Inherit.
|
| Name | Description | |
|---|---|---|
| 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.) | |
| GetLocationsFrom |
Enumerator for locations starting from a specific location
(Inherited from IAbstractMarkupDataContainer.) | |
| 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.) | |
| 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.) |
A paragraph is a markup data container, but does not implement IAbstractMarkupData. It acts as the root container for the source or target content in a paragraph.
Paragraphs are only used as Source or Target members; they are never created as standalone objects.
The IsSource and IsTarget properties can be used to quickly find out if this is the source or target part of the Parent paragraph unit.