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