5 instantiations of TextParagraph
PresentationFramework (5)
MS\Internal\PtsHost\ContainerParagraph.cs (5)
1046
paragraph = new
TextParagraph
(Element, StructuralCache);
1056
paragraph = new
TextParagraph
(Element, StructuralCache);
1084
paragraph = new
TextParagraph
(Element, StructuralCache);
1097
paragraph = new
TextParagraph
(Element, StructuralCache);
1106
paragraph = new
TextParagraph
(Element, StructuralCache);
53 references to TextParagraph
PresentationFramework (53)
MS\Internal\Documents\ParagraphResult.cs (2)
528
TextParagraph
textParagraph = _paraClient.Paragraph as
TextParagraph
;
MS\Internal\PtsHost\BaseParagraph.cs (3)
251
if(this is
TextParagraph
)
272
if(this is
TextParagraph
)
301
if (this is
TextParagraph
&& Element is TextElement)
MS\Internal\PtsHost\ContainerParagraph.cs (2)
398
((dcpPara + para.LastFormatCch == dtr.StartIndex) && para is
TextParagraph
)
1275
(dcpPara + para.LastFormatCch == ur.Dtr.StartIndex && para is
TextParagraph
))
MS\Internal\PtsHost\EmbeddedObject.cs (2)
146
internal InlineObject(int dcp, UIElementIsland uiElementIsland,
TextParagraph
para)
197
private
TextParagraph
_para;
MS\Internal\PtsHost\Line.cs (3)
311
inlineObjects.Add(new InlineObject(dcpRun, ((InlineObjectRun)run).UIElementIsland, (
TextParagraph
)_paraClient.Paragraph));
1225
private
TextParagraph
TextParagraph
1229
return _paraClient.Paragraph as
TextParagraph
;
MS\Internal\PtsHost\LineBase.cs (1)
321
run = new InlineObjectRun(TextContainerHelper.EmbeddedObjectLength, (UIElement)embeddedObject, textProps, _paraClient.Paragraph as
TextParagraph
);
MS\Internal\PtsHost\OptimalBreakSession.cs (3)
32
internal OptimalBreakSession(
TextParagraph
textParagraph, TextParaClient textParaClient, TextParagraphCache TextParagraphCache, OptimalTextSource optimalTextSource) : base(textParagraph.PtsContext)
69
internal
TextParagraph
TextParagraph { get { return _textParagraph; } }
79
private
TextParagraph
_textParagraph;
MS\Internal\PtsHost\PtsContext.cs (2)
141
if (objDbg is
TextParagraph
)
143
List<AttachedObject> attachedObjects = ((
TextParagraph
)objDbg).AttachedObjectDbg;
MS\Internal\PtsHost\PtsHost.cs (28)
1152
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1213
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1239
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1327
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1390
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1449
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1633
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1774
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1802
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1840
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1939
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1977
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
2036
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
2094
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
MS\Internal\PtsHost\RunClient.cs (2)
38
internal InlineObjectRun(int cch, UIElement element, TextRunProperties textProps,
TextParagraph
host)
181
private readonly
TextParagraph
_host;
MS\Internal\PtsHost\TextParaClient.cs (4)
41
internal TextParaClient(
TextParagraph
paragraph) : base(paragraph)
164
Debug.Assert(!((
TextParagraph
) Paragraph).HasFiguresFloatersOrInlineObjects());
1162
internal
TextParagraph
TextParagraph { get { return (
TextParagraph
)_paragraph; } }
MS\Internal\Text\LineProperties.cs (1)
165
internal double CalcLineAdvanceForTextParagraph(
TextParagraph
textParagraph, int dcp, double lineAdvance)