13 references to GetCPFromElement
PresentationFramework (13)
MS\Internal\PtsHost\BaseParagraph.cs (5)
182
int openEdgeCp = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.BeforeStart);
253
return TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);
257
return TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.BeforeStart);
274
return TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.BeforeEnd);
278
return TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterEnd);
MS\Internal\PtsHost\CellParaClient.cs (2)
162
CellParagraph.InvalidateStructure(TextContainerHelper.
GetCPFromElement
(CellParagraph.StructuralCache.TextContainer, CellParagraph.Element, ElementEdge.BeforeStart));
231
CellParagraph.InvalidateStructure(TextContainerHelper.
GetCPFromElement
(CellParagraph.StructuralCache.TextContainer, CellParagraph.Element, ElementEdge.BeforeStart));
MS\Internal\PtsHost\ContainerParagraph.cs (4)
98
int cpCurrent = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);
374
TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.BeforeStart), LastFormatCch);
381
int dcpContent = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);
1150
int cpContent = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);
MS\Internal\PtsHost\Line.cs (1)
130
int cpFigure = TextContainerHelper.
GetCPFromElement
(_paraClient.Paragraph.StructuralCache.TextContainer, paraFigure.Element, ElementEdge.BeforeStart);
MS\Internal\PtsHost\TextParagraph.cs (1)
1738
int cpElement = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);