63 references to ParagraphStartCharacterPosition
PresentationFramework (63)
src\Framework\MS\Internal\Documents\ParagraphResult.cs (1)
547
if (lastDcpAttachedObjectBeforeLine + textParagraph.
ParagraphStartCharacterPosition
== textParagraph.ParagraphEndCharacterPosition)
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (7)
104
if (_ur.SyncPara != null && cpCurrent == _ur.SyncPara.
ParagraphStartCharacterPosition
)
209
if (_ur.SyncPara != null && cpCurrent == _ur.SyncPara.
ParagraphStartCharacterPosition
)
226
Invariant.Assert(_ur.SyncPara == null || cpCurrent < _ur.SyncPara.
ParagraphStartCharacterPosition
);
952
int openEdgeCp =
ParagraphStartCharacterPosition
;
975
if ((paraChild.
ParagraphStartCharacterPosition
+ paraChild.LastFormatCch) >= startPosition)
1152
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
1166
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (1)
809
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
src\Framework\MS\Internal\PtsHost\Line.cs (1)
610
cp = _paraClient.Paragraph.
ParagraphStartCharacterPosition
+ charIndex.FirstCharacterIndex + charIndex.TrailingLength;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (36)
558
int dcp = Paragraph.
ParagraphStartCharacterPosition
;
696
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
758
return TextContainerHelper.GetTextPointerFromCP(Paragraph.StructuralCache.TextContainer, dcp + Paragraph.
ParagraphStartCharacterPosition
, direction);
783
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
853
int cpParagraphStart = Paragraph.
ParagraphStartCharacterPosition
;
953
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
1013
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
1066
int dcp = cp - Paragraph.
ParagraphStartCharacterPosition
;
1224
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
1244
StaticTextPointer pos = TextContainerHelper.GetStaticTextPointerFromCP(Paragraph.StructuralCache.TextContainer, cpPosition + Paragraph.
ParagraphStartCharacterPosition
);
1280
int dcpStart = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition((TextPointer)start) - Paragraph.
ParagraphStartCharacterPosition
;
1281
int dcpEnd = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition((TextPointer)end) - Paragraph.
ParagraphStartCharacterPosition
;
1661
ContainerVisual lineVisual = CreateLineVisual(ref arrayLineDesc[index], Paragraph.
ParagraphStartCharacterPosition
);
1866
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
1968
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2254
ITextPointer position = Paragraph.StructuralCache.TextContainer.CreatePointerAtOffset(Paragraph.
ParagraphStartCharacterPosition
+ dcp, LogicalDirection.Forward);
2322
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2433
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2567
if (dcpEnd <= objectPara.
ParagraphStartCharacterPosition
)
2658
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2787
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
2870
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3041
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3161
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3291
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3367
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3434
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
3473
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3654
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
3867
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
4076
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
4162
int localStart = start - Paragraph.
ParagraphStartCharacterPosition
;
4221
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
4265
int cpTextParaStart = Paragraph.
ParagraphStartCharacterPosition
;
4349
int localStart = start - Paragraph.
ParagraphStartCharacterPosition
;
4434
Line line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.
ParagraphStartCharacterPosition
);
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (14)
211
OptimalTextSource optimalTextSource = new OptimalTextSource(StructuralCache.TextFormatterHost,
ParagraphStartCharacterPosition
, durTrack, textParaClient, _textRunCache);
320
if ((dcpCur +
ParagraphStartCharacterPosition
) <= backgroundFormatInfo.LastCPUninterruptible)
325
StructuralCache.BackgroundFormatInfo.CPInterrupted = dcpCur +
ParagraphStartCharacterPosition
;
546
Line line = new Line(StructuralCache.TextFormatterHost, paraClient,
ParagraphStartCharacterPosition
);
591
int dcpDependAbsolute =
ParagraphStartCharacterPosition
+ dcp + line.ActualLength + dcpDepend;
732
Line line = new Line(StructuralCache.TextFormatterHost, paraClient,
ParagraphStartCharacterPosition
);
776
int dcpDependAbsolute =
ParagraphStartCharacterPosition
+ dcp + line.ActualLength + dcpDepend;
810
DtrList dtrs = StructuralCache.DtrsFromRange(
ParagraphStartCharacterPosition
, LastFormatCch);
814
dcpStart = dtrs[0].StartIndex -
ParagraphStartCharacterPosition
;
892
ITextPointer textPointer = TextContainerHelper.GetTextPointerFromCP(StructuralCache.TextContainer,
ParagraphStartCharacterPosition
+ dcpFirst, LogicalDirection.Forward);
916
ITextPointer textPointer = TextContainerHelper.GetTextPointerFromCP(StructuralCache.TextContainer,
ParagraphStartCharacterPosition
+ dcpFirst, LogicalDirection.Forward);
1205
if (
ParagraphStartCharacterPosition
== startPosition)
1421
int startContentPosition = attachedObject.Para.
ParagraphStartCharacterPosition
;
1747
if (cpElement < this.
ParagraphStartCharacterPosition
)
src\Framework\MS\Internal\PtsHost\TextParaLineResult.cs (2)
209
return _dcp + _owner.Paragraph.
ParagraphStartCharacterPosition
;
220
return _dcp + _cch + _owner.Paragraph.
ParagraphStartCharacterPosition
;
src\Framework\MS\Internal\Text\LineProperties.cs (1)
181
((textParagraph.GetLastDcpAttachedObjectBeforeLine(0) + textParagraph.
ParagraphStartCharacterPosition
)