213 references to HandleToObject
PresentationFramework (213)
MS\Internal\PtsHost\CellParaClient.cs (3)
202MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 252MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 299MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\ContainerParaClient.cs (3)
295paraClient = Paragraph.StructuralCache.PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 348BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 392BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[0].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\ContainerParagraph.cs (3)
586mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 716mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 846mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\FigureParaClient.cs (2)
590BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 630BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\FigureParagraph.cs (2)
213MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 253MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\FloaterParaClient.cs (2)
598BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 638BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\FloaterParagraph.cs (4)
287MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 312MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 457MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 480MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
556paraClient = this.StructuralCache.PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 592BaseParaClient paraClient = StructuralCache.PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\ListParaClient.cs (1)
87BaseParaClient listItemParaClient = PtsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\PtsHelper.cs (6)
164BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 261BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 352BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 416BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 495BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 751paraClient = ptsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\PtsHost.cs (145)
161FigureParagraph para = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 163FigureParaClient paraClient = PtsContext.HandleToObject(pfsparaclientFigure) as FigureParaClient; 202FigureParagraph para = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 204FigureParaClient paraClient = PtsContext.HandleToObject(pfsparaclientFigure) as FigureParaClient; 244FigureParagraph para = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 246FigureParaClient paraClient = PtsContext.HandleToObject(pfsparaclientFigure) as FigureParaClient; 278Section section = PtsContext.HandleToObject(nms) as Section; 308Section section = PtsContext.HandleToObject(nms) as Section; 336Section section = PtsContext.HandleToObject(nmsCur) as Section; 367Section section = PtsContext.HandleToObject(nms) as Section; 402Section section = PtsContext.HandleToObject(rgnms[0]) as Section; 431Section section = PtsContext.HandleToObject(nmsSection) as Section; 465Section section = PtsContext.HandleToObject(nms) as Section; 500Section section = PtsContext.HandleToObject(nms) as Section; 527ContainerParagraph segment = PtsContext.HandleToObject(nms) as ContainerParagraph; 557Section section = PtsContext.HandleToObject(nms) as Section; 610ISegment segment = PtsContext.HandleToObject(nms) as ISegment; 638ISegment segment = PtsContext.HandleToObject(nms) as ISegment; 640BaseParagraph currentParagraph = PtsContext.HandleToObject(nmpCur) as BaseParagraph; 668ISegment segment = PtsContext.HandleToObject(nms) as ISegment; 695BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 723BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 747BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 773BaseParaClient paraClientOld = PtsContext.HandleToObject(pfsparaclientOld) as BaseParaClient; 775BaseParaClient paraClientNew = PtsContext.HandleToObject(pfsparaclientNew) as BaseParaClient; 798BaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as BaseParaClient; 834Section section = PtsContext.HandleToObject(nmsSection) as Section; 861Section section = PtsContext.HandleToObject(nmsSection) as Section; 984MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 1009MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclient) as MarginCollapsingState; 1040MarginCollapsingState mcs1 = PtsContext.HandleToObject(pmcsclient1) as MarginCollapsingState; 1042MarginCollapsingState mcs2 = PtsContext.HandleToObject(pmcsclient2) as MarginCollapsingState; 1073BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 1075BaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as BaseParaClient; 1080mcs = PtsContext.HandleToObject(pmcsclient) as MarginCollapsingState; 1152TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1155TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1161lineBreakRecord = PtsContext.HandleToObject(pfsbreakreclineclient) as LineBreakRecord; 1197OptimalBreakSession optimalBreakSession = PtsContext.HandleToObject(pfsparabreakingsession) as OptimalBreakSession; 1213TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1239TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1327TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1329Line line = PtsContext.HandleToObject(pfslineLast) as Line; 1338Invariant.Assert(PtsContext.HandleToObject(pfslineLast) is LineBreakpoint); 1390TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1392TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1449TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1451TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1499OptimalBreakSession optimalBreakSession = PtsContext.HandleToObject(pfsparabreakingsession) as OptimalBreakSession; 1506LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrlineIn) as LineBreakRecord; 1633TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1635TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1663UnmanagedHandle unmanagedHandle = (UnmanagedHandle) PtsContext.HandleToObject(pfsline); 1676LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrlineIn) as LineBreakRecord; 1701LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrlineIn) as LineBreakRecord; 1737Line line = PtsContext.HandleToObject(pfsline) as Line; 1774TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1802TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1840TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1939TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1977TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2036TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2039LineBase lineBase = PtsContext.HandleToObject(pfsline) as LineBase; 2043LineBreakpoint lineBreakpoint = PtsContext.HandleToObject(pfsline) as LineBreakpoint; 2094TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2145BaseParagraph para = PtsContext.HandleToObject(nmpObject) as BaseParagraph; 2177Line line = PtsContext.HandleToObject(pfsline) as Line; 2181FigureParagraph paraFigure = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 2218FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2264FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2266FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2307FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2309FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2350FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2352FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2391FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2393FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2418FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2435FloaterBaseParaClient paraClientOld = PtsContext.HandleToObject(pfsFloaterContentOld) as FloaterBaseParaClient; 2436FloaterBaseParaClient paraClientNew = PtsContext.HandleToObject(pfsFloaterContentNew) as FloaterBaseParaClient; 2474FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2490FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsbrkFloaterContent) as FloaterBaseParaClient; 2506FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsbrkFloaterContent) as FloaterBaseParaClient; 2525FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2554FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2582FloaterBaseParaClient paraClientOld = PtsContext.HandleToObject(pfsFloaterContentOld) as FloaterBaseParaClient; 2583FloaterBaseParaClient paraClientNew = PtsContext.HandleToObject(pfsFloaterContentNew) as FloaterBaseParaClient; 2603FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2608mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2639FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2644mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2718ContainerParagraph para = PtsContext.HandleToObject(nmp) as ContainerParagraph; 2720ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 2725mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2775ContainerParagraph para = PtsContext.HandleToObject(nmp) as ContainerParagraph; 2777ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 2782mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2832ContainerParagraph para = PtsContext.HandleToObject(nmp) as ContainerParagraph; 2834ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 2839mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2875ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 3033SubpageParagraph para = PtsContext.HandleToObject(nmp) as SubpageParagraph; 3035SubpageParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as SubpageParaClient; 3040mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3089SubpageParagraph para = PtsContext.HandleToObject(nmp) as SubpageParagraph; 3091SubpageParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as SubpageParaClient; 3096mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3147SubpageParagraph para = PtsContext.HandleToObject(nmp) as SubpageParagraph; 3149SubpageParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as SubpageParaClient; 3154mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3289TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3319TableParaClient paraClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3352TableParaClient paraClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3384TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3413TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3445TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3476TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3508TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3538TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3569TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3601TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3640TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3676TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3679RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3710CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3740TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3768RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3798RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3825RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3857RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3903CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3906TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3945CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3948TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3989CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3992CellParaClient cellParaClient = PtsContext.HandleToObject(pfscell) as CellParaClient; 3995TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 4050CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 4053CellParaClient cellParaClient = PtsContext.HandleToObject(pfscell) as CellParaClient; 4056TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 4100CellParaClient cellParaClient = PtsContext.HandleToObject(pfsCell) as CellParaClient; 4125CellParaClient cellParaClient = PtsContext.HandleToObject(pfsCell) as CellParaClient; 4153CellParaClient cellParaClient = PtsContext.HandleToObject(pfscell) as CellParaClient; 4180CellParaClient paraClientOld = PtsContext.HandleToObject(pfscellOld) as CellParaClient; 4182CellParaClient paraClientNew = PtsContext.HandleToObject(pfscellNew) as CellParaClient;
MS\Internal\PtsHost\RowParagraph.cs (1)
205CellParaClient cellParaClient = PtsContext.HandleToObject(rgpfsCell[index]) as CellParaClient;
MS\Internal\PtsHost\SubpageParaClient.cs (2)
627BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 662paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\SubpageParagraph.cs (3)
258mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 422mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 581mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\TableParaClient.cs (23)
147CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 253rowParagraph = (RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow)); 353CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 401CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 475CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 532TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 566CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 642CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 706RowParagraph rowParagraph = (RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow)); 764CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 859CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 926CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 986CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1065CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1139TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 1342RowParagraph rowParagraph = (RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[0].fsnmRow)); 1353row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[arrayTableRowDesc.Length - 1].fsnmRow))).Row; 1384Debug.Assert(TableParagraph == (TableParagraph)(PtsContext.HandleToObject(tableObjDetails.fsnmTable))); 1572cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1686cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1842TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[0].fsnmRow))).Row; 1847row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 1897TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
MS\Internal\PtsHost\TableParagraph.cs (2)
190mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 318BaseParagraph prevParagraph = ((RowParagraph)PtsContext.HandleToObject(nmRow));
MS\Internal\PtsHost\TextParaClient.cs (7)
183BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 278BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 410BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 447BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 1331BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 2344BaseParaClient objectParaClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 3762paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\TextParagraph.cs (2)
1344LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrLineIn) as LineBreakRecord; 1438paraClient = PtsContext.HandleToObject(arrayAttachedObjectDesc[index].pfsparaclient) as BaseParaClient;