13 references to GetCPFromElement
PresentationFramework (13)
src\Framework\MS\Internal\PtsHost\BaseParagraph.cs (5)
186
int openEdgeCp = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.BeforeStart);
257
return TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);
261
return TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.BeforeStart);
278
return TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.BeforeEnd);
282
return TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterEnd);
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (2)
179
CellParagraph.InvalidateStructure(TextContainerHelper.
GetCPFromElement
(CellParagraph.StructuralCache.TextContainer, CellParagraph.Element, ElementEdge.BeforeStart));
253
CellParagraph.InvalidateStructure(TextContainerHelper.
GetCPFromElement
(CellParagraph.StructuralCache.TextContainer, CellParagraph.Element, ElementEdge.BeforeStart));
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (4)
102
int cpCurrent = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);
379
TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.BeforeStart), LastFormatCch);
386
int dcpContent = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);
1176
int cpContent = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);
src\Framework\MS\Internal\PtsHost\Line.cs (1)
133
int cpFigure = TextContainerHelper.
GetCPFromElement
(_paraClient.Paragraph.StructuralCache.TextContainer, paraFigure.Element, ElementEdge.BeforeStart);
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (1)
1746
int cpElement = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);