5 instantiations of TextParagraph
PresentationFramework (5)
MS\Internal\PtsHost\ContainerParagraph.cs (5)
1026
paragraph = new
TextParagraph
(Element, StructuralCache);
1036
paragraph = new
TextParagraph
(Element, StructuralCache);
1064
paragraph = new
TextParagraph
(Element, StructuralCache);
1077
paragraph = new
TextParagraph
(Element, StructuralCache);
1086
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)
380
((dcpPara + para.LastFormatCch == dtr.StartIndex) && para is
TextParagraph
)
1256
(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)
297
inlineObjects.Add(new InlineObject(dcpRun, ((InlineObjectRun)run).UIElementIsland, (
TextParagraph
)_paraClient.Paragraph));
1210
private
TextParagraph
TextParagraph
1214
return _paraClient.Paragraph as
TextParagraph
;
MS\Internal\PtsHost\LineBase.cs (1)
311
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)
1138
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1199
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1225
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1313
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1376
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1435
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1615
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1756
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1784
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1822
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1921
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
1959
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
2016
TextParagraph
para = PtsContext.HandleToObject(nmp) as
TextParagraph
;
2074
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)