52 references to FlowNodeType
PresentationFramework (52)
src\Framework\System\Windows\Documents\FixedFlowMap.cs (3)
176
Debug.Assert(flowOld.Type ==
FlowNodeType
.Virtual || flowNew != null);
351
_flowStart = new FlowNode(FlowOrderBoundaryScopeId,
FlowNodeType
.Boundary, null);
352
_flowEnd = new FlowNode(FlowOrderBoundaryScopeId,
FlowNodeType
.Boundary, null);
src\Framework\System\Windows\Documents\FixedPageStructure.cs (4)
49
_flowStart = new FlowNode(FixedFlowMap.FlowOrderVirtualScopeId,
FlowNodeType
.Virtual, pageIndex);
213
Debug.Assert(flowStart != null && flowStart.Type !=
FlowNodeType
.Virtual);
214
Debug.Assert(flowEnd != null && flowEnd.Type !=
FlowNodeType
.Virtual);
743
return (_flowStart != null && _flowStart.Type !=
FlowNodeType
.Virtual);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (11)
390
Debug.Assert(fn.Type ==
FlowNodeType
.Start);
519
if (flowScan.Type ==
FlowNodeType
.Object)
526
if (flowScan.Type ==
FlowNodeType
.Run)
571
if (flowStart.Type ==
FlowNodeType
.Object)
579
if (flowEnd.Type ==
FlowNodeType
.Object)
599
Debug.Assert(flowNode.Type ==
FlowNodeType
.Run);
603
Debug.Assert(flowNode.Type ==
FlowNodeType
.Run);
1553
FlowNode flowImageNode = new FlowNode(_NewScopeId(),
FlowNodeType
.Object, null);
1638
FlowNode startNode = new FlowNode(_NewScopeId(),
FlowNodeType
.Start, _pageIndex);
1639
FlowNode endNode = new FlowNode(_NewScopeId(),
FlowNodeType
.End, _pageIndex);
1712
FlowNode flowNodeRun = new FlowNode(_NewScopeId(),
FlowNodeType
.Run, textRunLength);
src\Framework\System\Windows\Documents\FixedTextContainer.cs (3)
376
if (flowNode.Type ==
FlowNodeType
.Boundary)
389
else if (flowNode.Type ==
FlowNodeType
.Virtual || flowNode.Type ==
FlowNodeType
.Noop)
src\Framework\System\Windows\Documents\FlowNode.cs (4)
45
internal FlowNode(int scopeId,
FlowNodeType
type, object cookie)
58
Debug.Assert( (type !=
FlowNodeType
.Run) || ((int)cookie != 0));
261
internal
FlowNodeType
Type
309
private readonly
FlowNodeType
_type; // type of the node
src\Framework\System\Windows\Documents\FlowPosition.cs (27)
250
FlowNodeType
type = flow._flowNode.Type;
251
Debug.Assert(type ==
FlowNodeType
.Object || type ==
FlowNodeType
.Noop || type ==
FlowNodeType
.Start || type ==
FlowNodeType
.End);
253
if (type ==
FlowNodeType
.Noop)
261
if (type ==
FlowNodeType
.Object && image != null)
460
return (flowNode.Type ==
FlowNodeType
.Virtual);
484
return (_flowNode.Type ==
FlowNodeType
.Boundary);
492
return (_flowNode.Type ==
FlowNodeType
.Start);
500
return (_flowNode.Type ==
FlowNodeType
.End);
509
FlowNodeType
t = _flowNode.Type;
510
return (t ==
FlowNodeType
.Start || t ==
FlowNodeType
.End || t ==
FlowNodeType
.Object);
520
return (_flowNode.Type ==
FlowNodeType
.Run);
529
return (_flowNode.Type ==
FlowNodeType
.Object);
567
if (_offset == _NodeLength || flowNode.Type ==
FlowNodeType
.Boundary)
594
if (_offset == 0 || flowNode.Type ==
FlowNodeType
.Boundary)
680
if (flow.Type !=
FlowNodeType
.Boundary)
704
if (flow.Type !=
FlowNodeType
.Boundary)
769
private TextPointerContext _FlowNodeTypeToTextSymbol(
FlowNodeType
t)
773
case
FlowNodeType
.Start:
776
case
FlowNodeType
.End:
779
case
FlowNodeType
.Run:
782
case
FlowNodeType
.Object:
783
case
FlowNodeType
.Noop: