Search Results for

    Show / Hide Table of Contents

    Interface IParagraphUnitContainerNode

    A ParagraphUnit in the editor.

    Inherited Members
    IAbstractContainerNode.Find(Predicate<INode>, Boolean)
    IAbstractContainerNode.FindContentNode(Predicate<IAbstractContentNode>, Boolean)
    IAbstractContainerNode.FindAllNodes(Predicate<IAbstractNode>, Boolean)
    IAbstractContainerNode.StartNode
    IAbstractContainerNode.EndNode
    INode.AcceptNodeVisitor(INodeVisitor)
    ITreeNode<IAbstractNode, IAbstractContainerNode>.Parent
    ITreeNode<IAbstractNode, IAbstractContainerNode>.NextSibling
    ITreeNode<IAbstractNode, IAbstractContainerNode>.PreviousSibling
    ITreeNode<IAbstractNode, IAbstractContainerNode>.Root
    System.Collections.Generic.IEnumerable<Sdl.DesktopEditor.EditorApi.IAbstractNode>.GetEnumerator()
    Namespace: Sdl.DesktopEditor.EditorApi
    Assembly: Sdl.DesktopEditor.EditorApi.dll
    Syntax
    public interface IParagraphUnitContainerNode : IAbstractContainerNode, INode, IAbstractNode, ITreeNode<IAbstractNode, IAbstractContainerNode>, IEnumerable<IAbstractNode>, IEnumerable
    Remarks

    The ParagraphUnit in the source and target edit controls contain the Source and Target paragraph of the ParagraphUnit in the underlying filter framework object, respectively. Both (obviously) reference the same filter framework ParagraphUnit.

    Properties

    ContainsRevisions

    Returns true if the paragraph contains revision markers. This is an optimization that can be used when searching for revision content: the value is cached for quick access so it will be faster than searching every paragraph for revision markers.

    Declaration
    bool ContainsRevisions { get; }
    Property Value
    Type Description
    System.Boolean

    ContainsTQAs

    Returns true if the paragraph contains TQA markers. This is an optimization that can be used when searching for TQA content: the value is cached for quick access so it will be faster than searching every paragraph for TQA markers.

    Declaration
    bool ContainsTQAs { get; }
    Property Value
    Type Description
    System.Boolean

    Paragraph

    The source or target content of the paragraph in the filter framework.

    Declaration
    IParagraph Paragraph { get; }
    Property Value
    Type Description
    IParagraph

    ParagraphUnit

    Read-only access to the underlying filter framework ParagraphUnit object.

    Declaration
    IParagraphUnit ParagraphUnit { get; }
    Property Value
    Type Description
    IParagraphUnit
    Remarks

    To change the Paragraph Unit properties, clone them, apply changes, and call UpdateParagraphUnitProperties(IParagraphUnitProperties).

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)
    EditorApiExtensions.ParentFirstOrDefault<T>(IAbstractNode)

    On this page

    • Properties
      • ContainsRevisions
      • ContainsTQAs
      • Paragraph
      • ParagraphUnit
    • Extension Methods
    Back to top Generated by DocFX