1 write to Context
PresentationFramework (1)
src\Framework\MS\Internal\PtsHost\PtsCache.cs (1)
229
_contextPool[index].PtsHost.
Context
= CreatePTSContext(index, textFormattingMode);
38 references to Context
PresentationFramework (38)
src\Framework\MS\Internal\PtsHost\PtsCache.cs (6)
370
Invariant.Assert(_contextPool[index].PtsHost.
Context
== ptsContext.Context, "PTS Context mismatch.");
383
Invariant.Assert(_contextPool[index].PtsHost.
Context
!= IntPtr.Zero, "PTS Context handle is not valid.");
384
PTS.IgnoreError(PTS.DestroyDocContext(_contextPool[index].PtsHost.
Context
));
442
if (_contextPool[index].PtsHost.
Context
== ptsContext.Context)
468
Invariant.Assert(_contextPool[index].PtsHost.
Context
!= IntPtr.Zero, "PTS Context handle is not valid.");
469
PTS.Validate(PTS.DestroyDocContext(_contextPool[index].PtsHost.
Context
));
src\Framework\MS\Internal\PtsHost\PtsContext.cs (5)
104
PTS.Validate(PTS.FsDestroyPageBreakRecord(_ptsHost.
Context
, (IntPtr)_pageBreakRecords[index]));
122
PTS.Validate(PTS.FsDestroyPage(_ptsHost.
Context
, (IntPtr)_pages[index]));
410
get { return _ptsHost.
Context
; }
530
PTS.Validate(PTS.FsDestroyPage(_ptsHost.
Context
, ptsPage.Value));
574
PTS.Validate(PTS.FsDestroyPageBreakRecord(_ptsHost.
Context
, br.Value));
src\Framework\MS\Internal\PtsHost\PtsHost.cs (27)
2527
return PTS.FsClearUpdateInfoInSubpage(
Context
, pfsFloaterContent);
2567
return PTS.FsCompareSubpages(
Context
, pfsFloaterContentOld, pfsFloaterContentNew, out fscmpr);
2591
return PTS.FsDestroySubpage(
Context
, pfsFloaterContent);
2613
return PTS.FsDuplicateSubpageBreakRecord(
Context
, pfsbrkFloaterContent, out pfsbrkFloaterContentDup);
2634
return PTS.FsDestroySubpageBreakRecord(
Context
, pfsbrkFloaterContent);
2670
return PTS.FsGetSubpageColumnBalancingInfo(
Context
, pfsFloaterContent,
2691
return PTS.FsGetNumberSubpageFootnotes(
Context
, pfsFloaterContent, out cftn);
3029
PTS.Validate(PTS.FsSynchronizeBottomlessSubtrack(
Context
, pfspara, pfsgeom, fswdir, dvrShift), PtsContext);
3057
return PTS.FsCompareSubtrack(
Context
, pfsparaOld, pfsparaNew, fswdir, out fscmpr, out dvrShifted);
3067
return PTS.FsClearUpdateInfoInSubtrack(
Context
, pfspara);
3077
return PTS.FsDestroySubtrack(
Context
, pfspara);
3089
return PTS.FsDuplicateSubtrackBreakRecord(
Context
, pfsbrkrecparaOrig, out pfsbrkrecparaDup);
3100
return PTS.FsDestroySubtrackBreakRecord(
Context
, pfsobjbrk);
3114
return PTS.FsGetSubtrackColumnBalancingInfo(
Context
, pfspara, fswdir,
3126
return PTS.FsGetNumberSubtrackFootnotes(
Context
, pfspara, out nftn);
3163
return PTS.FsTransferDisplayInfoSubtrack(
Context
, pfsparaOld, pfsparaNew);
3402
return PTS.FsCompareSubpages(
Context
, pfsparaOld, pfsparaNew, out fscmpr);
3412
return PTS.FsClearUpdateInfoInSubpage(
Context
, pfspara);
3423
return PTS.FsDestroySubpage(
Context
, pfspara);
3435
return PTS.FsDuplicateSubpageBreakRecord(
Context
, pfsbrkrecparaOrig, out pfsbrkrecparaDup);
3446
return PTS.FsDestroySubpageBreakRecord(
Context
, pfsobjbrk);
3460
return PTS.FsGetSubpageColumnBalancingInfo(
Context
, pfspara, out fswdir,
3472
return PTS.FsGetNumberSubpageFootnotes(
Context
, pfspara, out nftn);
3490
return PTS.FsGetSubpageFootnoteInfo(
Context
, pfspara, nftn, iftnFirst, out fswdir, pfsftninf, out iftnLim);
3513
return PTS.FsTransferDisplayInfoSubpage(
Context
, pfsparaOld, pfsparaNew);
4344
return PTS.FsDuplicateSubpageBreakRecord(
Context
, pfsbrkcell, out ppfsbrkcellDup);
4355
return PTS.FsDestroySubpageBreakRecord(
Context
, pfsbrkcell);