335 references to PtsContext
PresentationFramework (335)
MS\Internal\PtsHost\BaseParaClient.cs (1)
37
protected BaseParaClient(BaseParagraph paragraph) : base(paragraph.
PtsContext
)
MS\Internal\PtsHost\CellParaClient.cs (5)
120
PTS.Validate(PTS.FsClearUpdateInfoInSubpage(
PtsContext
.Context, _paraHandle),
PtsContext
);
197
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
247
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
294
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\CellParagraph.cs (2)
106
PTS.Validate(PTS.FsDestroySubpageBreakRecord(cellParaClient.
PtsContext
.Context, pfsbrkcellOut), cellParaClient.
PtsContext
);
MS\Internal\PtsHost\ContainerParaClient.cs (23)
48
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
71
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
73
PtsHelper.ArrangeParaList(
PtsContext
, subtrackDetails.fsrc, arrayParaDesc, fswdirSubtrack);
90
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
100
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
103
ie = PtsHelper.InputHitTestParaList(
PtsContext
, pt, ref subtrackDetails.fsrc, arrayParaDesc);
143
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
152
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
155
rectangles = PtsHelper.GetRectanglesInParaList(
PtsContext
, e, start, length, arrayParaDesc);
178
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
198
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
201
PtsHelper.UpdateParaListVisuals(
PtsContext
, _visual.Children, fskupdInherited, arrayParaDesc);
219
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
226
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
229
PtsHelper.UpdateViewportParaList(
PtsContext
, arrayParaDesc, ref viewport);
272
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
284
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
326
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
338
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
343
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
376
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
385
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
387
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[0].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\ContainerParagraph.cs (15)
514
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsContainer, out marginTop);
530
PTS.Validate(PTS.FsFormatSubtrackFinite(
PtsContext
.Context, pbrkrecIn, fBRFromPreviousPage, this.Handle, iArea,
535
out dvrSubTrackTopSpace),
PtsContext
);
566
mcsContainer =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
578
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsContainer, out mcsNew, out marginBottom);
641
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsContainer, out marginTop);
673
PTS.Validate(PTS.FsFormatSubtrackBottomless(
PtsContext
.Context, this.Handle, iArea,
677
out fskclearOut, out dvrSubTrackTopSpace, out fPageBecomesUninterruptable),
PtsContext
);
696
mcsContainer =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
702
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsContainer, out mcsNew, out marginBottom);
771
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsContainer, out marginTop);
803
PTS.Validate(PTS.FsUpdateBottomlessSubtrack(
PtsContext
.Context, pfspara, this.Handle, iArea,
807
out fskclearOut, out dvrSubTrackTopSpace, out fPageBecomesUninterruptable),
PtsContext
);
826
mcsContainer =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
832
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsContainer, out mcsNew, out marginBottom);
MS\Internal\PtsHost\FigureParaClient.cs (38)
43
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, SubpageHandle),
PtsContext
);
66
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
101
PtsHelper.ArrangeTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, subpageDetails.u.simple.fswdir);
115
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
124
PtsHelper.ArrangeTrack(
PtsContext
, ref arrayColumnDesc[index], subpageDetails.u.complex.fswdir);
139
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
155
PtsHelper.UpdateViewportTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, ref viewportSubpage);
166
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
173
PtsHelper.UpdateViewportTrack(
PtsContext
, ref arrayColumnDesc[index], ref viewportSubpage);
232
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
246
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref subpageDetails.u.simple.trackdescr);
256
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
261
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref arrayColumnDesc[index]);
296
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
305
rectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref subpageDetails.u.simple.trackdescr);
315
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
320
List<Rect> trackRectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref arrayColumnDesc[index]);
350
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
405
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr);
416
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
459
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]);
496
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
505
textContentRange = PtsHelper.TextContentRangeFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack);
517
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
524
textContentRange.Merge(PtsHelper.TextContentRangeFromTrack(
PtsContext
, arrayColumnDesc[index].pfstrack));
557
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
571
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
580
PtsHelper.ParaListFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack, ref trackDetails, out arrayParaDesc);
585
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
606
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
611
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
620
PtsHelper.ParaListFromTrack(
PtsContext
, arrayColumnDesc[0].pfstrack, ref trackDetails, out arrayParaDesc);
625
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
656
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
666
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
686
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
691
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
MS\Internal\PtsHost\FigureParagraph.cs (8)
173
CreateSubpageFiniteHelper(
PtsContext
, IntPtr.Zero, PTS.False, _mainTextSegment.Handle, IntPtr.Zero, PTS.False, PTS.True,
181
PTS.Validate(PTS.FsDestroySubpageBreakRecord(
PtsContext
.Context, brParaOut));
198
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFigureContent),
PtsContext
);
202
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
216
CreateSubpageFiniteHelper(
PtsContext
, IntPtr.Zero, PTS.False, _mainTextSegment.Handle, IntPtr.Zero, PTS.False, PTS.True,
224
PTS.Validate(PTS.FsDestroySubpageBreakRecord(
PtsContext
.Context, brParaOut));
242
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
MS\Internal\PtsHost\FloaterParaClient.cs (36)
69
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
86
PtsHelper.ArrangeTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, subpageDetails.u.simple.fswdir);
100
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
109
PtsHelper.ArrangeTrack(
PtsContext
, ref arrayColumnDesc[index], subpageDetails.u.complex.fswdir);
124
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
140
PtsHelper.UpdateViewportTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, ref viewportSubpage);
151
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
158
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]);
357
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
412
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr);
423
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
466
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]);
503
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
512
textContentRange = PtsHelper.TextContentRangeFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack);
524
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
530
textContentRange.Merge(PtsHelper.TextContentRangeFromTrack(
PtsContext
, arrayColumnDesc[index].pfstrack));
565
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
579
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
589
PtsHelper.ParaListFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack, ref trackDetails, out arrayParaDesc);
594
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
615
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
620
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
629
PtsHelper.ParaListFromTrack(
PtsContext
, arrayColumnDesc[0].pfstrack, ref trackDetails, out arrayParaDesc);
634
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
665
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
675
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
695
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
700
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
MS\Internal\PtsHost\FloaterParagraph.cs (20)
242
CreateSubpageFiniteHelper(
PtsContext
, pbrkrecIn, fBRFromPreviousPage, _mainTextSegment.Handle,
272
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFloatContent),
PtsContext
);
277
PTS.Validate(PTS.FsDestroySubpageBreakRecord(
PtsContext
.Context, pbrkrecOut),
PtsContext
);
282
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
292
CreateSubpageFiniteHelper(
PtsContext
, pbrkrecIn, fBRFromPreviousPage, _mainTextSegment.Handle,
307
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
340
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFloatContent),
PtsContext
);
345
PTS.Validate(PTS.FsDestroySubpageBreakRecord(
PtsContext
.Context, pbrkrecOut),
PtsContext
);
428
CreateSubpageBottomlessHelper(
PtsContext
, _mainTextSegment.Handle, PTS.True,
450
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFloatContent),
PtsContext
);
454
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
462
CreateSubpageBottomlessHelper(
PtsContext
, _mainTextSegment.Handle, PTS.True,
477
MarginCollapsingState mcs =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
498
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, pfsFloatContent),
PtsContext
);
MS\Internal\PtsHost\LineBase.cs (1)
22
internal LineBase(BaseParaClient paraClient) : base(paraClient.
PtsContext
)
MS\Internal\PtsHost\LineBreakRecord.cs (1)
51
return new LineBreakRecord(
PtsContext
, _textLineBreak.Clone());
MS\Internal\PtsHost\ListParaClient.cs (4)
47
PTS.Validate(PTS.FsQuerySubtrackDetails(
PtsContext
.Context, _paraHandle, out subtrackDetails));
69
PtsHelper.ParaListFromSubtrack(
PtsContext
, _paraHandle, ref subtrackDetails, out arrayParaDesc);
83
BaseParaClient listItemParaClient =
PtsContext
.HandleToObject(arrayParaDesc[index].pfsparaclient) as BaseParaClient;
124
PtsHelper.UpdateParaListVisuals(
PtsContext
, _visual.Children, fskupdInherited, arrayParaDesc);
MS\Internal\PtsHost\MarginCollapsingState.cs (1)
124
private MarginCollapsingState(MarginCollapsingState mcs) : base(mcs.
PtsContext
)
MS\Internal\PtsHost\OptimalBreakSession.cs (2)
25
internal OptimalBreakSession(TextParagraph textParagraph, TextParaClient textParaClient, TextParagraphCache TextParagraphCache, OptimalTextSource optimalTextSource) : base(textParagraph.
PtsContext
)
91
internal LineBreakpoint(OptimalBreakSession optimalBreakSession, TextBreakpoint textBreakpoint) : base(optimalBreakSession.
PtsContext
)
MS\Internal\PtsHost\PtsHost.cs (1)
1536
LineBreakRecord lineBreakRecord = new LineBreakRecord(optimalBreakSession.
PtsContext
, textLineBreakOut);
MS\Internal\PtsHost\PtsPage.cs (2)
667
internal PtsContext PtsContext { get { return _section.
PtsContext
; } }
718
_section.
PtsContext
.OnPageDisposed(_ptsPage, disposing, true);
MS\Internal\PtsHost\RowParagraph.cs (1)
202
CellParaClient cellParaClient =
PtsContext
.HandleToObject(rgpfsCell[index]) as CellParaClient;
MS\Internal\PtsHost\SubpageParaClient.cs (35)
49
PTS.Validate(PTS.FsDestroySubpage(
PtsContext
.Context, _paraHandle));
69
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
115
PtsHelper.ArrangeTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, subpageDetails.u.simple.fswdir);
129
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
138
PtsHelper.ArrangeTrack(
PtsContext
, ref arrayColumnDesc[index], subpageDetails.u.complex.fswdir);
174
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
182
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref subpageDetails.u.simple.trackdescr);
192
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
197
ie = PtsHelper.InputHitTestTrack(
PtsContext
, pt, ref arrayColumnDesc[index]);
231
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
240
rectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref subpageDetails.u.simple.trackdescr);
250
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
255
List<Rect> trackRectangles = PtsHelper.GetRectanglesInTrack(
PtsContext
, e, start, length, ref arrayColumnDesc[index]);
283
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
338
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr);
349
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
391
PtsHelper.UpdateTrackVisuals(
PtsContext
, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]);
418
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
434
PtsHelper.UpdateViewportTrack(
PtsContext
, ref subpageDetails.u.simple.trackdescr, ref viewportSubpage);
445
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
452
PtsHelper.UpdateViewportTrack(
PtsContext
, ref arrayColumnDesc[index], ref viewportSubpage);
477
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
486
textContentRange = PtsHelper.TextContentRangeFromTrack(
PtsContext
, subpageDetails.u.simple.trackdescr.pfstrack);
498
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
504
textContentRange.Merge(PtsHelper.TextContentRangeFromTrack(
PtsContext
, arrayColumnDesc[index].pfstrack));
548
PTS.Validate(PTS.FsQuerySubpageDetails(
PtsContext
.Context, _paraHandle, out subpageDetails));
558
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
578
PtsHelper.TrackListFromSubpage(
PtsContext
, _paraHandle, ref subpageDetails, out arrayColumnDesc);
584
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, arrayColumnDesc[i].pfstrack, out trackDetails));
612
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, pfstrack, out trackDetails));
618
PtsHelper.ParaListFromTrack(
PtsContext
, pfstrack, ref trackDetails, out arrayParaDesc);
623
BaseParaClient paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
645
PTS.Validate(PTS.FsQueryTrackDetails(
PtsContext
.Context, pfstrack, out trackDetails));
652
PtsHelper.ParaListFromTrack(
PtsContext
, pfstrack, ref trackDetails, out arrayParaDesc);
658
paraClient =
PtsContext
.HandleToObject(arrayParaDesc[i].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\SubpageParagraph.cs (15)
171
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsSubpage, out marginTop);
214
PTS.Validate(PTS.FsCreateSubpageFinite(
PtsContext
.Context, pbrkrecIn, fBRFromPreviousPage, _mainTextSegment.Handle,
219
out fsfmtr, out pfspara, out pbrkrecOut, out dvrUsed, out fsbbox, out pmcsclientOut, out dvrTopSpace),
PtsContext
);
243
mcsSubpage =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
264
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsSubpage, out mcsBottom, out marginBottom);
355
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsSubpage, out marginTop);
389
PTS.Validate(PTS.FsCreateSubpageBottomless(
PtsContext
.Context, _mainTextSegment.Handle, fSuppressTopSpace,
393
out fPageBecomesUninterruptable),
PtsContext
);
407
mcsSubpage =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
411
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsSubpage, out mcsBottom, out marginBottom);
515
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsSubpage, out marginTop);
548
PTS.Validate(PTS.FsUpdateBottomlessSubpage(
PtsContext
.Context, pfspara, _mainTextSegment.Handle, fSuppressTopSpace,
552
out fPageBecomesUninterruptable),
PtsContext
);
566
mcsSubpage =
PtsContext
.HandleToObject(pmcsclientOut) as MarginCollapsingState;
570
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcsSubpage, out mcsBottom, out marginBottom);
MS\Internal\PtsHost\TableParaClient.cs (31)
141
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
247
rowParagraph = (RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow));
347
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
395
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
469
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
526
TableRow row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
528
PtsContext
.Context,
560
CellParaClient cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
636
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
700
RowParagraph rowParagraph = (RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow));
758
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
853
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
920
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
980
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1059
CellParaClient cpc = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1133
TableRow row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
1336
RowParagraph rowParagraph = (RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[0].fsnmRow));
1340
PtsContext
.Context,
1347
row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[arrayTableRowDesc.Length - 1].fsnmRow))).Row;
1350
PtsContext
.Context,
1375
PtsContext
.Context,
1378
Debug.Assert(TableParagraph == (TableParagraph)(
PtsContext
.HandleToObject(tableObjDetails.fsnmTable)));
1384
PtsContext
.Context,
1402
PtsContext
.Context,
1430
PtsContext
.Context,
1449
PtsContext
.Context,
1566
cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1680
cellParaClient = (CellParaClient)(
PtsContext
.HandleToObject(arrayFsCell[iC]));
1836
TableRow row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[0].fsnmRow))).Row;
1841
row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
1891
TableRow row = ((RowParagraph)(
PtsContext
.HandleToObject(arrayTableRowDesc[iR].fsnmRow))).Row;
MS\Internal\PtsHost\TableParagraph.cs (4)
96
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsOut, out dvr);
177
mcs =
PtsContext
.HandleToObject(pmcsclientIn) as MarginCollapsingState;
181
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, mcs, out mcsNew, out margin);
305
BaseParagraph prevParagraph = ((RowParagraph)
PtsContext
.HandleToObject(nmRow));
MS\Internal\PtsHost\TextParaClient.cs (82)
57
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
150
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
170
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, attachedObjectCount, out arrayAttachedObjectDesc);
177
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
195
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
254
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
266
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
272
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
346
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
387
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
395
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
404
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
425
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
432
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
441
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
462
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
493
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, attachedObjectCount, out arrayAttachedObjectDesc);
518
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
537
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
561
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
572
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
633
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
686
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
764
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
832
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
882
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
925
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
972
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
996
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1021
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1032
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
1109
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
1175
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
1193
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
1239
PTS.Validate(PTS.FsQueryTextDetails(
PtsContext
.Context, _paraHandle, out textDetails));
1255
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1281
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1289
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
1317
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
1325
BaseParaClient paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
1331
PTS.Validate(PTS.FsQueryFloaterDetails(
PtsContext
.Context, attachedObjectDesc.pfspara, out floaterDetails));
1345
PTS.Validate(PTS.FsQueryFigureObjectDetails(
PtsContext
.Context, attachedObjectDesc.pfspara, out figureDetails));
1399
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1524
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1576
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1588
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
1645
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1733
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1743
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
1828
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1935
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
1947
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2332
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, textDetails.cAttachedObjects, out arrayAttachedObjectDesc);
2338
BaseParaClient objectParaClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
2375
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
2467
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
2482
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2533
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2593
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
2718
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
2731
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2776
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
2883
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
2975
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
2988
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3033
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3102
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3155
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3165
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3219
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3390
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3590
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3620
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3689
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
3746
PtsHelper.AttachedObjectListFromParagraph(
PtsContext
, _paraHandle, cAttachedObjects,
3756
paraClient =
PtsContext
.HandleToObject(attachedObjectDesc.pfsparaclient) as BaseParaClient;
3790
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3878
PtsHelper.LineListSimpleFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3970
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
3984
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
4055
PtsHelper.LineListCompositeFromTextPara(
PtsContext
, _paraHandle, ref textDetails, out arrayLineDesc);
4103
PtsHelper.LineElementListFromCompositeLine(
PtsContext
, ref lineDesc, out arrayLineElement);
MS\Internal\PtsHost\TextParagraph.cs (4)
541
LineBreakRecord lineBreakRecord = new LineBreakRecord(
PtsContext
, textLineBreak);
722
LineBreakRecord lineBreakRecord = new LineBreakRecord(
PtsContext
, textLineBreak);
1315
LineBreakRecord lineBreakRecord =
PtsContext
.HandleToObject(pbrLineIn) as LineBreakRecord;
1409
paraClient =
PtsContext
.HandleToObject(arrayAttachedObjectDesc[index].pfsparaclient) as BaseParaClient;
MS\Internal\PtsHost\UIElementParaClient.cs (1)
60
PTS.Validate(PTS.FsQueryFloaterDetails(
PtsContext
.Context, _paraHandle, out floaterDetails));
MS\Internal\PtsHost\UIElementParagraph.cs (2)
111
MarginCollapsingState.CollapseTopMargin(
PtsContext
, mbp, mcs, out mcsNew, out margin);
366
MarginCollapsingState.CollapseBottomMargin(
PtsContext
, mbp, null, out mcsNew, out margin);