1 write to _paraClient
PresentationFramework (1)
MS\Internal\PtsHost\LineBase.cs (1)
34_paraClient = paraClient;
27 references to _paraClient
PresentationFramework (27)
MS\Internal\PtsHost\Line.cs (12)
130int cpFigure = TextContainerHelper.GetCPFromElement(_paraClient.Paragraph.StructuralCache.TextContainer, paraFigure.Element, ElementEdge.BeforeStart); 155ITextContainer textContainer = _paraClient.Paragraph.StructuralCache.TextContainer; 204ITextPointer startPosition = TextContainerHelper.GetTextPointerFromCP(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara, LogicalDirection.Forward); 205ITextPointer position = TextContainerHelper.GetTextPointerFromCP(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara + dcp, LogicalDirection.Forward); 221DependencyObject element = (pointer.Parent != null) ? pointer.Parent : _paraClient.Paragraph.Element; 311inlineObjects.Add(new InlineObject(dcpRun, ((InlineObjectRun)run).UIElementIsland, (TextParagraph)_paraClient.Paragraph)); 365double pageHeight = _paraClient.Paragraph.StructuralCache.CurrentFormatContext.DocumentPageSize.Height; 366if (!_paraClient.Paragraph.StructuralCache.CurrentFormatContext.FinitePage) 408DependencyObject paragraphElement = _paraClient.Paragraph.Element; 607cp = _paraClient.Paragraph.ParagraphStartCharacterPosition + charIndex.FirstCharacterIndex + charIndex.TrailingLength; 608position = TextContainerHelper.GetTextPointerFromCP(_paraClient.Paragraph.StructuralCache.TextContainer, cp, LogicalDirection.Forward) as TextPointer; 1229return _paraClient.Paragraph as TextParagraph;
MS\Internal\PtsHost\LineBase.cs (8)
100element = _paraClient.Paragraph.Element; 107_paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 154int cch = TextContainerHelper.GetElementLength(_paraClient.Paragraph.StructuralCache.TextContainer, element); 168int cch = TextContainerHelper.GetElementLength(_paraClient.Paragraph.StructuralCache.TextContainer, element); 177_paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 259if (position.Parent == _paraClient.Paragraph.Element) 318_paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 321run = new InlineObjectRun(TextContainerHelper.EmbeddedObjectLength, (UIElement)embeddedObject, textProps, _paraClient.Paragraph as TextParagraph);
MS\Internal\PtsHost\OptimalTextSource.cs (7)
103ITextContainer textContainer = _paraClient.Paragraph.StructuralCache.TextContainer; 153ITextPointer startPosition = TextContainerHelper.GetTextPointerFromCP(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara, LogicalDirection.Forward); 154ITextPointer position = TextContainerHelper.GetTextPointerFromCP(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara + dcp, LogicalDirection.Forward); 171DependencyObject element = (pointer.Parent != null) ? pointer.Parent : _paraClient.Paragraph.Element; 192ITextPointer position = TextContainerHelper.GetTextPointerFromCP(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara + dcp, LogicalDirection.Forward); 240double pageHeight = _paraClient.Paragraph.StructuralCache.CurrentFormatContext.DocumentPageSize.Height; 241if (!_paraClient.Paragraph.StructuralCache.CurrentFormatContext.FinitePage)