C# Class LayoutFarm.Text.EditableTextFlowLayer

Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
AddAfter ( EditableRun afterVisualElement, EditableRun visualElement ) : void
AddBefore ( EditableRun beforeVisualElement, EditableRun visualElement ) : void
AddTop ( EditableRun visualElement ) : void
Clear ( ) : void
CopyContentToStringBuilder ( System.StringBuilder stBuilder ) : void
DrawChildContent ( Canvas canvas, Rectangle updateArea ) : void
EditableTextFlowLayer ( TextEditRenderBox owner ) : System
GetRenderElementIter ( ) : IEnumerable
GetRenderElementReverseIter ( ) : IEnumerable
HitTestCore ( HitChain hitChain ) : bool
SetUseDoubleCanvas ( bool useWithWidth, bool useWithHeight ) : void
ToString ( ) : string
TopDownReArrangeContent ( ) : void
TopDownReCalculateContentSize ( ) : void
dbugGetDrawingIter2 ( ) : IEnumerable
dbug_DumpElementProps ( dbugLayoutMsgWriter writer ) : void

Private Methods

Method Description
AppendLine ( EditableTextLine line ) : void
GetDrawingIter ( EditableRun start, EditableRun stop ) : IEnumerable
GetTextLine ( int lineId ) : EditableTextLine
GetTextLineAtPos ( int y ) : EditableTextLine
InsertLine ( int insertAt, EditableTextLine textLine ) : void
InsertNewLine ( int insertAt ) : EditableTextLine
PerformHorizontalFlowArrange ( int ownerClientLeft, int ownerClientWidth, int ownerClientTop ) : void
PerformHorizontalFlowArrangeForMultilineText ( int ownerClientLeft, int ownerClientWidth, int ownerClientTop ) : void
ReCalculateContentSizeHorizontalFlow ( EditableTextFlowLayer layer ) : Size
Reload ( IEnumerable runs ) : void
Remove ( int lineId ) : void
TextRunForward ( EditableRun startRun, EditableRun stopRun ) : IEnumerable
debug_RecordLineInfo ( RenderBoxBase owner, EditableTextLine line ) : void

Method Details

AddAfter() public method

public AddAfter ( EditableRun afterVisualElement, EditableRun visualElement ) : void
afterVisualElement EditableRun
visualElement EditableRun
return void

AddBefore() public method

public AddBefore ( EditableRun beforeVisualElement, EditableRun visualElement ) : void
beforeVisualElement EditableRun
visualElement EditableRun
return void

AddTop() public method

public AddTop ( EditableRun visualElement ) : void
visualElement EditableRun
return void

Clear() public method

public Clear ( ) : void
return void

CopyContentToStringBuilder() public method

public CopyContentToStringBuilder ( System.StringBuilder stBuilder ) : void
stBuilder System.StringBuilder
return void

DrawChildContent() public method

public DrawChildContent ( Canvas canvas, Rectangle updateArea ) : void
canvas Canvas
updateArea Rectangle
return void

EditableTextFlowLayer() public method

public EditableTextFlowLayer ( TextEditRenderBox owner ) : System
owner TextEditRenderBox
return System

GetRenderElementIter() public method

public GetRenderElementIter ( ) : IEnumerable
return IEnumerable

GetRenderElementReverseIter() public method

public GetRenderElementReverseIter ( ) : IEnumerable
return IEnumerable

HitTestCore() public method

public HitTestCore ( HitChain hitChain ) : bool
hitChain HitChain
return bool

SetUseDoubleCanvas() public method

public SetUseDoubleCanvas ( bool useWithWidth, bool useWithHeight ) : void
useWithWidth bool
useWithHeight bool
return void

ToString() public method

public ToString ( ) : string
return string

TopDownReArrangeContent() public method

public TopDownReArrangeContent ( ) : void
return void

TopDownReCalculateContentSize() public method

public TopDownReCalculateContentSize ( ) : void
return void

dbugGetDrawingIter2() public method

public dbugGetDrawingIter2 ( ) : IEnumerable
return IEnumerable

dbug_DumpElementProps() public method

public dbug_DumpElementProps ( dbugLayoutMsgWriter writer ) : void
writer dbugLayoutMsgWriter
return void