Class FormattingBuilderVisitor
Framework node visitor that compiles a formattings stack representing the current formatting for a node.
Inheritance
System.Object
FormattingBuilderVisitor
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.DesktopEditor.EditorApi
Assembly: Sdl.DesktopEditor.EditorApi.dll
Syntax
public class FormattingBuilderVisitor : INodeVisitor
Constructors
FormattingBuilderVisitor(EditControlDisplaySettings, Boolean)
Default constructor, does nothing.
Declaration
public FormattingBuilderVisitor(EditControlDisplaySettings editControlDisplaySettings, bool suppressDocumentFormatting)
Parameters
Type | Name | Description |
---|---|---|
EditControlDisplaySettings | editControlDisplaySettings | |
System.Boolean | suppressDocumentFormatting |
Properties
EffectiveFormatting
The effective combined formatting.
Declaration
public IFormattingGroup EffectiveFormatting { get; }
Property Value
Type | Description |
---|---|
IFormattingGroup |
Methods
VisitBookmarkNode(IBookmarkNode)
Visitor implementation
Declaration
public void VisitBookmarkNode(IBookmarkNode node)
Parameters
Type | Name | Description |
---|---|---|
IBookmarkNode | node |
VisitCommentContainerNode(ICommentContainerNode)
Visitor implementation
Declaration
public void VisitCommentContainerNode(ICommentContainerNode node)
Parameters
Type | Name | Description |
---|---|---|
ICommentContainerNode | node |
VisitDocumentContainerNode(IDocumentContainerNode)
Visitor implementation
Declaration
public void VisitDocumentContainerNode(IDocumentContainerNode node)
Parameters
Type | Name | Description |
---|---|---|
IDocumentContainerNode | node |
VisitFileContainerNode(IFileContainerNode)
Visitor implementation
Declaration
public void VisitFileContainerNode(IFileContainerNode node)
Parameters
Type | Name | Description |
---|---|---|
IFileContainerNode | node |
VisitLocationMarkerNode(ILocationMarkerNode)
Visitor implementation
Declaration
public void VisitLocationMarkerNode(ILocationMarkerNode node)
Parameters
Type | Name | Description |
---|---|---|
ILocationMarkerNode | node |
VisitLockedContentContainerNode(ILockedContentContainerNode)
Visitor implementation
Declaration
public void VisitLockedContentContainerNode(ILockedContentContainerNode node)
Parameters
Type | Name | Description |
---|---|---|
ILockedContentContainerNode | node |
VisitMarkerContainerNode(IOtherMarkerContainerNode)
Visitor implementation
Declaration
public void VisitMarkerContainerNode(IOtherMarkerContainerNode node)
Parameters
Type | Name | Description |
---|---|---|
IOtherMarkerContainerNode | node |
VisitParagraphUnitContainerNode(IParagraphUnitContainerNode)
Visitor implementation
Declaration
public void VisitParagraphUnitContainerNode(IParagraphUnitContainerNode node)
Parameters
Type | Name | Description |
---|---|---|
IParagraphUnitContainerNode | node |
VisitPlaceholderTagNode(IPlaceholderTagNode)
Visitor implementation
Declaration
public void VisitPlaceholderTagNode(IPlaceholderTagNode node)
Parameters
Type | Name | Description |
---|---|---|
IPlaceholderTagNode | node |
VisitRevisionMarkerContainerNode(IRevisionMarkerContainerNode)
Visitor implementation
Declaration
public void VisitRevisionMarkerContainerNode(IRevisionMarkerContainerNode node)
Parameters
Type | Name | Description |
---|---|---|
IRevisionMarkerContainerNode | node |
VisitSegmentContainerNode(ISegmentContainerNode)
Visitor implementation
Declaration
public void VisitSegmentContainerNode(ISegmentContainerNode node)
Parameters
Type | Name | Description |
---|---|---|
ISegmentContainerNode | node |
VisitStartEndNode(IStartEndNode)
Visitor implementation
Declaration
public void VisitStartEndNode(IStartEndNode node)
Parameters
Type | Name | Description |
---|---|---|
IStartEndNode | node |
VisitTagPairContainerNode(ITagPairContainerNode)
Visitor implementation
Declaration
public void VisitTagPairContainerNode(ITagPairContainerNode node)
Parameters
Type | Name | Description |
---|---|---|
ITagPairContainerNode | node |
VisitTextNode(ITextNode)
Visitor implementation
Declaration
public void VisitTextNode(ITextNode node)
Parameters
Type | Name | Description |
---|---|---|
ITextNode | node |