Interface IParagraph
Container for the source or target content in a IParagraphUnit; this often corresponds to a paragraph of localizable content in one language.
Inherited Members
Namespace: SdlSdl.FileTypeSupportFrameworkBilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public interface IParagraph : IAbstractMarkupDataContainer, IList<IAbstractMarkupData>, ICollection<IAbstractMarkupData>, IEnumerable<IAbstractMarkupData>, IEnumerable, ISupportsUniqueId, ICloneable
Remarks
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.
Properties
IsSource
Declaration
bool IsSource { get; }
Property Value
Type | Description |
---|---|
bool |
IsTarget
Declaration
bool IsTarget { get; }
Property Value
Type | Description |
---|---|
bool |
Parent
The parent paragraph unit this paragraph belongs to
Declaration
IParagraphUnit Parent { get; set; }
Property Value
Type | Description |
---|---|
IParagraphUnit |
Remarks
This property is automatically set by the framework. API users should therefore never need to set this property.
Attempting to set this property to an invalid value (i.e. a ParagraphUnit that does not contain this item, or setting it to null when the item is part of an existing ParagraphUnit) will cause an exception.
TextDirection
The text direction of the paragraph. This directionality overrides any document-level directionality unless it is set to Inherit.
Declaration
Direction TextDirection { get; set; }
Property Value
Type | Description |
---|---|
Direction |