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