63 references to ParagraphStartCharacterPosition
PresentationFramework (63)
MS\Internal\Documents\ParagraphResult.cs (1)
541
if (lastDcpAttachedObjectBeforeLine + textParagraph.
ParagraphStartCharacterPosition
== textParagraph.ParagraphEndCharacterPosition)
MS\Internal\PtsHost\ContainerParagraph.cs (7)
100
if (_ur.SyncPara != null && cpCurrent == _ur.SyncPara.
ParagraphStartCharacterPosition
)
205
if (_ur.SyncPara != null && cpCurrent == _ur.SyncPara.
ParagraphStartCharacterPosition
)
222
Invariant.Assert(_ur.SyncPara == null || cpCurrent < _ur.SyncPara.
ParagraphStartCharacterPosition
);
926
int openEdgeCp =
ParagraphStartCharacterPosition
;
949
if ((paraChild.
ParagraphStartCharacterPosition
+ paraChild.LastFormatCch) >= startPosition)
1126
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
1140
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
MS\Internal\PtsHost\FloaterParagraph.cs (1)
779
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
MS\Internal\PtsHost\Line.cs (1)
607
cp = _paraClient.Paragraph.
ParagraphStartCharacterPosition
+ charIndex.FirstCharacterIndex + charIndex.TrailingLength;
MS\Internal\PtsHost\TextParaClient.cs (36)
485
int dcp = Paragraph.
ParagraphStartCharacterPosition
;
614
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
668
return TextContainerHelper.GetTextPointerFromCP(Paragraph.StructuralCache.TextContainer, dcp + Paragraph.
ParagraphStartCharacterPosition
, direction);
683
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
744
int cpParagraphStart = Paragraph.
ParagraphStartCharacterPosition
;
834
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
884
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
927
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
1076
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
1096
StaticTextPointer pos = TextContainerHelper.GetStaticTextPointerFromCP(Paragraph.StructuralCache.TextContainer, cpPosition + Paragraph.
ParagraphStartCharacterPosition
);
1123
int dcpStart = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition((TextPointer)start) - Paragraph.
ParagraphStartCharacterPosition
;
1124
int dcpEnd = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition((TextPointer)end) - Paragraph.
ParagraphStartCharacterPosition
;
1478
ContainerVisual lineVisual = CreateLineVisual(ref arrayLineDesc[index], Paragraph.
ParagraphStartCharacterPosition
);
1666
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
1763
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2040
ITextPointer position = Paragraph.StructuralCache.TextContainer.CreatePointerAtOffset(Paragraph.
ParagraphStartCharacterPosition
+ dcp, LogicalDirection.Forward);
2108
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2219
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2349
if (dcpEnd <= objectPara.
ParagraphStartCharacterPosition
)
2436
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2560
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2639
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2805
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2921
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3047
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3119
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3181
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3216
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3393
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3592
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3792
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3874
int localStart = start - Paragraph.
ParagraphStartCharacterPosition
;
3933
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3972
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
4051
int localStart = start - Paragraph.
ParagraphStartCharacterPosition
;
4132
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
MS\Internal\PtsHost\TextParagraph.cs (14)
206
OptimalTextSource optimalTextSource = new OptimalTextSource(StructuralCache.TextFormatterHost,
ParagraphStartCharacterPosition
, durTrack, textParaClient, _textRunCache);
314
if ((dcpCur +
ParagraphStartCharacterPosition
) <= backgroundFormatInfo.LastCPUninterruptible)
319
StructuralCache.BackgroundFormatInfo.CPInterrupted = dcpCur +
ParagraphStartCharacterPosition
;
540
Line line = new Line(StructuralCache.TextFormatterHost, paraClient,
ParagraphStartCharacterPosition
);
585
int dcpDependAbsolute =
ParagraphStartCharacterPosition
+ dcp + line.ActualLength + dcpDepend;
726
Line line = new Line(StructuralCache.TextFormatterHost, paraClient,
ParagraphStartCharacterPosition
);
769
int dcpDependAbsolute =
ParagraphStartCharacterPosition
+ dcp + line.ActualLength + dcpDepend;
803
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
807
dcpStart = dtrs[0].StartIndex -
ParagraphStartCharacterPosition
;
885
ITextPointer textPointer = TextContainerHelper.GetTextPointerFromCP(StructuralCache.TextContainer,
ParagraphStartCharacterPosition
+ dcpFirst, LogicalDirection.Forward);
909
ITextPointer textPointer = TextContainerHelper.GetTextPointerFromCP(StructuralCache.TextContainer,
ParagraphStartCharacterPosition
+ dcpFirst, LogicalDirection.Forward);
1197
if (
ParagraphStartCharacterPosition
== startPosition)
1413
int startContentPosition = attachedObject.Para.
ParagraphStartCharacterPosition
;
1739
if (cpElement < this.
ParagraphStartCharacterPosition
)
MS\Internal\PtsHost\TextParaLineResult.cs (2)
204
return _dcp + _owner.Paragraph.
ParagraphStartCharacterPosition
;
215
return _dcp + _cch + _owner.Paragraph.
ParagraphStartCharacterPosition
;
MS\Internal\Text\LineProperties.cs (1)
178
((textParagraph.GetLastDcpAttachedObjectBeforeLine(0) + textParagraph.
ParagraphStartCharacterPosition
)