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