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