213 references to HandleToObject
PresentationFramework (213)
MS\Internal\PtsHost\CellParaClient.cs (3)
196MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 246MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 293MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\ContainerParaClient.cs (3)
289paraClient = Paragraph.StructuralCache.PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 342BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 386BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[0].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\ContainerParagraph.cs (3)
562mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 692mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 822mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\FigureParaClient.cs (2)
581BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 621BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\FigureParagraph.cs (2)
201MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 241MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\FloaterParaClient.cs (2)
590BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 630BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\FloaterParagraph.cs (4)
281MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 306MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 453MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 476MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
547paraClient = this.StructuralCache.PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 583BaseParaClient paraClient = StructuralCache.PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\ListParaClient.cs (1)
82BaseParaClient listItemParaClient = PtsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\PtsHelper.cs (6)
158BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 255BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 346BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 410BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 489BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 745paraClient = ptsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\PtsHost.cs (145)
146FigureParagraph para = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 148FigureParaClient paraClient = PtsContext.HandleToObject(pfsparaclientFigure) as FigureParaClient; 187FigureParagraph para = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 189FigureParaClient paraClient = PtsContext.HandleToObject(pfsparaclientFigure) as FigureParaClient; 229FigureParagraph para = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 231FigureParaClient paraClient = PtsContext.HandleToObject(pfsparaclientFigure) as FigureParaClient; 263Section section = PtsContext.HandleToObject(nms) as Section; 293Section section = PtsContext.HandleToObject(nms) as Section; 321Section section = PtsContext.HandleToObject(nmsCur) as Section; 352Section section = PtsContext.HandleToObject(nms) as Section; 387Section section = PtsContext.HandleToObject(rgnms[0]) as Section; 416Section section = PtsContext.HandleToObject(nmsSection) as Section; 450Section section = PtsContext.HandleToObject(nms) as Section; 485Section section = PtsContext.HandleToObject(nms) as Section; 512ContainerParagraph segment = PtsContext.HandleToObject(nms) as ContainerParagraph; 542Section section = PtsContext.HandleToObject(nms) as Section; 595ISegment segment = PtsContext.HandleToObject(nms) as ISegment; 623ISegment segment = PtsContext.HandleToObject(nms) as ISegment; 625BaseParagraph currentParagraph = PtsContext.HandleToObject(nmpCur) as BaseParagraph; 653ISegment segment = PtsContext.HandleToObject(nms) as ISegment; 680BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 708BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 732BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 758BaseParaClient paraClientOld = PtsContext.HandleToObject(pfsparaclientOld) as BaseParaClient; 760BaseParaClient paraClientNew = PtsContext.HandleToObject(pfsparaclientNew) as BaseParaClient; 783BaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as BaseParaClient; 819Section section = PtsContext.HandleToObject(nmsSection) as Section; 846Section section = PtsContext.HandleToObject(nmsSection) as Section; 969MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 994MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclient) as MarginCollapsingState; 1025MarginCollapsingState mcs1 = PtsContext.HandleToObject(pmcsclient1) as MarginCollapsingState; 1027MarginCollapsingState mcs2 = PtsContext.HandleToObject(pmcsclient2) as MarginCollapsingState; 1058BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 1060BaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as BaseParaClient; 1065mcs = PtsContext.HandleToObject(pmcsclient) as MarginCollapsingState; 1137TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1140TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1146lineBreakRecord = PtsContext.HandleToObject(pfsbreakreclineclient) as LineBreakRecord; 1182OptimalBreakSession optimalBreakSession = PtsContext.HandleToObject(pfsparabreakingsession) as OptimalBreakSession; 1198TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1224TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1312TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1314Line line = PtsContext.HandleToObject(pfslineLast) as Line; 1323Invariant.Assert(PtsContext.HandleToObject(pfslineLast) is LineBreakpoint); 1375TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1377TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1434TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1436TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1484OptimalBreakSession optimalBreakSession = PtsContext.HandleToObject(pfsparabreakingsession) as OptimalBreakSession; 1491LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrlineIn) as LineBreakRecord; 1614TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1616TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1644UnmanagedHandle unmanagedHandle = (UnmanagedHandle) PtsContext.HandleToObject(pfsline); 1657LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrlineIn) as LineBreakRecord; 1682LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrlineIn) as LineBreakRecord; 1718Line line = PtsContext.HandleToObject(pfsline) as Line; 1755TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1783TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1821TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1920TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1958TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2015TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2018LineBase lineBase = PtsContext.HandleToObject(pfsline) as LineBase; 2022LineBreakpoint lineBreakpoint = PtsContext.HandleToObject(pfsline) as LineBreakpoint; 2073TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2122BaseParagraph para = PtsContext.HandleToObject(nmpObject) as BaseParagraph; 2154Line line = PtsContext.HandleToObject(pfsline) as Line; 2158FigureParagraph paraFigure = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 2195FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2241FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2243FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2284FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2286FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2327FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2329FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2368FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2370FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2395FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2412FloaterBaseParaClient paraClientOld = PtsContext.HandleToObject(pfsFloaterContentOld) as FloaterBaseParaClient; 2413FloaterBaseParaClient paraClientNew = PtsContext.HandleToObject(pfsFloaterContentNew) as FloaterBaseParaClient; 2451FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2467FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsbrkFloaterContent) as FloaterBaseParaClient; 2483FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsbrkFloaterContent) as FloaterBaseParaClient; 2502FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2531FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2559FloaterBaseParaClient paraClientOld = PtsContext.HandleToObject(pfsFloaterContentOld) as FloaterBaseParaClient; 2560FloaterBaseParaClient paraClientNew = PtsContext.HandleToObject(pfsFloaterContentNew) as FloaterBaseParaClient; 2580FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2585mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2616FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2621mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2695ContainerParagraph para = PtsContext.HandleToObject(nmp) as ContainerParagraph; 2697ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 2702mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2752ContainerParagraph para = PtsContext.HandleToObject(nmp) as ContainerParagraph; 2754ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 2759mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2809ContainerParagraph para = PtsContext.HandleToObject(nmp) as ContainerParagraph; 2811ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 2816mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2852ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 3010SubpageParagraph para = PtsContext.HandleToObject(nmp) as SubpageParagraph; 3012SubpageParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as SubpageParaClient; 3017mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3066SubpageParagraph para = PtsContext.HandleToObject(nmp) as SubpageParagraph; 3068SubpageParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as SubpageParaClient; 3073mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3124SubpageParagraph para = PtsContext.HandleToObject(nmp) as SubpageParagraph; 3126SubpageParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as SubpageParaClient; 3131mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3266TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3296TableParaClient paraClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3329TableParaClient paraClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3361TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3390TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3422TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3453TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3485TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3515TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3546TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3578TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3617TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3653TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3656RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3687CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3717TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3745RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3775RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3802RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3834RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3880CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3883TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3922CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3925TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3966CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3969CellParaClient cellParaClient = PtsContext.HandleToObject(pfscell) as CellParaClient; 3972TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 4027CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 4030CellParaClient cellParaClient = PtsContext.HandleToObject(pfscell) as CellParaClient; 4033TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 4077CellParaClient cellParaClient = PtsContext.HandleToObject(pfsCell) as CellParaClient; 4099CellParaClient cellParaClient = PtsContext.HandleToObject(pfsCell) as CellParaClient; 4127CellParaClient cellParaClient = PtsContext.HandleToObject(pfscell) as CellParaClient; 4154CellParaClient paraClientOld = PtsContext.HandleToObject(pfscellOld) as CellParaClient; 4156CellParaClient paraClientNew = PtsContext.HandleToObject(pfscellNew) as CellParaClient;
MS\Internal\PtsHost\RowParagraph.cs (1)
201CellParaClient cellParaClient = PtsContext.HandleToObject(rgpfsCell[index]) as CellParaClient;
MS\Internal\PtsHost\SubpageParaClient.cs (2)
622BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 657paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\SubpageParagraph.cs (3)
242mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 406mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 565mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\TableParaClient.cs (23)
140CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 246rowParagraph = (RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow)); 346CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 394CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 468CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 525TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 559CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 635CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 699RowParagraph rowParagraph = (RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow)); 757CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 852CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 919CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 979CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1058CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1132TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 1335RowParagraph rowParagraph = (RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[0].fsnmRow)); 1346row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[arrayTableRowDesc.Length - 1].fsnmRow))).Row; 1377Debug.Assert(TableParagraph == (TableParagraph)(PtsContext.HandleToObject(tableObjDetails.fsnmTable))); 1565cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1679cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1835TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[0].fsnmRow))).Row; 1840row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 1890TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
MS\Internal\PtsHost\TableParagraph.cs (2)
176mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 304BaseParagraph prevParagraph = ((RowParagraph)PtsContext.HandleToObject(nmRow));
MS\Internal\PtsHost\TextParaClient.cs (7)
176BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 271BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 403BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 440BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 1324BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 2337BaseParaClient objectParaClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 3755paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\TextParagraph.cs (2)
1314LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrLineIn) as LineBreakRecord; 1408paraClient = PtsContext.HandleToObject(arrayAttachedObjectDesc[index].pfsparaclient) as BaseParaClient;