5 instantiations of TextParagraph
PresentationFramework (5)
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (5)
1072
paragraph = new
TextParagraph
(Element, StructuralCache);
1082
paragraph = new
TextParagraph
(Element, StructuralCache);
1110
paragraph = new
TextParagraph
(Element, StructuralCache);
1123
paragraph = new
TextParagraph
(Element, StructuralCache);
1132
paragraph = new
TextParagraph
(Element, StructuralCache);
51 references to TextParagraph
PresentationFramework (51)
src\Framework\MS\Internal\Documents\ParagraphResult.cs (2)
534
TextParagraph
textParagraph = _paraClient.Paragraph as
TextParagraph
;
src\Framework\MS\Internal\PtsHost\BaseParagraph.cs (3)
255
if(this is
TextParagraph
)
276
if(this is
TextParagraph
)
305
if (this is
TextParagraph
&& Element is TextElement)
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (2)
403
((dcpPara + para.LastFormatCch == dtr.StartIndex) && para is
TextParagraph
)
1301
(dcpPara + para.LastFormatCch == ur.Dtr.StartIndex && para is
TextParagraph
))
src\Framework\MS\Internal\PtsHost\EmbeddedObject.cs (2)
149
internal InlineObject(int dcp, UIElementIsland uiElementIsland,
TextParagraph
para)
200
private
TextParagraph
_para;
src\Framework\MS\Internal\PtsHost\Line.cs (3)
314
inlineObjects.Add(new InlineObject(dcpRun, ((InlineObjectRun)run).UIElementIsland, (
TextParagraph
)_paraClient.Paragraph));
1233
private
TextParagraph
TextParagraph
1237
return _paraClient.Paragraph as
TextParagraph
;
src\Framework\MS\Internal\PtsHost\LineBase.cs (1)
326
run = new InlineObjectRun(TextContainerHelper.EmbeddedObjectLength, (UIElement)embeddedObject, textProps, _paraClient.Paragraph as
TextParagraph
);
src\Framework\MS\Internal\PtsHost\OptimalBreakSession.cs (3)
36
internal OptimalBreakSession(
TextParagraph
textParagraph, TextParaClient textParaClient, TextParagraphCache TextParagraphCache, OptimalTextSource optimalTextSource) : base(textParagraph.PtsContext)
73
internal
TextParagraph
TextParagraph { get { return _textParagraph; } }
83
private
TextParagraph
_textParagraph;
src\Framework\MS\Internal\PtsHost\PtsHost.cs (28)
1207
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1268
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1294
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1390
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1453
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1512
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1700
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1841
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1869
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1907
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
2014
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
2056
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
2115
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
2179
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
src\Framework\MS\Internal\PtsHost\RunClient.cs (2)
41
internal InlineObjectRun(int cch, UIElement element, TextRunProperties textProps,
TextParagraph
host)
184
private readonly
TextParagraph
_host;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (4)
44
internal TextParaClient(
TextParagraph
paragraph) : base(paragraph)
186
Debug.Assert(!((
TextParagraph
) Paragraph).HasFiguresFloatersOrInlineObjects());
1319
internal
TextParagraph
TextParagraph { get { return (
TextParagraph
)_paragraph; } }
src\Framework\MS\Internal\Text\LineProperties.cs (1)
168
internal double CalcLineAdvanceForTextParagraph(
TextParagraph
textParagraph, int dcp, double lineAdvance)