10 instantiations of FlowPosition
PresentationFramework (10)
System\Windows\Documents\FixedTextBuilder.cs (7)
356return new FlowPosition(_container, flow, offset); 369return new FlowPosition(_container, fn, 0); 379return new FlowPosition(_container, fn, 1); 1522new FlowPosition(_container, flowImageNode, 0), 1523new FlowPosition(_container, flowImageNode, 1), 1608new FlowPosition(_container, (FlowNode)startNode, 1), 1609new FlowPosition(_container, (FlowNode)endNode, 0),
System\Windows\Documents\FixedTextContainer.cs (2)
577_start = new FixedTextPointer(false, LogicalDirection.Backward, new FlowPosition(this, this.FixedTextBuilder.FixedFlowMap.FlowStartEdge, 1)); 578_end = new FixedTextPointer(false, LogicalDirection.Forward, new FlowPosition(this, this.FixedTextBuilder.FixedFlowMap.FlowEndEdge, 0));
System\Windows\Documents\FlowPosition.cs (1)
58return new FlowPosition(_container, _flowNode, _offset);
53 references to FlowPosition
PresentationFramework (53)
System\Windows\Documents\FixedDocument.cs (2)
487FlowPosition flowPosition=null; 1431FlowPosition flowPosition = _panel.FixedContainer.FixedTextBuilder.GetPageStartFlowPosition(_index);
System\Windows\Documents\FixedFindEngine.cs (2)
302FlowPosition pageStartFlowPosition = ((FixedTextContainer)(endAsDSTP.ChildBlock.ChildContainer)).FixedTextBuilder.GetPageStartFlowPosition(pageNumber); 322FlowPosition pageEndFlowPosition = ((FixedTextContainer)startAsDSTP.ChildBlock.ChildContainer).FixedTextBuilder.GetPageEndFlowPosition(pageNumber);
System\Windows\Documents\FixedTextBuilder.cs (6)
340internal FlowPosition CreateFlowPosition(FixedPosition fixedPosition) 362internal FlowPosition GetPageStartFlowPosition(int pageIndex) 373internal FlowPosition GetPageEndFlowPosition(int pageIndex) 387internal bool GetFixedPosition(FlowPosition position, LogicalDirection textdir, out FixedPosition fixedp) 452internal bool GetFixedNodesForFlowRange(FlowPosition pStart, 453FlowPosition pEnd,
System\Windows\Documents\FixedTextContainer.cs (2)
585internal void OnNewFlowElement(FixedElement parentElement, FixedElement.ElementType elementType, FlowPosition pStart, FlowPosition pEnd, Object source, int pageIndex)
System\Windows\Documents\FixedTextPointer.cs (9)
33internal FixedTextPointer(bool mutable, LogicalDirection gravity, FlowPosition flow) 275FlowPosition fp = (FlowPosition)_flowPosition.Clone(); 435_flowPosition = (FlowPosition)e.Start.FlowPosition.Clone(); 440_flowPosition = (FlowPosition)e.Start.FlowPosition.Clone(); 444_flowPosition = (FlowPosition)e.End.FlowPosition.Clone(); 448_flowPosition = (FlowPosition)e.End.FlowPosition.Clone(); 649internal FlowPosition FlowPosition 699private FlowPosition _flowPosition; // FlowPosition in the content flow
System\Windows\Documents\FixedTextView.cs (8)
343FixedTextPointer nav = new FixedTextPointer(true, edge, (FlowPosition)ftp.FlowPosition.Clone()); 368nav = new FixedTextPointer(true, scanDir, (FlowPosition)ftp.FlowPosition.Clone()); 737FlowPosition flowStart = Container.FixedTextBuilder.GetPageStartFlowPosition(this.PageIndex); 750FlowPosition flowEnd = Container.FixedTextBuilder.GetPageEndFlowPosition(this.PageIndex); 1102FixedTextPointer nav = new FixedTextPointer(true, textdir, (FlowPosition)ftp.FlowPosition.Clone()); 1141FlowPosition flowP = (FlowPosition) ftp.FlowPosition.Clone(); 1171FlowPosition flowHit = Container.FixedTextBuilder.CreateFlowPosition(fixedPosition);
System\Windows\Documents\FlowPosition.cs (23)
67FlowPosition flow = o as FlowPosition; 70throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, o.GetType(), typeof(FlowPosition)), "o"); 125internal int GetDistance(FlowPosition flow) 138FlowPosition flowScan, flowEnd; 142flowScan = (FlowPosition)this.Clone(); 148flowScan = (FlowPosition)flow.Clone(); 183FlowPosition flow = GetClingPosition(dir); 202FlowPosition flow = GetClingPosition(dir); 238FlowPosition flow = GetClingPosition(dir); 271FlowPosition flow = GetClingPosition(dir); 280FlowPosition flowScan = (FlowPosition)this.Clone(); 291FlowPosition flowEnd = flowScan.GetClingPosition(LogicalDirection.Backward); 343internal void MoveTo(FlowPosition flow) 362FlowPosition fp = GetClingPosition(direction); 369internal void GetFlowNodes(FlowPosition pEnd, out FlowNode[] flowNodes, out int offsetStart, out int offsetEnd) 376FlowPosition flowScan = GetClingPosition(LogicalDirection.Forward); 397internal FlowPosition GetClingPosition(LogicalDirection dir) 399FlowPosition flow = (FlowPosition)this.Clone(); 708private bool _IsSamePosition(FlowPosition flow) 720private int _OverlapAwareCompare(FlowPosition flow)
System\Windows\Documents\RubberbandSelector.cs (1)
325FlowPosition flowHit = _panel.FixedContainer.FixedTextBuilder.CreateFlowPosition(fixedPosition);