63 references to ParagraphStartCharacterPosition
PresentationFramework (63)
MS\Internal\Documents\ParagraphResult.cs (1)
537
if (lastDcpAttachedObjectBeforeLine + textParagraph.
ParagraphStartCharacterPosition
== textParagraph.ParagraphEndCharacterPosition)
MS\Internal\PtsHost\ContainerParagraph.cs (7)
81
if (_ur.SyncPara != null && cpCurrent == _ur.SyncPara.
ParagraphStartCharacterPosition
)
186
if (_ur.SyncPara != null && cpCurrent == _ur.SyncPara.
ParagraphStartCharacterPosition
)
203
Invariant.Assert(_ur.SyncPara == null || cpCurrent < _ur.SyncPara.
ParagraphStartCharacterPosition
);
902
int openEdgeCp =
ParagraphStartCharacterPosition
;
925
if ((paraChild.
ParagraphStartCharacterPosition
+ paraChild.LastFormatCch) >= startPosition)
1102
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
1116
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
MS\Internal\PtsHost\FloaterParagraph.cs (1)
769
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
MS\Internal\PtsHost\Line.cs (1)
588
cp = _paraClient.Paragraph.
ParagraphStartCharacterPosition
+ charIndex.FirstCharacterIndex + charIndex.TrailingLength;
MS\Internal\PtsHost\TextParaClient.cs (36)
478
int dcp = Paragraph.
ParagraphStartCharacterPosition
;
607
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
661
return TextContainerHelper.GetTextPointerFromCP(Paragraph.StructuralCache.TextContainer, dcp + Paragraph.
ParagraphStartCharacterPosition
, direction);
676
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
737
int cpParagraphStart = Paragraph.
ParagraphStartCharacterPosition
;
827
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
877
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
920
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
1069
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
1089
StaticTextPointer pos = TextContainerHelper.GetStaticTextPointerFromCP(Paragraph.StructuralCache.TextContainer, cpPosition + Paragraph.
ParagraphStartCharacterPosition
);
1116
int dcpStart = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition((TextPointer)start) - Paragraph.
ParagraphStartCharacterPosition
;
1117
int dcpEnd = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition((TextPointer)end) - Paragraph.
ParagraphStartCharacterPosition
;
1471
ContainerVisual lineVisual = CreateLineVisual(ref arrayLineDesc[index], Paragraph.
ParagraphStartCharacterPosition
);
1659
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
1756
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2033
ITextPointer position = Paragraph.StructuralCache.TextContainer.CreatePointerAtOffset(Paragraph.
ParagraphStartCharacterPosition
+ dcp, LogicalDirection.Forward);
2101
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2212
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2342
if (dcpEnd <= objectPara.
ParagraphStartCharacterPosition
)
2429
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2553
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2632
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2798
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2914
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3040
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3112
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3174
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3209
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3386
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3585
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3785
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3867
int localStart = start - Paragraph.
ParagraphStartCharacterPosition
;
3926
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3965
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
4044
int localStart = start - Paragraph.
ParagraphStartCharacterPosition
;
4125
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
MS\Internal\PtsHost\TextParagraph.cs (14)
187
OptimalTextSource optimalTextSource = new OptimalTextSource(StructuralCache.TextFormatterHost,
ParagraphStartCharacterPosition
, durTrack, textParaClient, _textRunCache);
295
if ((dcpCur +
ParagraphStartCharacterPosition
) <= backgroundFormatInfo.LastCPUninterruptible)
300
StructuralCache.BackgroundFormatInfo.CPInterrupted = dcpCur +
ParagraphStartCharacterPosition
;
520
Line line = new Line(StructuralCache.TextFormatterHost, paraClient,
ParagraphStartCharacterPosition
);
564
int dcpDependAbsolute =
ParagraphStartCharacterPosition
+ dcp + line.ActualLength + dcpDepend;
704
Line line = new Line(StructuralCache.TextFormatterHost, paraClient,
ParagraphStartCharacterPosition
);
745
int dcpDependAbsolute =
ParagraphStartCharacterPosition
+ dcp + line.ActualLength + dcpDepend;
779
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
783
dcpStart = dtrs[0].StartIndex -
ParagraphStartCharacterPosition
;
861
ITextPointer textPointer = TextContainerHelper.GetTextPointerFromCP(StructuralCache.TextContainer,
ParagraphStartCharacterPosition
+ dcpFirst, LogicalDirection.Forward);
885
ITextPointer textPointer = TextContainerHelper.GetTextPointerFromCP(StructuralCache.TextContainer,
ParagraphStartCharacterPosition
+ dcpFirst, LogicalDirection.Forward);
1167
if (
ParagraphStartCharacterPosition
== startPosition)
1383
int startContentPosition = attachedObject.Para.
ParagraphStartCharacterPosition
;
1709
if (cpElement < this.
ParagraphStartCharacterPosition
)
MS\Internal\PtsHost\TextParaLineResult.cs (2)
200
return _dcp + _owner.Paragraph.
ParagraphStartCharacterPosition
;
211
return _dcp + _cch + _owner.Paragraph.
ParagraphStartCharacterPosition
;
MS\Internal\Text\LineProperties.cs (1)
173
((textParagraph.GetLastDcpAttachedObjectBeforeLine(0) + textParagraph.
ParagraphStartCharacterPosition
)