1 write to Context
PresentationFramework (1)
MS\Internal\PtsHost\PtsCache.cs (1)
199
_contextPool[index].PtsHost.
Context
= CreatePTSContext(index, textFormattingMode);
38 references to Context
PresentationFramework (38)
MS\Internal\PtsHost\PtsCache.cs (6)
317
Invariant.Assert(_contextPool[index].PtsHost.
Context
== ptsContext.Context, "PTS Context mismatch.");
330
Invariant.Assert(_contextPool[index].PtsHost.
Context
!= IntPtr.Zero, "PTS Context handle is not valid.");
331
PTS.IgnoreError(PTS.DestroyDocContext(_contextPool[index].PtsHost.
Context
));
379
if (_contextPool[index].PtsHost.
Context
== ptsContext.Context)
405
Invariant.Assert(_contextPool[index].PtsHost.
Context
!= IntPtr.Zero, "PTS Context handle is not valid.");
406
PTS.Validate(PTS.DestroyDocContext(_contextPool[index].PtsHost.
Context
));
MS\Internal\PtsHost\PtsContext.cs (5)
86
PTS.Validate(PTS.FsDestroyPageBreakRecord(_ptsHost.
Context
, (IntPtr)_pageBreakRecords[index]));
104
PTS.Validate(PTS.FsDestroyPage(_ptsHost.
Context
, (IntPtr)_pages[index]));
381
get { return _ptsHost.
Context
; }
491
PTS.Validate(PTS.FsDestroyPage(_ptsHost.
Context
, ptsPage));
525
PTS.Validate(PTS.FsDestroyPageBreakRecord(_ptsHost.
Context
, br));
MS\Internal\PtsHost\PtsHost.cs (27)
2403
return PTS.FsClearUpdateInfoInSubpage(
Context
, pfsFloaterContent);
2439
return PTS.FsCompareSubpages(
Context
, pfsFloaterContentOld, pfsFloaterContentNew, out fscmpr);
2458
return PTS.FsDestroySubpage(
Context
, pfsFloaterContent);
2475
return PTS.FsDuplicateSubpageBreakRecord(
Context
, pfsbrkFloaterContent, out pfsbrkFloaterContentDup);
2491
return PTS.FsDestroySubpageBreakRecord(
Context
, pfsbrkFloaterContent);
2522
return PTS.FsGetSubpageColumnBalancingInfo(
Context
, pfsFloaterContent,
2539
return PTS.FsGetNumberSubpageFootnotes(
Context
, pfsFloaterContent, out cftn);
2855
PTS.Validate(PTS.FsSynchronizeBottomlessSubtrack(
Context
, pfspara, pfsgeom, fswdir, dvrShift), PtsContext);
2879
return PTS.FsCompareSubtrack(
Context
, pfsparaOld, pfsparaNew, fswdir, out fscmpr, out dvrShifted);
2885
return PTS.FsClearUpdateInfoInSubtrack(
Context
, pfspara);
2891
return PTS.FsDestroySubtrack(
Context
, pfspara);
2899
return PTS.FsDuplicateSubtrackBreakRecord(
Context
, pfsbrkrecparaOrig, out pfsbrkrecparaDup);
2906
return PTS.FsDestroySubtrackBreakRecord(
Context
, pfsobjbrk);
2916
return PTS.FsGetSubtrackColumnBalancingInfo(
Context
, pfspara, fswdir,
2924
return PTS.FsGetNumberSubtrackFootnotes(
Context
, pfspara, out nftn);
2953
return PTS.FsTransferDisplayInfoSubtrack(
Context
, pfsparaOld, pfsparaNew);
3178
return PTS.FsCompareSubpages(
Context
, pfsparaOld, pfsparaNew, out fscmpr);
3183
return PTS.FsClearUpdateInfoInSubpage(
Context
, pfspara);
3189
return PTS.FsDestroySubpage(
Context
, pfspara);
3197
return PTS.FsDuplicateSubpageBreakRecord(
Context
, pfsbrkrecparaOrig, out pfsbrkrecparaDup);
3204
return PTS.FsDestroySubpageBreakRecord(
Context
, pfsobjbrk);
3214
return PTS.FsGetSubpageColumnBalancingInfo(
Context
, pfspara, out fswdir,
3222
return PTS.FsGetNumberSubpageFootnotes(
Context
, pfspara, out nftn);
3233
return PTS.FsGetSubpageFootnoteInfo(
Context
, pfspara, nftn, iftnFirst, out fswdir, pfsftninf, out iftnLim);
3252
return PTS.FsTransferDisplayInfoSubpage(
Context
, pfsparaOld, pfsparaNew);
4063
return PTS.FsDuplicateSubpageBreakRecord(
Context
, pfsbrkcell, out ppfsbrkcellDup);
4070
return PTS.FsDestroySubpageBreakRecord(
Context
, pfsbrkcell);