335 references to PtsContext
PresentationFramework (335)
src\Framework\MS\Internal\PtsHost\BaseParaClient.cs (1)
54
protected BaseParaClient(BaseParagraph paragraph) : base(paragraph.
PtsContext
)
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (5)
137
PTS.Validate(PTS.FsClearUpdateInfoInSubpage(
PtsContext
.Context, _paraHandle.Value),
PtsContext
);
219
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
274
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
326
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
src\Framework\MS\Internal\PtsHost\CellParagraph.cs (2)
118
PTS.Validate(PTS.FsDestroySubpageBreakRecord(cellParaClient.
PtsContext
.Context, pfsbrkcellOut), cellParaClient.
PtsContext
);
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (23)
64
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle.Value, out subtrackDetails));
88
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle.Value, ref subtrackDetails, out arrayParaDesc);
90
PtsHelper.ArrangeParaList(
PtsContext
, subtrackDetails.fsrc, arrayParaDesc, fswdirSubtrack);
114
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle.Value, out subtrackDetails));
124
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle.Value, ref subtrackDetails, out arrayParaDesc);
127
ie = PtsHelper.InputHitTestParaList(
PtsContext
, pt, ref subtrackDetails.fsrc, arrayParaDesc);
174
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle.Value, out subtrackDetails));
183
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle.Value, ref subtrackDetails, out arrayParaDesc);
186
rectangles = PtsHelper.GetRectanglesInParaList(
PtsContext
, e, start, length, arrayParaDesc);
216
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle.Value, out subtrackDetails));
236
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle.Value, ref subtrackDetails, out arrayParaDesc);
239
PtsHelper.UpdateParaListVisuals(
PtsContext
, _visual.Children, fskupdInherited, arrayParaDesc);
265
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle.Value, out subtrackDetails));
272
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle.Value, ref subtrackDetails, out arrayParaDesc);
275
PtsHelper.UpdateViewportParaList(
PtsContext
, arrayParaDesc, ref viewport);
325
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle.Value, out subtrackDetails));
337
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle.Value, ref subtrackDetails, out arrayParaDesc);
386
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle.Value, out subtrackDetails));
398
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle.Value, ref subtrackDetails, out arrayParaDesc);
403
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
443
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle.Value, out subtrackDetails));
452
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle.Value, ref subtrackDetails, out arrayParaDesc);
454
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[0].pfsparaclient) as BaseParaClient;
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (15)
546
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsContainer, out marginTop);
562
PTS.Validate(PTS.FsFormatSubtrackFinite(
PtsContext
.Context, pbrkrecIn, fBRFromPreviousPage, this.Handle, iArea,
567
out dvrSubTrackTopSpace),
PtsContext
);
598
mcsContainer =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
610
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsContainer, out mcsNew, out marginBottom);
680
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsContainer, out marginTop);
712
PTS.Validate(PTS.FsFormatSubtrackBottomless(
PtsContext
.Context, this.Handle, iArea,
716
out fskclearOut, out dvrSubTrackTopSpace, out fPageBecomesUninterruptable),
PtsContext
);
735
mcsContainer =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
741
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsContainer, out mcsNew, out marginBottom);
817
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsContainer, out marginTop);
849
PTS.Validate(PTS.FsUpdateBottomlessSubtrack(
PtsContext
.Context, pfspara, this.Handle, iArea,
853
out fskclearOut, out dvrSubTrackTopSpace, out fPageBecomesUninterruptable),
PtsContext
);
872
mcsContainer =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
878
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsContainer, out mcsNew, out marginBottom);
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (38)
61
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, SubpageHandle),
PtsContext
);
92
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
127
PtsHelper.ArrangeTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, subpageDetails.u.simple.fswdir);
141
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
150
PtsHelper.ArrangeTrack(
PtsContext
, ref arrayColumnDesc[index], subpageDetails.u.complex.fswdir);
172
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
187
PtsHelper.UpdateViewportTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, ref viewportSubpage);
198
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
205
PtsHelper.UpdateViewportTrack(
PtsContext
, ref arrayColumnDesc[index], ref viewportSubpage);
272
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
286
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref subpageDetails.u.simple.trackdescr);
296
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
301
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref arrayColumnDesc[index]);
344
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
353
rectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref subpageDetails.u.simple.trackdescr);
363
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
368
List<Rect> trackRectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref arrayColumnDesc[index]);
406
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
461
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr);
472
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
515
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]);
560
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
569
textContentRange = PtsHelper.TextContentRangeFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack);
581
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
588
textContentRange.Merge(PtsHelper.TextContentRangeFromTrack(
PtsContext
, arrayColumnDesc[index].pfstrack));
629
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
643
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
652
PtsHelper.ParaListFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack, ref trackDetails, out arrayParaDesc);
657
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
678
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
683
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
692
PtsHelper.ParaListFromTrack(
PtsContext
, arrayColumnDesc[0].pfstrack, ref trackDetails, out arrayParaDesc);
697
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
736
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
746
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
766
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
771
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (8)
194
CreateSubpageFiniteHelper(
PtsContext
, IntPtr.Zero, PTS.False, _mainTextSegment.Handle, IntPtr.Zero, PTS.False, PTS.True,
202
PTS.Validate(PTS.FsDestroySubpageBreakRecord(
PtsContext
.Context, brParaOut));
219
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFigureContent),
PtsContext
);
223
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
237
CreateSubpageFiniteHelper(
PtsContext
, IntPtr.Zero, PTS.False, _mainTextSegment.Handle, IntPtr.Zero, PTS.False, PTS.True,
245
PTS.Validate(PTS.FsDestroySubpageBreakRecord(
PtsContext
.Context, brParaOut));
263
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (36)
91
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
108
PtsHelper.ArrangeTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, subpageDetails.u.simple.fswdir);
122
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
131
PtsHelper.ArrangeTrack(
PtsContext
, ref arrayColumnDesc[index], subpageDetails.u.complex.fswdir);
154
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
169
PtsHelper.UpdateViewportTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, ref viewportSubpage);
180
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
187
PtsHelper.UpdateViewportTrack(
PtsContext
, ref arrayColumnDesc[index], ref viewportSubpage);
274
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
288
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref subpageDetails.u.simple.trackdescr);
298
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
303
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref arrayColumnDesc[index]);
346
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
355
rectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref subpageDetails.u.simple.trackdescr);
365
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
370
List<Rect> trackRectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref arrayColumnDesc[index]);
410
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
465
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr);
476
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
519
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]);
564
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
573
textContentRange = PtsHelper.TextContentRangeFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack);
585
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
591
textContentRange.Merge(PtsHelper.TextContentRangeFromTrack(
PtsContext
, arrayColumnDesc[index].pfstrack));
634
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
648
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
658
PtsHelper.ParaListFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack, ref trackDetails, out arrayParaDesc);
663
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
684
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
689
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
698
PtsHelper.ParaListFromTrack(
PtsContext
, arrayColumnDesc[0].pfstrack, ref trackDetails, out arrayParaDesc);
703
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
742
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
752
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
772
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
777
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (20)
255
CreateSubpageFiniteHelper(
PtsContext
, pbrkrecIn, fBRFromPreviousPage, _mainTextSegment.Handle,
285
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFloatContent),
PtsContext
);
290
PTS.Validate(PTS.FsDestroySubpageBreakRecord(
PtsContext
.Context, pbrkrecOut),
PtsContext
);
295
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
305
CreateSubpageFiniteHelper(
PtsContext
, pbrkrecIn, fBRFromPreviousPage, _mainTextSegment.Handle,
320
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
353
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFloatContent),
PtsContext
);
358
PTS.Validate(PTS.FsDestroySubpageBreakRecord(
PtsContext
.Context, pbrkrecOut),
PtsContext
);
446
CreateSubpageBottomlessHelper(
PtsContext
, _mainTextSegment.Handle, PTS.True,
468
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFloatContent),
PtsContext
);
472
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
480
CreateSubpageBottomlessHelper(
PtsContext
, _mainTextSegment.Handle, PTS.True,
495
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
516
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFloatContent),
PtsContext
);
src\Framework\MS\Internal\PtsHost\LineBase.cs (1)
35
internal LineBase(BaseParaClient paraClient) : base(paraClient.
PtsContext
)
src\Framework\MS\Internal\PtsHost\LineBreakRecord.cs (1)
58
return new LineBreakRecord(
PtsContext
, _textLineBreak.Clone());
src\Framework\MS\Internal\PtsHost\ListParaClient.cs (4)
61
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle.Value, out subtrackDetails));
83
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle.Value, ref subtrackDetails, out arrayParaDesc);
97
BaseParaClient listItemParaClient =
PtsContext
.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient;
138
PtsHelper.UpdateParaListVisuals(
PtsContext
, _visual.Children, fskupdInherited, arrayParaDesc);
src\Framework\MS\Internal\PtsHost\MarginCollapsingState.cs (1)
130
private MarginCollapsingState(MarginCollapsingState mcs) : base(mcs.
PtsContext
)
src\Framework\MS\Internal\PtsHost\OptimalBreakSession.cs (2)
36
internal OptimalBreakSession(TextParagraph textParagraph, TextParaClient textParaClient, TextParagraphCache TextParagraphCache, OptimalTextSource optimalTextSource) : base(textParagraph.
PtsContext
)
103
internal LineBreakpoint(OptimalBreakSession optimalBreakSession, TextBreakpoint textBreakpoint) : base(optimalBreakSession.
PtsContext
)
src\Framework\MS\Internal\PtsHost\PtsHost.cs (1)
1620
LineBreakRecord lineBreakRecord = new LineBreakRecord(optimalBreakSession.
PtsContext
, textLineBreakOut);
src\Framework\MS\Internal\PtsHost\PtsPage.cs (2)
735
internal PtsContext PtsContext { get { return _section.
PtsContext
; } }
791
_section.
PtsContext
.OnPageDisposed(_ptsPage, disposing, true);
src\Framework\MS\Internal\PtsHost\RowParagraph.cs (1)
215
CellParaClient cellParaClient =
PtsContext
.HandleToObject(rgpfsCell[index]) as CellParaClient;
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (35)
65
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, _paraHandle.Value));
93
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
139
PtsHelper.ArrangeTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, subpageDetails.u.simple.fswdir);
153
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
162
PtsHelper.ArrangeTrack(
PtsContext
, ref arrayColumnDesc[index], subpageDetails.u.complex.fswdir);
206
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
214
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref subpageDetails.u.simple.trackdescr);
224
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
229
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref arrayColumnDesc[index]);
271
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
280
rectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref subpageDetails.u.simple.trackdescr);
290
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
295
List<Rect> trackRectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref arrayColumnDesc[index]);
331
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
386
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr);
397
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
439
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]);
475
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
490
PtsHelper.UpdateViewportTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, ref viewportSubpage);
501
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
508
PtsHelper.UpdateViewportTrack(
PtsContext
, ref arrayColumnDesc[index], ref viewportSubpage);
540
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
549
textContentRange = PtsHelper.TextContentRangeFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack);
561
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
567
textContentRange.Merge(PtsHelper.TextContentRangeFromTrack(
PtsContext
, arrayColumnDesc[index].pfstrack));
619
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle.Value, out subpageDetails));
629
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
649
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle.Value, ref subpageDetails, out arrayColumnDesc);
655
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[i].pfstrack, out trackDetails));
687
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, pfstrack, out trackDetails));
693
PtsHelper.ParaListFromTrack(
PtsContext
, pfstrack, ref trackDetails, out arrayParaDesc);
698
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
724
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, pfstrack, out trackDetails));
731
PtsHelper.ParaListFromTrack(
PtsContext
, pfstrack, ref trackDetails, out arrayParaDesc);
737
paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (15)
199
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsSubpage, out marginTop);
242
PTS.Validate(PTS.FsCreateSubpageFinite(
PtsContext
.Context, pbrkrecIn, fBRFromPreviousPage, _mainTextSegment.Handle,
247
out fsfmtr, out pfspara, out pbrkrecOut, out dvrUsed, out fsbbox, out pmcsclientOut, out dvrTopSpace),
PtsContext
);
271
mcsSubpage =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
292
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsSubpage, out mcsBottom, out marginBottom);
395
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsSubpage, out marginTop);
429
PTS.Validate(PTS.FsCreateSubpageBottomless(
PtsContext
.Context, _mainTextSegment.Handle, fSuppressTopSpace,
433
out fPageBecomesUninterruptable),
PtsContext
);
447
mcsSubpage =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
451
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsSubpage, out mcsBottom, out marginBottom);
564
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsSubpage, out marginTop);
597
PTS.Validate(PTS.FsUpdateBottomlessSubpage(
PtsContext
.Context, pfspara, _mainTextSegment.Handle, fSuppressTopSpace,
601
out fPageBecomesUninterruptable),
PtsContext
);
615
mcsSubpage =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
619
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsSubpage, out mcsBottom, out marginBottom);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (31)
159
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
273
rowParagraph = (RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow));
378
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
432
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
512
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
575
TableRow row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
577
PtsContext
.Context,
609
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
691
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
761
RowParagraph rowParagraph = (RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow));
825
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
921
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
994
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1060
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1145
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1226
TableRow row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
1433
RowParagraph rowParagraph = (RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[0].fsnmRow));
1437
PtsContext
.Context,
1444
row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[arrayTableRowDesc.Length - 1].fsnmRow))).Row;
1447
PtsContext
.Context,
1478
PtsContext
.Context,
1481
Debug.Assert(TableParagraph == (TableParagraph)(
PtsContext
.HandleToObject(tableObjDetails.fsnmTable)));
1487
PtsContext
.Context,
1505
PtsContext
.Context,
1538
PtsContext
.Context,
1557
PtsContext
.Context,
1679
cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1798
cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1958
TableRow row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[0].fsnmRow))).Row;
1963
row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
2018
TableRow row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
src\Framework\MS\Internal\PtsHost\TableParagraph.cs (4)
112
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsOut, out dvr);
194
mcs =
PtsContext
.HandleToObject(pmcsclientIn) as MarginCollapsingState;
198
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcs, out mcsNew, out margin);
322
BaseParagraph prevParagraph = ((RowParagraph)
PtsContext
.HandleToObject(nmRow));
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (82)
75
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
178
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
198
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle.Value, attachedObjectCount, out arrayAttachedObjectDesc);
205
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
232
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
301
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
313
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle.Value, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
319
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
403
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
452
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
460
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle.Value, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
469
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
497
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
504
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle.Value, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
513
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
541
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
572
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle.Value, attachedObjectCount, out arrayAttachedObjectDesc);
606
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
625
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails.u.full, out arrayLineDesc);
649
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails.u.full, out arrayLineDesc);
660
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
729
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
792
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
879
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
957
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
1017
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
1070
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
1126
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
1150
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails.u.full, out arrayLineDesc);
1175
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails.u.full, out arrayLineDesc);
1186
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
1272
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
1344
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
1368
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
1423
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle.Value, out textDetails));
1439
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails.u.full, out arrayLineDesc);
1465
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails.u.full, out arrayLineDesc);
1473
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
1501
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle.Value, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
1509
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
1515
PTS.Validate(PTS.FsQueryFloaterDetails(
PtsContext
.Context, attachedObjectDesc.pfspara, out floaterDetails));
1529
PTS.Validate(PTS.FsQueryFigureObjectDetails(
PtsContext
.Context, attachedObjectDesc.pfspara, out figureDetails));
1588
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
1719
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
1778
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
1790
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
1851
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
1944
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
1954
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2043
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
2155
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
2167
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2556
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle.Value, textDetails.cAttachedObjects, out arrayAttachedObjectDesc);
2562
BaseParaClient objectParaClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
2603
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
2699
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
2714
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2766
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2830
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
2959
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
2972
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3018
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3129
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
3225
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
3238
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3283
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3356
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
3414
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
3424
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3482
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
3657
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
3871
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
3901
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3970
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
4032
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle.Value, cAttachedObjects,
4042
paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
4080
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
4172
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
4269
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
4283
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
4359
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle.Value, ref textDetails, out arrayLineDesc);
4411
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (4)
566
LineBreakRecord lineBreakRecord = new LineBreakRecord(
PtsContext
, textLineBreak);
751
LineBreakRecord lineBreakRecord = new LineBreakRecord(
PtsContext
, textLineBreak);
1352
LineBreakRecord lineBreakRecord =
PtsContext
.HandleToObject(pbrLineIn) as LineBreakRecord;
1446
paraClient =
PtsContext
.HandleToObject(arrayAttachedObjectDesc[index].pfsparaclient) as BaseParaClient;
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (1)
71
PTS.Validate(PTS.FsQueryFloaterDetails(
PtsContext
.Context, _paraHandle.Value, out floaterDetails));
src\Framework\MS\Internal\PtsHost\UIElementParagraph.cs (2)
122
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsNew, out margin);
361
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, null, out mcsNew, out margin);