335 references to PtsContext
PresentationFramework (335)
MS\Internal\PtsHost\BaseParaClient.cs (1)
45
protected BaseParaClient(BaseParagraph paragraph) : base(paragraph.
PtsContext
)
MS\Internal\PtsHost\CellParaClient.cs (5)
125
PTS.Validate(PTS.FsClearUpdateInfoInSubpage(
PtsContext
.Context, _paraHandle),
PtsContext
);
202
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
252
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
299
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\CellParagraph.cs (2)
110
PTS.Validate(PTS.FsDestroySubpageBreakRecord(cellParaClient.
PtsContext
.Context, pfsbrkcellOut), cellParaClient.
PtsContext
);
MS\Internal\PtsHost\ContainerParaClient.cs (23)
53
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
76
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
78
PtsHelper.ArrangeParaList(
PtsContext
, subtrackDetails.fsrc, arrayParaDesc, fswdirSubtrack);
95
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
105
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
108
ie = PtsHelper.InputHitTestParaList(
PtsContext
, pt, ref subtrackDetails.fsrc, arrayParaDesc);
148
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
157
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
160
rectangles = PtsHelper.GetRectanglesInParaList(
PtsContext
, e, start, length, arrayParaDesc);
183
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
203
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
206
PtsHelper.UpdateParaListVisuals(
PtsContext
, _visual.Children, fskupdInherited, arrayParaDesc);
224
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
231
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
234
PtsHelper.UpdateViewportParaList(
PtsContext
, arrayParaDesc, ref viewport);
277
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
289
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
331
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
343
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
348
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
381
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
390
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
392
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[0].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\ContainerParagraph.cs (15)
534
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsContainer, out marginTop);
550
PTS.Validate(PTS.FsFormatSubtrackFinite(
PtsContext
.Context, pbrkrecIn, fBRFromPreviousPage, this.Handle, iArea,
555
out dvrSubTrackTopSpace),
PtsContext
);
586
mcsContainer =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
598
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsContainer, out mcsNew, out marginBottom);
661
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsContainer, out marginTop);
693
PTS.Validate(PTS.FsFormatSubtrackBottomless(
PtsContext
.Context, this.Handle, iArea,
697
out fskclearOut, out dvrSubTrackTopSpace, out fPageBecomesUninterruptable),
PtsContext
);
716
mcsContainer =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
722
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsContainer, out mcsNew, out marginBottom);
791
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsContainer, out marginTop);
823
PTS.Validate(PTS.FsUpdateBottomlessSubtrack(
PtsContext
.Context, pfspara, this.Handle, iArea,
827
out fskclearOut, out dvrSubTrackTopSpace, out fPageBecomesUninterruptable),
PtsContext
);
846
mcsContainer =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
852
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsContainer, out mcsNew, out marginBottom);
MS\Internal\PtsHost\FigureParaClient.cs (38)
49
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, SubpageHandle),
PtsContext
);
72
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
107
PtsHelper.ArrangeTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, subpageDetails.u.simple.fswdir);
121
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
130
PtsHelper.ArrangeTrack(
PtsContext
, ref arrayColumnDesc[index], subpageDetails.u.complex.fswdir);
145
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
160
PtsHelper.UpdateViewportTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, ref viewportSubpage);
171
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
178
PtsHelper.UpdateViewportTrack(
PtsContext
, ref arrayColumnDesc[index], ref viewportSubpage);
237
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
251
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref subpageDetails.u.simple.trackdescr);
261
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
266
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref arrayColumnDesc[index]);
301
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
310
rectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref subpageDetails.u.simple.trackdescr);
320
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
325
List<Rect> trackRectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref arrayColumnDesc[index]);
355
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
410
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr);
421
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
464
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]);
501
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
510
textContentRange = PtsHelper.TextContentRangeFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack);
522
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
529
textContentRange.Merge(PtsHelper.TextContentRangeFromTrack(
PtsContext
, arrayColumnDesc[index].pfstrack));
562
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
576
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
585
PtsHelper.ParaListFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack, ref trackDetails, out arrayParaDesc);
590
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
611
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
616
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
625
PtsHelper.ParaListFromTrack(
PtsContext
, arrayColumnDesc[0].pfstrack, ref trackDetails, out arrayParaDesc);
630
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
661
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
671
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
691
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
696
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
MS\Internal\PtsHost\FigureParagraph.cs (8)
184
CreateSubpageFiniteHelper(
PtsContext
, IntPtr.Zero, PTS.False, _mainTextSegment.Handle, IntPtr.Zero, PTS.False, PTS.True,
192
PTS.Validate(PTS.FsDestroySubpageBreakRecord(
PtsContext
.Context, brParaOut));
209
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFigureContent),
PtsContext
);
213
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
227
CreateSubpageFiniteHelper(
PtsContext
, IntPtr.Zero, PTS.False, _mainTextSegment.Handle, IntPtr.Zero, PTS.False, PTS.True,
235
PTS.Validate(PTS.FsDestroySubpageBreakRecord(
PtsContext
.Context, brParaOut));
253
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\FloaterParaClient.cs (36)
74
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
91
PtsHelper.ArrangeTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, subpageDetails.u.simple.fswdir);
105
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
114
PtsHelper.ArrangeTrack(
PtsContext
, ref arrayColumnDesc[index], subpageDetails.u.complex.fswdir);
129
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
144
PtsHelper.UpdateViewportTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, ref viewportSubpage);
155
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
162
PtsHelper.UpdateViewportTrack(
PtsContext
, ref arrayColumnDesc[index], ref viewportSubpage);
241
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
255
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref subpageDetails.u.simple.trackdescr);
265
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
270
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref arrayColumnDesc[index]);
305
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
314
rectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref subpageDetails.u.simple.trackdescr);
324
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
329
List<Rect> trackRectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref arrayColumnDesc[index]);
361
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
416
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr);
427
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
470
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]);
507
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
516
textContentRange = PtsHelper.TextContentRangeFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack);
528
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
534
textContentRange.Merge(PtsHelper.TextContentRangeFromTrack(
PtsContext
, arrayColumnDesc[index].pfstrack));
569
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
583
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
593
PtsHelper.ParaListFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack, ref trackDetails, out arrayParaDesc);
598
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
619
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
624
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
633
PtsHelper.ParaListFromTrack(
PtsContext
, arrayColumnDesc[0].pfstrack, ref trackDetails, out arrayParaDesc);
638
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
669
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
679
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
699
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
704
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
MS\Internal\PtsHost\FloaterParagraph.cs (20)
247
CreateSubpageFiniteHelper(
PtsContext
, pbrkrecIn, fBRFromPreviousPage, _mainTextSegment.Handle,
277
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFloatContent),
PtsContext
);
282
PTS.Validate(PTS.FsDestroySubpageBreakRecord(
PtsContext
.Context, pbrkrecOut),
PtsContext
);
287
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
297
CreateSubpageFiniteHelper(
PtsContext
, pbrkrecIn, fBRFromPreviousPage, _mainTextSegment.Handle,
312
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
345
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFloatContent),
PtsContext
);
350
PTS.Validate(PTS.FsDestroySubpageBreakRecord(
PtsContext
.Context, pbrkrecOut),
PtsContext
);
431
CreateSubpageBottomlessHelper(
PtsContext
, _mainTextSegment.Handle, PTS.True,
453
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFloatContent),
PtsContext
);
457
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
465
CreateSubpageBottomlessHelper(
PtsContext
, _mainTextSegment.Handle, PTS.True,
480
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
501
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFloatContent),
PtsContext
);
MS\Internal\PtsHost\LineBase.cs (1)
32
internal LineBase(BaseParaClient paraClient) : base(paraClient.
PtsContext
)
MS\Internal\PtsHost\LineBreakRecord.cs (1)
55
return new LineBreakRecord(
PtsContext
, _textLineBreak.Clone());
MS\Internal\PtsHost\ListParaClient.cs (4)
51
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
73
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
87
BaseParaClient listItemParaClient =
PtsContext
.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient;
128
PtsHelper.UpdateParaListVisuals(
PtsContext
, _visual.Children, fskupdInherited, arrayParaDesc);
MS\Internal\PtsHost\MarginCollapsingState.cs (1)
127
private MarginCollapsingState(MarginCollapsingState mcs) : base(mcs.
PtsContext
)
MS\Internal\PtsHost\OptimalBreakSession.cs (2)
32
internal OptimalBreakSession(TextParagraph textParagraph, TextParaClient textParaClient, TextParagraphCache TextParagraphCache, OptimalTextSource optimalTextSource) : base(textParagraph.
PtsContext
)
98
internal LineBreakpoint(OptimalBreakSession optimalBreakSession, TextBreakpoint textBreakpoint) : base(optimalBreakSession.
PtsContext
)
MS\Internal\PtsHost\PtsHost.cs (1)
1553
LineBreakRecord lineBreakRecord = new LineBreakRecord(optimalBreakSession.
PtsContext
, textLineBreakOut);
MS\Internal\PtsHost\PtsPage.cs (2)
673
internal PtsContext PtsContext { get { return _section.
PtsContext
; } }
724
_section.
PtsContext
.OnPageDisposed(_ptsPage, disposing, true);
MS\Internal\PtsHost\RowParagraph.cs (1)
205
CellParaClient cellParaClient =
PtsContext
.HandleToObject(rgpfsCell[index]) as CellParaClient;
MS\Internal\PtsHost\SubpageParaClient.cs (35)
54
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, _paraHandle));
74
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
120
PtsHelper.ArrangeTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, subpageDetails.u.simple.fswdir);
134
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
143
PtsHelper.ArrangeTrack(
PtsContext
, ref arrayColumnDesc[index], subpageDetails.u.complex.fswdir);
179
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
187
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref subpageDetails.u.simple.trackdescr);
197
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
202
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref arrayColumnDesc[index]);
236
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
245
rectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref subpageDetails.u.simple.trackdescr);
255
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
260
List<Rect> trackRectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref arrayColumnDesc[index]);
288
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
343
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr);
354
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
396
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]);
423
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
438
PtsHelper.UpdateViewportTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, ref viewportSubpage);
449
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
456
PtsHelper.UpdateViewportTrack(
PtsContext
, ref arrayColumnDesc[index], ref viewportSubpage);
481
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
490
textContentRange = PtsHelper.TextContentRangeFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack);
502
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
508
textContentRange.Merge(PtsHelper.TextContentRangeFromTrack(
PtsContext
, arrayColumnDesc[index].pfstrack));
552
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
562
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
582
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
588
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[i].pfstrack, out trackDetails));
616
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, pfstrack, out trackDetails));
622
PtsHelper.ParaListFromTrack(
PtsContext
, pfstrack, ref trackDetails, out arrayParaDesc);
627
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
649
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, pfstrack, out trackDetails));
656
PtsHelper.ParaListFromTrack(
PtsContext
, pfstrack, ref trackDetails, out arrayParaDesc);
662
paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\SubpageParagraph.cs (15)
186
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsSubpage, out marginTop);
229
PTS.Validate(PTS.FsCreateSubpageFinite(
PtsContext
.Context, pbrkrecIn, fBRFromPreviousPage, _mainTextSegment.Handle,
234
out fsfmtr, out pfspara, out pbrkrecOut, out dvrUsed, out fsbbox, out pmcsclientOut, out dvrTopSpace),
PtsContext
);
258
mcsSubpage =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
279
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsSubpage, out mcsBottom, out marginBottom);
370
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsSubpage, out marginTop);
404
PTS.Validate(PTS.FsCreateSubpageBottomless(
PtsContext
.Context, _mainTextSegment.Handle, fSuppressTopSpace,
408
out fPageBecomesUninterruptable),
PtsContext
);
422
mcsSubpage =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
426
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsSubpage, out mcsBottom, out marginBottom);
530
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsSubpage, out marginTop);
563
PTS.Validate(PTS.FsUpdateBottomlessSubpage(
PtsContext
.Context, pfspara, _mainTextSegment.Handle, fSuppressTopSpace,
567
out fPageBecomesUninterruptable),
PtsContext
);
581
mcsSubpage =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
585
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsSubpage, out mcsBottom, out marginBottom);
MS\Internal\PtsHost\TableParaClient.cs (31)
147
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
253
rowParagraph = (RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow));
353
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
401
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
475
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
532
TableRow row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
534
PtsContext
.Context,
566
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
642
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
706
RowParagraph rowParagraph = (RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow));
764
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
859
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
926
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
986
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1065
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1139
TableRow row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
1342
RowParagraph rowParagraph = (RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[0].fsnmRow));
1346
PtsContext
.Context,
1353
row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[arrayTableRowDesc.Length - 1].fsnmRow))).Row;
1356
PtsContext
.Context,
1381
PtsContext
.Context,
1384
Debug.Assert(TableParagraph == (TableParagraph)(
PtsContext
.HandleToObject(tableObjDetails.fsnmTable)));
1390
PtsContext
.Context,
1408
PtsContext
.Context,
1436
PtsContext
.Context,
1455
PtsContext
.Context,
1572
cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1686
cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1842
TableRow row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[0].fsnmRow))).Row;
1847
row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
1897
TableRow row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
MS\Internal\PtsHost\TableParagraph.cs (4)
108
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsOut, out dvr);
190
mcs =
PtsContext
.HandleToObject(pmcsclientIn) as MarginCollapsingState;
194
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcs, out mcsNew, out margin);
318
BaseParagraph prevParagraph = ((RowParagraph)
PtsContext
.HandleToObject(nmRow));
MS\Internal\PtsHost\TextParaClient.cs (82)
63
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
156
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
176
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, attachedObjectCount, out arrayAttachedObjectDesc);
183
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
201
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
260
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
272
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
278
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
352
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
393
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
401
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
410
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
431
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
438
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
447
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
468
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
499
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, attachedObjectCount, out arrayAttachedObjectDesc);
524
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
543
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
567
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
578
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
639
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
692
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
770
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
838
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
888
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
931
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
978
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
1002
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1027
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1038
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
1115
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
1181
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
1199
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
1245
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
1261
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1287
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1295
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
1323
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
1331
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
1337
PTS.Validate(PTS.FsQueryFloaterDetails(
PtsContext
.Context, attachedObjectDesc.pfspara, out floaterDetails));
1351
PTS.Validate(PTS.FsQueryFigureObjectDetails(
PtsContext
.Context, attachedObjectDesc.pfspara, out figureDetails));
1405
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1530
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1582
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1594
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
1651
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1739
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1749
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
1834
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1941
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1953
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2338
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, textDetails.cAttachedObjects, out arrayAttachedObjectDesc);
2344
BaseParaClient objectParaClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
2381
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
2473
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
2488
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2539
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2599
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
2724
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
2737
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2782
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2889
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
2981
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
2994
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3039
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3108
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3161
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3171
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3225
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3396
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3596
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3626
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3695
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3752
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, cAttachedObjects,
3762
paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
3796
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3884
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3976
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3990
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
4061
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
4109
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
MS\Internal\PtsHost\TextParagraph.cs (4)
560
LineBreakRecord lineBreakRecord = new LineBreakRecord(
PtsContext
, textLineBreak);
744
LineBreakRecord lineBreakRecord = new LineBreakRecord(
PtsContext
, textLineBreak);
1344
LineBreakRecord lineBreakRecord =
PtsContext
.HandleToObject(pbrLineIn) as LineBreakRecord;
1438
paraClient =
PtsContext
.HandleToObject(arrayAttachedObjectDesc[index].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\UIElementParaClient.cs (1)
64
PTS.Validate(PTS.FsQueryFloaterDetails(
PtsContext
.Context, _paraHandle, out floaterDetails));
MS\Internal\PtsHost\UIElementParagraph.cs (2)
123
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsNew, out margin);
362
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, null, out mcsNew, out margin);