213 references to HandleToObject
PresentationFramework (213)
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (3)
219MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 274MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 326MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (3)
343paraClient = Paragraph.StructuralCache.PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 403BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 454BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[0].pfsparaclient) as BaseParaClient;
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (3)
598mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 735mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 872mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (2)
657BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 697BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (2)
223MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 263MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (2)
663BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 703BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (4)
295MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 320MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 472MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 495MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (2)
572paraClient = this.StructuralCache.PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 613BaseParaClient paraClient = StructuralCache.PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
src\Framework\MS\Internal\PtsHost\ListParaClient.cs (1)
97BaseParaClient listItemParaClient = PtsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient;
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (6)
180BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 283BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 380BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 450BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 535BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 852paraClient = ptsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
src\Framework\MS\Internal\PtsHost\PtsHost.cs (145)
172FigureParagraph para = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 174FigureParaClient paraClient = PtsContext.HandleToObject(pfsparaclientFigure) as FigureParaClient; 219FigureParagraph para = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 221FigureParaClient paraClient = PtsContext.HandleToObject(pfsparaclientFigure) as FigureParaClient; 261FigureParagraph para = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 263FigureParaClient paraClient = PtsContext.HandleToObject(pfsparaclientFigure) as FigureParaClient; 295Section section = PtsContext.HandleToObject(nms) as Section; 325Section section = PtsContext.HandleToObject(nms) as Section; 353Section section = PtsContext.HandleToObject(nmsCur) as Section; 384Section section = PtsContext.HandleToObject(nms) as Section; 425Section section = PtsContext.HandleToObject(rgnms[0]) as Section; 454Section section = PtsContext.HandleToObject(nmsSection) as Section; 488Section section = PtsContext.HandleToObject(nms) as Section; 523Section section = PtsContext.HandleToObject(nms) as Section; 550ContainerParagraph segment = PtsContext.HandleToObject(nms) as ContainerParagraph; 586Section section = PtsContext.HandleToObject(nms) as Section; 647ISegment segment = PtsContext.HandleToObject(nms) as ISegment; 675ISegment segment = PtsContext.HandleToObject(nms) as ISegment; 677BaseParagraph currentParagraph = PtsContext.HandleToObject(nmpCur) as BaseParagraph; 705ISegment segment = PtsContext.HandleToObject(nms) as ISegment; 732BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 760BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 784BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 810BaseParaClient paraClientOld = PtsContext.HandleToObject(pfsparaclientOld) as BaseParaClient; 812BaseParaClient paraClientNew = PtsContext.HandleToObject(pfsparaclientNew) as BaseParaClient; 835BaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as BaseParaClient; 871Section section = PtsContext.HandleToObject(nmsSection) as Section; 898Section section = PtsContext.HandleToObject(nmsSection) as Section; 1033MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 1058MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclient) as MarginCollapsingState; 1089MarginCollapsingState mcs1 = PtsContext.HandleToObject(pmcsclient1) as MarginCollapsingState; 1091MarginCollapsingState mcs2 = PtsContext.HandleToObject(pmcsclient2) as MarginCollapsingState; 1122BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 1124BaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as BaseParaClient; 1129mcs = PtsContext.HandleToObject(pmcsclient) as MarginCollapsingState; 1207TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1210TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1216lineBreakRecord = PtsContext.HandleToObject(pfsbreakreclineclient) as LineBreakRecord; 1252OptimalBreakSession optimalBreakSession = PtsContext.HandleToObject(pfsparabreakingsession) as OptimalBreakSession; 1268TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1294TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1390TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1392Line line = PtsContext.HandleToObject(pfslineLast) as Line; 1401Invariant.Assert(PtsContext.HandleToObject(pfslineLast) is LineBreakpoint); 1453TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1455TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1512TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1514TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1566OptimalBreakSession optimalBreakSession = PtsContext.HandleToObject(pfsparabreakingsession) as OptimalBreakSession; 1573LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrlineIn) as LineBreakRecord; 1700TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1702TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1730UnmanagedHandle unmanagedHandle = (UnmanagedHandle) PtsContext.HandleToObject(pfsline); 1743LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrlineIn) as LineBreakRecord; 1768LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrlineIn) as LineBreakRecord; 1804Line line = PtsContext.HandleToObject(pfsline) as Line; 1841TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1869TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1907TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2014TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2056TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2115TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2118LineBase lineBase = PtsContext.HandleToObject(pfsline) as LineBase; 2122LineBreakpoint lineBreakpoint = PtsContext.HandleToObject(pfsline) as LineBreakpoint; 2179TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2230BaseParagraph para = PtsContext.HandleToObject(nmpObject) as BaseParagraph; 2262Line line = PtsContext.HandleToObject(pfsline) as Line; 2266FigureParagraph paraFigure = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 2303FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2354FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2356FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2397FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2399FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2440FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2442FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2487FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2489FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2520FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2541FloaterBaseParaClient paraClientOld = PtsContext.HandleToObject(pfsFloaterContentOld) as FloaterBaseParaClient; 2542FloaterBaseParaClient paraClientNew = PtsContext.HandleToObject(pfsFloaterContentNew) as FloaterBaseParaClient; 2585FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2606FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsbrkFloaterContent) as FloaterBaseParaClient; 2627FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsbrkFloaterContent) as FloaterBaseParaClient; 2651FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2684FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2717FloaterBaseParaClient paraClientOld = PtsContext.HandleToObject(pfsFloaterContentOld) as FloaterBaseParaClient; 2718FloaterBaseParaClient paraClientNew = PtsContext.HandleToObject(pfsFloaterContentNew) as FloaterBaseParaClient; 2738FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2743mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2774FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2779mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2857ContainerParagraph para = PtsContext.HandleToObject(nmp) as ContainerParagraph; 2859ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 2864mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2918ContainerParagraph para = PtsContext.HandleToObject(nmp) as ContainerParagraph; 2920ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 2925mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2980ContainerParagraph para = PtsContext.HandleToObject(nmp) as ContainerParagraph; 2982ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 2987mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3027ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 3226SubpageParagraph para = PtsContext.HandleToObject(nmp) as SubpageParagraph; 3228SubpageParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as SubpageParaClient; 3233mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3282SubpageParagraph para = PtsContext.HandleToObject(nmp) as SubpageParagraph; 3284SubpageParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as SubpageParaClient; 3289mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3345SubpageParagraph para = PtsContext.HandleToObject(nmp) as SubpageParagraph; 3347SubpageParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as SubpageParaClient; 3352mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3528TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3558TableParaClient paraClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3591TableParaClient paraClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3623TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3652TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3684TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3715TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3747TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3777TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3808TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3840TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3879TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3915TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3918RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3949CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3979TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 4007RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 4043RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 4070RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 4108RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 4158CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 4161TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 4200CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 4203TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 4244CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 4247CellParaClient cellParaClient = PtsContext.HandleToObject(pfscell) as CellParaClient; 4250TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 4305CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 4308CellParaClient cellParaClient = PtsContext.HandleToObject(pfscell) as CellParaClient; 4311TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 4363CellParaClient cellParaClient = PtsContext.HandleToObject(pfsCell) as CellParaClient; 4388CellParaClient cellParaClient = PtsContext.HandleToObject(pfsCell) as CellParaClient; 4416CellParaClient cellParaClient = PtsContext.HandleToObject(pfscell) as CellParaClient; 4443CellParaClient paraClientOld = PtsContext.HandleToObject(pfscellOld) as CellParaClient; 4445CellParaClient paraClientNew = PtsContext.HandleToObject(pfscellNew) as CellParaClient;
src\Framework\MS\Internal\PtsHost\RowParagraph.cs (1)
215CellParaClient cellParaClient = PtsContext.HandleToObject(rgpfsCell[index]) as CellParaClient;
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (2)
698BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 737paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (3)
271mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 447mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 615mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (23)
159CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 273rowParagraph = (RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow)); 378CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 432CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 512CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 575TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 609CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 691CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 761RowParagraph rowParagraph = (RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow)); 825CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 921CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 994CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1060CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1145CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1226TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 1433RowParagraph rowParagraph = (RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[0].fsnmRow)); 1444row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[arrayTableRowDesc.Length - 1].fsnmRow))).Row; 1481Debug.Assert(TableParagraph == (TableParagraph)(PtsContext.HandleToObject(tableObjDetails.fsnmTable))); 1679cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1798cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1958TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[0].fsnmRow))).Row; 1963row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 2018TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
src\Framework\MS\Internal\PtsHost\TableParagraph.cs (2)
194mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 322BaseParagraph prevParagraph = ((RowParagraph)PtsContext.HandleToObject(nmRow));
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (7)
205BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 319BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 469BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 513BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 1509BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 2562BaseParaClient objectParaClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 4042paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (2)
1352LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrLineIn) as LineBreakRecord; 1446paraClient = PtsContext.HandleToObject(arrayAttachedObjectDesc[index].pfsparaclient) as BaseParaClient;