66 references to FlowNodeType
PresentationFramework (66)
System\Windows\Documents\FixedFlowMap.cs (3)
162Debug.Assert(flowOld.Type == FlowNodeType.Virtual || flowNew != null); 337_flowStart = new FlowNode(FlowOrderBoundaryScopeId, FlowNodeType.Boundary, null); 338_flowEnd = new FlowNode(FlowOrderBoundaryScopeId, FlowNodeType.Boundary, null);
System\Windows\Documents\FixedPageStructure.cs (11)
39_flowStart = new FlowNode(FixedFlowMap.FlowOrderVirtualScopeId, FlowNodeType.Virtual, pageIndex); 203Debug.Assert(flowStart != null && flowStart.Type != FlowNodeType.Virtual); 204Debug.Assert(flowEnd != null && flowEnd.Type != FlowNodeType.Virtual); 464case FlowNodeType.Boundary : 465case FlowNodeType.Virtual : 470case FlowNodeType.Start : 471case FlowNodeType.End : 493case FlowNodeType.Noop: 505case FlowNodeType.Run : 567case FlowNodeType.Object: 730return (_flowStart != null && _flowStart.Type != FlowNodeType.Virtual);
System\Windows\Documents\FixedTextBuilder.cs (11)
368Debug.Assert(fn.Type == FlowNodeType.Start); 494if (flowScan.Type == FlowNodeType.Object) 501if (flowScan.Type == FlowNodeType.Run) 545if (flowStart.Type == FlowNodeType.Object) 553if (flowEnd.Type == FlowNodeType.Object) 573Debug.Assert(flowNode.Type == FlowNodeType.Run); 577Debug.Assert(flowNode.Type == FlowNodeType.Run); 1518FlowNode flowImageNode = new FlowNode(_NewScopeId(), FlowNodeType.Object, null); 1603FlowNode startNode = new FlowNode(_NewScopeId(), FlowNodeType.Start, _pageIndex); 1604FlowNode endNode = new FlowNode(_NewScopeId(), FlowNodeType.End, _pageIndex); 1677FlowNode flowNodeRun = new FlowNode(_NewScopeId(), FlowNodeType.Run, textRunLength);
System\Windows\Documents\FixedTextContainer.cs (3)
360if (flowNode.Type == FlowNodeType.Boundary) 373else if (flowNode.Type == FlowNodeType.Virtual || flowNode.Type == FlowNodeType.Noop)
System\Windows\Documents\FlowNode.cs (11)
38internal FlowNode(int scopeId, FlowNodeType type, object cookie) 51Debug.Assert( (type != FlowNodeType.Run) || ((int)cookie != 0)); 148case FlowNodeType.Boundary: 149case FlowNodeType.Start: 150case FlowNodeType.End: 151case FlowNodeType.Object: 160case FlowNodeType.Virtual: 161case FlowNodeType.Noop: 166case FlowNodeType.Run: 251internal FlowNodeType Type 299private readonly FlowNodeType _type; // type of the node
System\Windows\Documents\FlowPosition.cs (27)
239FlowNodeType type = flow._flowNode.Type; 240Debug.Assert(type == FlowNodeType.Object || type == FlowNodeType.Noop || type == FlowNodeType.Start || type == FlowNodeType.End); 242if (type == FlowNodeType.Noop) 250if (type == FlowNodeType.Object && image != null) 449return (flowNode.Type == FlowNodeType.Virtual); 473return (_flowNode.Type == FlowNodeType.Boundary); 481return (_flowNode.Type == FlowNodeType.Start); 489return (_flowNode.Type == FlowNodeType.End); 498FlowNodeType t = _flowNode.Type; 499return (t == FlowNodeType.Start || t == FlowNodeType.End || t == FlowNodeType.Object); 509return (_flowNode.Type == FlowNodeType.Run); 518return (_flowNode.Type == FlowNodeType.Object); 556if (_offset == _NodeLength || flowNode.Type == FlowNodeType.Boundary) 583if (_offset == 0 || flowNode.Type == FlowNodeType.Boundary) 669if (flow.Type != FlowNodeType.Boundary) 693if (flow.Type != FlowNodeType.Boundary) 758private TextPointerContext _FlowNodeTypeToTextSymbol(FlowNodeType t) 762case FlowNodeType.Start: 765case FlowNodeType.End: 768case FlowNodeType.Run: 771case FlowNodeType.Object: 772case FlowNodeType.Noop: