213 references to HandleToObject
PresentationFramework (213)
MS\Internal\PtsHost\CellParaClient.cs (3)
197MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 247MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 294MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\ContainerParaClient.cs (3)
290paraClient = Paragraph.StructuralCache.PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 343BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 387BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[0].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\ContainerParagraph.cs (3)
566mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 696mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 826mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\FigureParaClient.cs (2)
585BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 625BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\FigureParagraph.cs (2)
202MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 242MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\FloaterParaClient.cs (2)
594BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 634BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\FloaterParagraph.cs (4)
282MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 307MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 454MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 477MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
548paraClient = this.StructuralCache.PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 584BaseParaClient paraClient = StructuralCache.PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\ListParaClient.cs (1)
83BaseParaClient listItemParaClient = PtsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\PtsHelper.cs (6)
159BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 256BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 347BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 411BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 490BaseParaClient paraClient = ptsContext.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient; 746paraClient = ptsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\PtsHost.cs (145)
147FigureParagraph para = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 149FigureParaClient paraClient = PtsContext.HandleToObject(pfsparaclientFigure) as FigureParaClient; 188FigureParagraph para = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 190FigureParaClient paraClient = PtsContext.HandleToObject(pfsparaclientFigure) as FigureParaClient; 230FigureParagraph para = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 232FigureParaClient paraClient = PtsContext.HandleToObject(pfsparaclientFigure) as FigureParaClient; 264Section section = PtsContext.HandleToObject(nms) as Section; 294Section section = PtsContext.HandleToObject(nms) as Section; 322Section section = PtsContext.HandleToObject(nmsCur) as Section; 353Section section = PtsContext.HandleToObject(nms) as Section; 388Section section = PtsContext.HandleToObject(rgnms[0]) as Section; 417Section section = PtsContext.HandleToObject(nmsSection) as Section; 451Section section = PtsContext.HandleToObject(nms) as Section; 486Section section = PtsContext.HandleToObject(nms) as Section; 513ContainerParagraph segment = PtsContext.HandleToObject(nms) as ContainerParagraph; 543Section section = PtsContext.HandleToObject(nms) as Section; 596ISegment segment = PtsContext.HandleToObject(nms) as ISegment; 624ISegment segment = PtsContext.HandleToObject(nms) as ISegment; 626BaseParagraph currentParagraph = PtsContext.HandleToObject(nmpCur) as BaseParagraph; 654ISegment segment = PtsContext.HandleToObject(nms) as ISegment; 681BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 709BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 733BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 759BaseParaClient paraClientOld = PtsContext.HandleToObject(pfsparaclientOld) as BaseParaClient; 761BaseParaClient paraClientNew = PtsContext.HandleToObject(pfsparaclientNew) as BaseParaClient; 784BaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as BaseParaClient; 820Section section = PtsContext.HandleToObject(nmsSection) as Section; 847Section section = PtsContext.HandleToObject(nmsSection) as Section; 970MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 995MarginCollapsingState mcs = PtsContext.HandleToObject(pmcsclient) as MarginCollapsingState; 1026MarginCollapsingState mcs1 = PtsContext.HandleToObject(pmcsclient1) as MarginCollapsingState; 1028MarginCollapsingState mcs2 = PtsContext.HandleToObject(pmcsclient2) as MarginCollapsingState; 1059BaseParagraph para = PtsContext.HandleToObject(nmp) as BaseParagraph; 1061BaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as BaseParaClient; 1066mcs = PtsContext.HandleToObject(pmcsclient) as MarginCollapsingState; 1138TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1141TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1147lineBreakRecord = PtsContext.HandleToObject(pfsbreakreclineclient) as LineBreakRecord; 1183OptimalBreakSession optimalBreakSession = PtsContext.HandleToObject(pfsparabreakingsession) as OptimalBreakSession; 1199TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1225TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1313TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1315Line line = PtsContext.HandleToObject(pfslineLast) as Line; 1324Invariant.Assert(PtsContext.HandleToObject(pfslineLast) is LineBreakpoint); 1376TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1378TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1435TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1437TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1485OptimalBreakSession optimalBreakSession = PtsContext.HandleToObject(pfsparabreakingsession) as OptimalBreakSession; 1492LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrlineIn) as LineBreakRecord; 1615TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1617TextParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as TextParaClient; 1645UnmanagedHandle unmanagedHandle = (UnmanagedHandle) PtsContext.HandleToObject(pfsline); 1658LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrlineIn) as LineBreakRecord; 1683LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrlineIn) as LineBreakRecord; 1719Line line = PtsContext.HandleToObject(pfsline) as Line; 1756TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1784TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1822TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1921TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 1959TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2016TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2019LineBase lineBase = PtsContext.HandleToObject(pfsline) as LineBase; 2023LineBreakpoint lineBreakpoint = PtsContext.HandleToObject(pfsline) as LineBreakpoint; 2074TextParagraph para = PtsContext.HandleToObject(nmp) as TextParagraph; 2123BaseParagraph para = PtsContext.HandleToObject(nmpObject) as BaseParagraph; 2155Line line = PtsContext.HandleToObject(pfsline) as Line; 2159FigureParagraph paraFigure = PtsContext.HandleToObject(nmpFigure) as FigureParagraph; 2196FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2242FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2244FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2285FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2287FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2328FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2330FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2369FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2371FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as FloaterBaseParaClient; 2396FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2413FloaterBaseParaClient paraClientOld = PtsContext.HandleToObject(pfsFloaterContentOld) as FloaterBaseParaClient; 2414FloaterBaseParaClient paraClientNew = PtsContext.HandleToObject(pfsFloaterContentNew) as FloaterBaseParaClient; 2452FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2468FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsbrkFloaterContent) as FloaterBaseParaClient; 2484FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsbrkFloaterContent) as FloaterBaseParaClient; 2503FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2532FloaterBaseParaClient paraClient = PtsContext.HandleToObject(pfsFloaterContent) as FloaterBaseParaClient; 2560FloaterBaseParaClient paraClientOld = PtsContext.HandleToObject(pfsFloaterContentOld) as FloaterBaseParaClient; 2561FloaterBaseParaClient paraClientNew = PtsContext.HandleToObject(pfsFloaterContentNew) as FloaterBaseParaClient; 2581FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2586mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2617FloaterBaseParagraph para = PtsContext.HandleToObject(nmFloater) as FloaterBaseParagraph; 2622mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2696ContainerParagraph para = PtsContext.HandleToObject(nmp) as ContainerParagraph; 2698ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 2703mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2753ContainerParagraph para = PtsContext.HandleToObject(nmp) as ContainerParagraph; 2755ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 2760mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2810ContainerParagraph para = PtsContext.HandleToObject(nmp) as ContainerParagraph; 2812ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 2817mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 2853ContainerParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as ContainerParaClient; 3011SubpageParagraph para = PtsContext.HandleToObject(nmp) as SubpageParagraph; 3013SubpageParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as SubpageParaClient; 3018mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3067SubpageParagraph para = PtsContext.HandleToObject(nmp) as SubpageParagraph; 3069SubpageParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as SubpageParaClient; 3074mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3125SubpageParagraph para = PtsContext.HandleToObject(nmp) as SubpageParagraph; 3127SubpageParaClient paraClient = PtsContext.HandleToObject(pfsparaclient) as SubpageParaClient; 3132mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 3267TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3297TableParaClient paraClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3330TableParaClient paraClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3362TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3391TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3423TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3454TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3486TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3516TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3547TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3579TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3618TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3654TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3657RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3688CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3718TableParagraph para = PtsContext.HandleToObject(nmTable) as TableParagraph; 3746RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3776RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3803RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3835RowParagraph rowParagraph = PtsContext.HandleToObject(nmRow) as RowParagraph; 3881CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3884TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3923CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3926TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 3967CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 3970CellParaClient cellParaClient = PtsContext.HandleToObject(pfscell) as CellParaClient; 3973TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 4028CellParagraph cellParagraph = PtsContext.HandleToObject(nmCell) as CellParagraph; 4031CellParaClient cellParaClient = PtsContext.HandleToObject(pfscell) as CellParaClient; 4034TableParaClient tableParaClient = PtsContext.HandleToObject(pfsparaclientTable) as TableParaClient; 4078CellParaClient cellParaClient = PtsContext.HandleToObject(pfsCell) as CellParaClient; 4103CellParaClient cellParaClient = PtsContext.HandleToObject(pfsCell) as CellParaClient; 4131CellParaClient cellParaClient = PtsContext.HandleToObject(pfscell) as CellParaClient; 4158CellParaClient paraClientOld = PtsContext.HandleToObject(pfscellOld) as CellParaClient; 4160CellParaClient paraClientNew = PtsContext.HandleToObject(pfscellNew) as CellParaClient;
MS\Internal\PtsHost\RowParagraph.cs (1)
202CellParaClient cellParaClient = PtsContext.HandleToObject(rgpfsCell[index]) as CellParaClient;
MS\Internal\PtsHost\SubpageParaClient.cs (2)
623BaseParaClient paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient; 658paraClient = PtsContext.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\SubpageParagraph.cs (3)
243mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 407mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState; 566mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\TableParaClient.cs (23)
141CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 247rowParagraph = (RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow)); 347CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 395CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 469CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 526TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 560CellParaClient cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 636CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 700RowParagraph rowParagraph = (RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow)); 758CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 853CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 920CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 980CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1059CellParaClient cpc = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1133TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 1336RowParagraph rowParagraph = (RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[0].fsnmRow)); 1347row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[arrayTableRowDesc.Length - 1].fsnmRow))).Row; 1378Debug.Assert(TableParagraph == (TableParagraph)(PtsContext.HandleToObject(tableObjDetails.fsnmTable))); 1566cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1680cellParaClient = (CellParaClient)(PtsContext.HandleToObject(arrayFsCell[iC])); 1836TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[0].fsnmRow))).Row; 1841row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row; 1891TableRow row = ((RowParagraph)(PtsContext.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
MS\Internal\PtsHost\TableParagraph.cs (2)
177mcs = PtsContext.HandleToObject(pmcsclientIn) as MarginCollapsingState; 305BaseParagraph prevParagraph = ((RowParagraph)PtsContext.HandleToObject(nmRow));
MS\Internal\PtsHost\TextParaClient.cs (7)
177BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 272BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 404BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 441BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 1325BaseParaClient paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 2338BaseParaClient objectParaClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient; 3756paraClient = PtsContext.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\TextParagraph.cs (2)
1315LineBreakRecord lineBreakRecord = PtsContext.HandleToObject(pbrLineIn) as LineBreakRecord; 1409paraClient = PtsContext.HandleToObject(arrayAttachedObjectDesc[index].pfsparaclient) as BaseParaClient;