63 references to ParagraphStartCharacterPosition
PresentationFramework (63)
MS\Internal\Documents\ParagraphResult.cs (1)
538
if (lastDcpAttachedObjectBeforeLine + textParagraph.
ParagraphStartCharacterPosition
== textParagraph.ParagraphEndCharacterPosition)
MS\Internal\PtsHost\ContainerParagraph.cs (7)
82
if (_ur.SyncPara != null && cpCurrent == _ur.SyncPara.
ParagraphStartCharacterPosition
)
187
if (_ur.SyncPara != null && cpCurrent == _ur.SyncPara.
ParagraphStartCharacterPosition
)
204
Invariant.Assert(_ur.SyncPara == null || cpCurrent < _ur.SyncPara.
ParagraphStartCharacterPosition
);
906
int openEdgeCp =
ParagraphStartCharacterPosition
;
929
if ((paraChild.
ParagraphStartCharacterPosition
+ paraChild.LastFormatCch) >= startPosition)
1106
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
1120
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
MS\Internal\PtsHost\FloaterParagraph.cs (1)
776
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
MS\Internal\PtsHost\Line.cs (1)
592
cp = _paraClient.Paragraph.
ParagraphStartCharacterPosition
+ charIndex.FirstCharacterIndex + charIndex.TrailingLength;
MS\Internal\PtsHost\TextParaClient.cs (36)
479
int dcp = Paragraph.
ParagraphStartCharacterPosition
;
608
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
662
return TextContainerHelper.GetTextPointerFromCP(Paragraph.StructuralCache.TextContainer, dcp + Paragraph.
ParagraphStartCharacterPosition
, direction);
677
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
738
int cpParagraphStart = Paragraph.
ParagraphStartCharacterPosition
;
828
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
878
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
921
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
1070
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
1090
StaticTextPointer pos = TextContainerHelper.GetStaticTextPointerFromCP(Paragraph.StructuralCache.TextContainer, cpPosition + Paragraph.
ParagraphStartCharacterPosition
);
1117
int dcpStart = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition((TextPointer)start) - Paragraph.
ParagraphStartCharacterPosition
;
1118
int dcpEnd = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition((TextPointer)end) - Paragraph.
ParagraphStartCharacterPosition
;
1472
ContainerVisual lineVisual = CreateLineVisual(ref arrayLineDesc[index], Paragraph.
ParagraphStartCharacterPosition
);
1660
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
1757
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2034
ITextPointer position = Paragraph.StructuralCache.TextContainer.CreatePointerAtOffset(Paragraph.
ParagraphStartCharacterPosition
+ dcp, LogicalDirection.Forward);
2102
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2213
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2343
if (dcpEnd <= objectPara.
ParagraphStartCharacterPosition
)
2430
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2554
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2633
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2799
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2915
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3041
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3113
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3175
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3210
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3387
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3586
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3786
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3868
int localStart = start - Paragraph.
ParagraphStartCharacterPosition
;
3927
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3966
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
4045
int localStart = start - Paragraph.
ParagraphStartCharacterPosition
;
4126
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
MS\Internal\PtsHost\TextParagraph.cs (14)
188
OptimalTextSource optimalTextSource = new OptimalTextSource(StructuralCache.TextFormatterHost,
ParagraphStartCharacterPosition
, durTrack, textParaClient, _textRunCache);
296
if ((dcpCur +
ParagraphStartCharacterPosition
) <= backgroundFormatInfo.LastCPUninterruptible)
301
StructuralCache.BackgroundFormatInfo.CPInterrupted = dcpCur +
ParagraphStartCharacterPosition
;
521
Line line = new Line(StructuralCache.TextFormatterHost, paraClient,
ParagraphStartCharacterPosition
);
565
int dcpDependAbsolute =
ParagraphStartCharacterPosition
+ dcp + line.ActualLength + dcpDepend;
705
Line line = new Line(StructuralCache.TextFormatterHost, paraClient,
ParagraphStartCharacterPosition
);
746
int dcpDependAbsolute =
ParagraphStartCharacterPosition
+ dcp + line.ActualLength + dcpDepend;
780
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
784
dcpStart = dtrs[0].StartIndex -
ParagraphStartCharacterPosition
;
862
ITextPointer textPointer = TextContainerHelper.GetTextPointerFromCP(StructuralCache.TextContainer,
ParagraphStartCharacterPosition
+ dcpFirst, LogicalDirection.Forward);
886
ITextPointer textPointer = TextContainerHelper.GetTextPointerFromCP(StructuralCache.TextContainer,
ParagraphStartCharacterPosition
+ dcpFirst, LogicalDirection.Forward);
1168
if (
ParagraphStartCharacterPosition
== startPosition)
1384
int startContentPosition = attachedObject.Para.
ParagraphStartCharacterPosition
;
1710
if (cpElement < this.
ParagraphStartCharacterPosition
)
MS\Internal\PtsHost\TextParaLineResult.cs (2)
201
return _dcp + _owner.Paragraph.
ParagraphStartCharacterPosition
;
212
return _dcp + _cch + _owner.Paragraph.
ParagraphStartCharacterPosition
;
MS\Internal\Text\LineProperties.cs (1)
174
((textParagraph.GetLastDcpAttachedObjectBeforeLine(0) + textParagraph.
ParagraphStartCharacterPosition
)