5 instantiations of TextParagraph
PresentationFramework (5)
MS\Internal\PtsHost\ContainerParagraph.cs (5)
1022paragraph = new TextParagraph(Element, StructuralCache); 1032paragraph = new TextParagraph(Element, StructuralCache); 1060paragraph = new TextParagraph(Element, StructuralCache); 1073paragraph = new TextParagraph(Element, StructuralCache); 1082paragraph = new TextParagraph(Element, StructuralCache);
53 references to TextParagraph
PresentationFramework (53)
MS\Internal\Documents\ParagraphResult.cs (2)
524TextParagraph textParagraph = _paraClient.Paragraph as TextParagraph;
MS\Internal\PtsHost\BaseParagraph.cs (3)
248if(this is TextParagraph) 269if(this is TextParagraph) 298if (this is TextParagraph && Element is TextElement)
MS\Internal\PtsHost\ContainerParagraph.cs (2)
379((dcpPara + para.LastFormatCch == dtr.StartIndex) && para is TextParagraph) 1252(dcpPara + para.LastFormatCch == ur.Dtr.StartIndex && para is TextParagraph))
MS\Internal\PtsHost\EmbeddedObject.cs (2)
144internal InlineObject(int dcp, UIElementIsland uiElementIsland, TextParagraph para) 195private TextParagraph _para;
MS\Internal\PtsHost\Line.cs (3)
293inlineObjects.Add(new InlineObject(dcpRun, ((InlineObjectRun)run).UIElementIsland, (TextParagraph)_paraClient.Paragraph)); 1206private TextParagraph TextParagraph 1210return _paraClient.Paragraph as TextParagraph;
MS\Internal\PtsHost\LineBase.cs (1)
310run = new InlineObjectRun(TextContainerHelper.EmbeddedObjectLength, (UIElement)embeddedObject, textProps, _paraClient.Paragraph as TextParagraph);
MS\Internal\PtsHost\OptimalBreakSession.cs (3)
24internal OptimalBreakSession(TextParagraph textParagraph, TextParaClient textParaClient, TextParagraphCache TextParagraphCache, OptimalTextSource optimalTextSource) : base(textParagraph.PtsContext) 55internal TextParagraph TextParagraph { get { return _textParagraph; } } 65private TextParagraph _textParagraph;
MS\Internal\PtsHost\PtsContext.cs (2)
137if (objDbg is TextParagraph) 139List<AttachedObject> attachedObjects = ((TextParagraph)objDbg).AttachedObjectDbg;
MS\Internal\PtsHost\PtsHost.cs (28)
1137TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1198TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1224TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1312TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1375TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1434TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1614TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1755TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1783TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1821TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1920TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1958TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2015TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2073TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph;
MS\Internal\PtsHost\RunClient.cs (2)
34internal InlineObjectRun(int cch, UIElement element, TextRunProperties textProps, TextParagraph host) 177private readonly TextParagraph _host;
MS\Internal\PtsHost\TextParaClient.cs (4)
34internal TextParaClient(TextParagraph paragraph) : base(paragraph) 157Debug.Assert(!((TextParagraph) Paragraph).HasFiguresFloatersOrInlineObjects()); 1155internal TextParagraph TextParagraph { get { return (TextParagraph)_paragraph; } }
MS\Internal\Text\LineProperties.cs (1)
160internal double CalcLineAdvanceForTextParagraph(TextParagraph textParagraph, int dcp, double lineAdvance)