10 instantiations of FlowPosition
PresentationFramework (10)
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (7)
378
return new
FlowPosition
(_container, flow, offset);
391
return new
FlowPosition
(_container, fn, 0);
401
return new
FlowPosition
(_container, fn, 1);
1557
new
FlowPosition
(_container, flowImageNode, 0),
1558
new
FlowPosition
(_container, flowImageNode, 1),
1643
new
FlowPosition
(_container, (FlowNode)startNode, 1),
1644
new
FlowPosition
(_container, (FlowNode)endNode, 0),
src\Framework\System\Windows\Documents\FixedTextContainer.cs (2)
593
_start = new FixedTextPointer(false, LogicalDirection.Backward, new
FlowPosition
(this, this.FixedTextBuilder.FixedFlowMap.FlowStartEdge, 1));
594
_end = new FixedTextPointer(false, LogicalDirection.Forward, new
FlowPosition
(this, this.FixedTextBuilder.FixedFlowMap.FlowEndEdge, 0));
src\Framework\System\Windows\Documents\FlowPosition.cs (1)
66
return new
FlowPosition
(_container, _flowNode, _offset);
53 references to FlowPosition
PresentationFramework (53)
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
524
FlowPosition
flowPosition=null;
1484
FlowPosition
flowPosition = _panel.FixedContainer.FixedTextBuilder.GetPageStartFlowPosition(_index);
src\Framework\System\Windows\Documents\FixedFindEngine.cs (2)
309
FlowPosition
pageStartFlowPosition = ((FixedTextContainer)(endAsDSTP.ChildBlock.ChildContainer)).FixedTextBuilder.GetPageStartFlowPosition(pageNumber);
329
FlowPosition
pageEndFlowPosition = ((FixedTextContainer)startAsDSTP.ChildBlock.ChildContainer).FixedTextBuilder.GetPageEndFlowPosition(pageNumber);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (6)
362
internal
FlowPosition
CreateFlowPosition(FixedPosition fixedPosition)
384
internal
FlowPosition
GetPageStartFlowPosition(int pageIndex)
395
internal
FlowPosition
GetPageEndFlowPosition(int pageIndex)
409
internal bool GetFixedPosition(
FlowPosition
position, LogicalDirection textdir, out FixedPosition fixedp)
477
internal bool GetFixedNodesForFlowRange(
FlowPosition
pStart,
478
FlowPosition
pEnd,
src\Framework\System\Windows\Documents\FixedTextContainer.cs (2)
602
internal void OnNewFlowElement(FixedElement parentElement, FixedElement.ElementType elementType,
FlowPosition
pStart,
FlowPosition
pEnd, Object source, int pageIndex)
src\Framework\System\Windows\Documents\FixedTextPointer.cs (9)
40
internal FixedTextPointer(bool mutable, LogicalDirection gravity,
FlowPosition
flow)
295
FlowPosition
fp = (
FlowPosition
)_flowPosition.Clone();
455
_flowPosition = (
FlowPosition
)e.Start.FlowPosition.Clone();
460
_flowPosition = (
FlowPosition
)e.Start.FlowPosition.Clone();
464
_flowPosition = (
FlowPosition
)e.End.FlowPosition.Clone();
468
_flowPosition = (
FlowPosition
)e.End.FlowPosition.Clone();
672
internal
FlowPosition
FlowPosition
722
private
FlowPosition
_flowPosition; // FlowPosition in the content flow
src\Framework\System\Windows\Documents\FixedTextView.cs (8)
359
FixedTextPointer nav = new FixedTextPointer(true, edge, (
FlowPosition
)ftp.FlowPosition.Clone());
384
nav = new FixedTextPointer(true, scanDir, (
FlowPosition
)ftp.FlowPosition.Clone());
755
FlowPosition
flowStart = Container.FixedTextBuilder.GetPageStartFlowPosition(this.PageIndex);
768
FlowPosition
flowEnd = Container.FixedTextBuilder.GetPageEndFlowPosition(this.PageIndex);
1122
FixedTextPointer nav = new FixedTextPointer(true, textdir, (
FlowPosition
)ftp.FlowPosition.Clone());
1161
FlowPosition
flowP = (
FlowPosition
) ftp.FlowPosition.Clone();
1191
FlowPosition
flowHit = Container.FixedTextBuilder.CreateFlowPosition(fixedPosition);
src\Framework\System\Windows\Documents\FlowPosition.cs (23)
78
FlowPosition
flow = o as
FlowPosition
;
81
throw new ArgumentException(SR.Get(SRID.UnexpectedParameterType, o.GetType(), typeof(
FlowPosition
)), "o");
136
internal int GetDistance(
FlowPosition
flow)
149
FlowPosition
flowScan, flowEnd;
153
flowScan = (
FlowPosition
)this.Clone();
159
flowScan = (
FlowPosition
)flow.Clone();
194
FlowPosition
flow = GetClingPosition(dir);
213
FlowPosition
flow = GetClingPosition(dir);
249
FlowPosition
flow = GetClingPosition(dir);
282
FlowPosition
flow = GetClingPosition(dir);
291
FlowPosition
flowScan = (
FlowPosition
)this.Clone();
302
FlowPosition
flowEnd = flowScan.GetClingPosition(LogicalDirection.Backward);
354
internal void MoveTo(
FlowPosition
flow)
373
FlowPosition
fp = GetClingPosition(direction);
380
internal void GetFlowNodes(
FlowPosition
pEnd, out FlowNode[] flowNodes, out int offsetStart, out int offsetEnd)
387
FlowPosition
flowScan = GetClingPosition(LogicalDirection.Forward);
408
internal
FlowPosition
GetClingPosition(LogicalDirection dir)
410
FlowPosition
flow = (
FlowPosition
)this.Clone();
719
private bool _IsSamePosition(
FlowPosition
flow)
731
private int _OverlapAwareCompare(
FlowPosition
flow)
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
433
FlowPosition
flowHit = _panel.FixedContainer.FixedTextBuilder.CreateFlowPosition(fixedPosition);