5 instantiations of TextParagraph
PresentationFramework (5)
MS\Internal\PtsHost\ContainerParagraph.cs (5)
1041
paragraph = new
TextParagraph
(Element, StructuralCache);
1051
paragraph = new
TextParagraph
(Element, StructuralCache);
1079
paragraph = new
TextParagraph
(Element, StructuralCache);
1092
paragraph = new
TextParagraph
(Element, StructuralCache);
1101
paragraph = new
TextParagraph
(Element, StructuralCache);
53 references to TextParagraph
PresentationFramework (53)
MS\Internal\Documents\ParagraphResult.cs (2)
525
TextParagraph
textParagraph = _paraClient.Paragraph as
TextParagraph
;
MS\Internal\PtsHost\BaseParagraph.cs (3)
249
if(this is
TextParagraph
)
270
if(this is
TextParagraph
)
299
if (this is
TextParagraph
&& Element is TextElement)
MS\Internal\PtsHost\ContainerParagraph.cs (2)
393
((dcpPara + para.LastFormatCch == dtr.StartIndex) && para is
TextParagraph
)
1270
(dcpPara + para.LastFormatCch == ur.Dtr.StartIndex && para is
TextParagraph
))
MS\Internal\PtsHost\EmbeddedObject.cs (2)
145
internal InlineObject(int dcp, UIElementIsland uiElementIsland,
TextParagraph
para)
196
private
TextParagraph
_para;
MS\Internal\PtsHost\Line.cs (3)
305
inlineObjects.Add(new InlineObject(dcpRun, ((InlineObjectRun)run).UIElementIsland, (
TextParagraph
)_paraClient.Paragraph));
1219
private
TextParagraph
TextParagraph
1223
return _paraClient.Paragraph as
TextParagraph
;
MS\Internal\PtsHost\LineBase.cs (1)
315
run = new InlineObjectRun(TextContainerHelper.EmbeddedObjectLength, (UIElement)embeddedObject, textProps, _paraClient.Paragraph as
TextParagraph
);
MS\Internal\PtsHost\OptimalBreakSession.cs (3)
25
internal OptimalBreakSession(
TextParagraph
textParagraph, TextParaClient textParaClient, TextParagraphCache TextParagraphCache, OptimalTextSource optimalTextSource) : base(textParagraph.PtsContext)
62
internal
TextParagraph
TextParagraph { get { return _textParagraph; } }
72
private
TextParagraph
_textParagraph;
MS\Internal\PtsHost\PtsContext.cs (2)
138
if (objDbg is
TextParagraph
)
140
List<AttachedObject> attachedObjects = ((
TextParagraph
)objDbg).AttachedObjectDbg;
MS\Internal\PtsHost\PtsHost.cs (28)
1147
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1208
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1234
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1322
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1385
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1444
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1628
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1769
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1797
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1835
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1934
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1972
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
2031
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
2089
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
MS\Internal\PtsHost\RunClient.cs (2)
35
internal InlineObjectRun(int cch, UIElement element, TextRunProperties textProps,
TextParagraph
host)
178
private readonly
TextParagraph
_host;
MS\Internal\PtsHost\TextParaClient.cs (4)
35
internal TextParaClient(
TextParagraph
paragraph) : base(paragraph)
158
Debug.Assert(!((
TextParagraph
) Paragraph).HasFiguresFloatersOrInlineObjects());
1156
internal
TextParagraph
TextParagraph { get { return (
TextParagraph
)_paragraph; } }
MS\Internal\Text\LineProperties.cs (1)
161
internal double CalcLineAdvanceForTextParagraph(
TextParagraph
textParagraph, int dcp, double lineAdvance)