13 references to GetCPFromElement
PresentationFramework (13)
MS\Internal\PtsHost\BaseParagraph.cs (5)
180
int openEdgeCp = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.BeforeStart);
251
return TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);
255
return TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.BeforeStart);
272
return TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.BeforeEnd);
276
return TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterEnd);
MS\Internal\PtsHost\CellParaClient.cs (2)
157
CellParagraph.InvalidateStructure(TextContainerHelper.
GetCPFromElement
(CellParagraph.StructuralCache.TextContainer, CellParagraph.Element, ElementEdge.BeforeStart));
226
CellParagraph.InvalidateStructure(TextContainerHelper.
GetCPFromElement
(CellParagraph.StructuralCache.TextContainer, CellParagraph.Element, ElementEdge.BeforeStart));
MS\Internal\PtsHost\ContainerParagraph.cs (4)
93
int cpCurrent = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);
369
TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.BeforeStart), LastFormatCch);
376
int dcpContent = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);
1145
int cpContent = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);
MS\Internal\PtsHost\Line.cs (1)
124
int cpFigure = TextContainerHelper.
GetCPFromElement
(_paraClient.Paragraph.StructuralCache.TextContainer, paraFigure.Element, ElementEdge.BeforeStart);
MS\Internal\PtsHost\TextParagraph.cs (1)
1731
int cpElement = TextContainerHelper.
GetCPFromElement
(StructuralCache.TextContainer, Element, ElementEdge.AfterStart);