2658 references to PTS
PresentationFramework (2658)
src\Framework\MS\Internal\Documents\ColumnResult.cs (2)
55
internal ColumnResult(FlowDocumentPage page, ref
PTS
.FSTRACKDESCRIPTION trackDesc, Vector contentOffset)
78
internal ColumnResult(BaseParaClient subpage, ref
PTS
.FSTRACKDESCRIPTION trackDesc, Vector contentOffset)
src\Framework\MS\Internal\Documents\FlowDocumentFormatter.cs (2)
138
PTS
.FSRECT fsrectViewport = new
PTS
.FSRECT(viewport);
src\Framework\MS\Internal\PtsHost\BaseParaClient.cs (7)
85
internal void Arrange(IntPtr pfspara,
PTS
.FSRECT rcPara, int dvrTopSpace, uint fswdirParent)
102
_flowDirectionParent =
PTS
.FswdirToFlowDirection(fswdirParent);
135
internal virtual IInputElement InputHitTest(
PTS
.FSPOINT pt)
173
internal virtual void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited) { }
179
internal virtual void UpdateViewport(ref
PTS
.FSRECT viewport) { }
234
internal
PTS
.FSRECT Rect { get { return _rect; } }
287
protected
PTS
.FSRECT _rect;
src\Framework\MS\Internal\PtsHost\BaseParagraph.cs (13)
53
_changeType =
PTS
.FSKCHANGE.fskchNone;
79
out
PTS
.FSKCHANGE fskch,
83
fNoFurtherChanges =
PTS
.FromBoolean(_stopAsking);
129
ref
PTS
.FSPAP fspap);
161
internal virtual void SetUpdateInfo(
PTS
.FSKCHANGE fskch, bool stopAsking)
172
_changeType =
PTS
.FSKCHANGE.fskchNone;
224
protected void GetParaProperties(ref
PTS
.FSPAP fspap, bool ignoreElementProps)
228
fspap.fKeepWithNext =
PTS
.FromBoolean(DynamicPropertyReader.GetKeepWithNext(_element));
230
fspap.fBreakPageBefore = _element is Block ?
PTS
.FromBoolean(StructuralCache.CurrentFormatContext.FinitePage && ((Block)_element).BreakPageBefore) :
PTS
.FromBoolean(false);
232
fspap.fBreakColumnBefore = _element is Block ?
PTS
.FromBoolean(((Block)_element).BreakColumnBefore) :
PTS
.FromBoolean(false);
291
protected
PTS
.FSKCHANGE _changeType;
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (45)
90
internal void Arrange(int du, int dv,
PTS
.FSRECT rcTable, FlowDirection tableFlowDirection, PageContext pageContext)
112
PTS
.FSRECT pageRect = pageContext.PageRect;
114
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(PageFlowDirection), ref pageRect, ref rcTable,
PTS
.FlowDirectionToFswdir(tableFlowDirection), out rcTable));
124
PTS
.FSRECT pageRect = pageContext.PageRect;
126
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(tableFlowDirection), ref pageRect, ref _rect,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out _rect));
137
PTS
.Validate(
PTS
.FsClearUpdateInfoInSubpage(PtsContext.Context, _paraHandle.Value), PtsContext);
146
ValidateVisual(
PTS
.FSKUPDATE.fskupdNew);
167
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
168
out
PTS
.FSFMTR fsfmtr, out int dvrUsed, out IntPtr breakRecordOut)
171
PTS
.FSBBOX fsbbox;
173
PTS
.FSKCLEAR fskclearOut;
175
PTS
.FSPAP fspap;
183
fspap = new
PTS
.FSPAP();
186
PTS
.FSRECT rectCell;
188
rectCell = new
PTS
.FSRECT();
199
PTS
.FromBoolean(true),
201
PTS
.FromBoolean(isEmptyOk),
202
PTS
.FromBoolean(suppressTopSpace),
206
PTS
.FSKCLEAR.fskclearNone,
220
PTS
.ValidateHandle(mcs);
240
internal void FormatCellBottomless(uint fswdir, double width, out
PTS
.FSFMTRBL fmtrbl, out int dvrUsed)
243
PTS
.FSBBOX fsbbox;
245
PTS
.FSKCLEAR fskclearOut;
248
PTS
.FSPAP fspap;
256
fspap = new
PTS
.FSPAP();
259
CellParagraph.FormatParaBottomless(this,
PTS
.FromBoolean(false),
261
0, null,
PTS
.FSKCLEAR.fskclearNone,
262
PTS
.FromBoolean(true),
275
PTS
.ValidateHandle(mcs);
297
internal void UpdateBottomlessCell(uint fswdir, double width, out
PTS
.FSFMTRBL fmtrbl, out int dvrUsed)
300
PTS
.FSKCLEAR fskclearOut;
301
PTS
.FSBBOX fsbbox;
305
PTS
.FSPAP fspap;
307
fspap = new
PTS
.FSPAP();
311
PTS
.FromBoolean(false),
315
PTS
.FSKCLEAR.fskclearNone,
316
PTS
.FromBoolean(true),
327
PTS
.ValidateHandle(mcs);
src\Framework\MS\Internal\PtsHost\CellParagraph.cs (14)
71
out
PTS
.FSFMTR pfmtr, // OUT:
94
PTS
.ToBoolean(fEmptyOK),
96
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA.fsksuppresshardbreakbeforefirstparaNone,
104
if(pfmtr.kstop ==
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace)
113
if (
PTS
.ToBoolean(fEmptyOK))
118
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(cellParaClient.PtsContext.Context, pfsbrkcellOut), cellParaClient.PtsContext);
123
pfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
128
pfmtr.fForcedProgress =
PTS
.True;
144
out
PTS
.FSFMTRBL fmtrbl, // OUT:
175
out
PTS
.FSFMTRBL fmtrbl, // OUT:
216
out
PTS
.FSKCHANGE fskchCell) // OUT:
219
fWidthChanged =
PTS
.True;
220
fskchCell =
PTS
.FSKCHANGE.fskchNew;
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (39)
63
PTS
.FSSUBTRACKDETAILS subtrackDetails;
64
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle.Value, out subtrackDetails));
80
uint fswdirSubtrack =
PTS
.FlowDirectionToFswdir(_flowDirection);
87
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
108
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
113
PTS
.FSSUBTRACKDETAILS subtrackDetails;
114
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle.Value, out subtrackDetails));
123
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
173
PTS
.FSSUBTRACKDETAILS subtrackDetails;
174
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle.Value, out subtrackDetails));
182
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
212
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
215
PTS
.FSSUBTRACKDETAILS subtrackDetails;
216
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle.Value, out subtrackDetails));
235
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
261
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
264
PTS
.FSSUBTRACKDETAILS subtrackDetails;
265
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle.Value, out subtrackDetails));
271
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
319
PTS
.FSSUBTRACKDETAILS subtrackDetails;
320
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
325
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle.Value, out subtrackDetails));
344
PTS
.ValidateHandle(paraClient);
385
PTS
.FSSUBTRACKDETAILS subtrackDetails;
386
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle.Value, out subtrackDetails));
397
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
404
PTS
.ValidateHandle(paraClient);
442
PTS
.FSSUBTRACKDETAILS subtrackDetails;
443
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle.Value, out subtrackDetails));
451
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
455
PTS
.ValidateHandle(paraClient);
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (95)
113
_ur.SyncPara.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNone, _ur.Next == null);
153
_firstChild.SetUpdateInfo(
PTS
.FSKCHANGE.fskchInside, false);
170
_firstChild.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
181
fSuccessful =
PTS
.FromBoolean(_firstChild != null);
219
_ur.SyncPara.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNone, _ur.Next == null);
234
prevParagraph.Next.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNone, false);
239
Debug.Assert(_ur.ChangeType ==
PTS
.FSKCHANGE.fskchInside); // Inconsistent UpdateRecord data
241
prevParagraph.Next.SetUpdateInfo(
PTS
.FSKCHANGE.fskchInside, false);
262
if (_changeType ==
PTS
.FSKCHANGE.fskchInside)
264
nextParagraph.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
272
fFound =
PTS
.True;
278
fFound =
PTS
.False;
311
fFound =
PTS
.FromBoolean(_ur != null);
312
fChangeFirst =
PTS
.FromBoolean((_ur != null) && (_firstChild == null || _firstChild == _ur.FirstPara));
313
if (
PTS
.ToBoolean(fFound) && !
PTS
.ToBoolean(fChangeFirst))
329
if (_ur.ChangeType ==
PTS
.FSKCHANGE.fskchNew)
340
if (
PTS
.ToBoolean(fFound))
342
_ur.InProcessing =
PTS
.ToBoolean(fChangeFirst);
343
_changeType =
PTS
.FSKCHANGE.fskchInside;
368
out
PTS
.FSKCHANGE fskch) // OUT: kind of change
413
para.SetUpdateInfo(
PTS
.FSKCHANGE.fskchInside, false);
418
para.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
427
para.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
432
_changeType =
PTS
.FSKCHANGE.fskchInside;
442
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
484
ref
PTS
.FSRECT fsrcToFill, // IN: rectangle to fill
486
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
487
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
489
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting the paragraph
493
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
495
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
498
uint fswdirSubtrack =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
521
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
526
PTS
.FSRECT fsrcToFillSubtrack = fsrcToFill;
531
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
533
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubtrack, fswdirSubtrack, out fsrcToFillSubtrack));
534
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFill, fswdirSubtrack, out fsrcToFill));
547
if (
PTS
.ToBoolean(fSuppressTopSpace))
562
PTS
.Validate(
PTS
.FsFormatSubtrackFinite(PtsContext.Context, pbrkrecIn, fBRFromPreviousPage, this.Handle, iArea,
578
if (dvrSubTrackTopSpace >
PTS
.dvBottomUndefined / 2)
589
if (fsfmtr.kstop >=
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace) // No progress or collision
599
PTS
.ValidateHandle(mcsContainer);
603
if (fsfmtr.kstop ==
PTS
.FSFMTRKSTOP.fmtrGoalReached)
632
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
633
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubtrack, ref pageRect, ref fsbbox, fswdir, out fsbbox));
660
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
662
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
665
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
667
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
671
uint fswdirSubtrack =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
681
if (
PTS
.ToBoolean(fSuppressTopSpace))
688
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
692
PTS
.FSRECT fsrcToFillSubtrack = new
PTS
.FSRECT(urTrack, 0, durTrack, 0);
693
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
694
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubtrack, fswdirSubtrack, out fsrcToFillSubtrack));
712
PTS
.Validate(
PTS
.FsFormatSubtrackBottomless(PtsContext.Context, this.Handle, iArea,
728
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
736
PTS
.ValidateHandle(mcsContainer);
768
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
769
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubtrack, ref pageRect, ref fsbbox, fswdir, out fsbbox));
798
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
800
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
802
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
804
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
808
uint fswdirSubtrack =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
818
if (
PTS
.ToBoolean(fSuppressTopSpace))
825
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
829
PTS
.FSRECT fsrcToFillSubtrack = new
PTS
.FSRECT(urTrack, 0, durTrack, 0);
830
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
831
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubtrack, fswdirSubtrack, out fsrcToFillSubtrack));
849
PTS
.Validate(
PTS
.FsUpdateBottomlessSubtrack(PtsContext.Context, pfspara, this.Handle, iArea,
865
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
873
PTS
.ValidateHandle(mcsContainer);
905
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
906
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubtrack, ref pageRect, ref fsbbox, fswdir, out fsbbox));
1208
else if (ur.SyncPara == ur.Next.FirstPara && ur.Next.ChangeType ==
PTS
.FSKCHANGE.fskchNew)
1231
if (ur.ChangeType ==
PTS
.FSKCHANGE.fskchInside)
1261
if (_ur.FirstPara == _firstChild && _ur.ChangeType ==
PTS
.FSKCHANGE.fskchNew)
1317
ur.ChangeType =
PTS
.FSKCHANGE.fskchNew;
1321
ur.ChangeType =
PTS
.FSKCHANGE.fskchInside;
1325
ur.ChangeType =
PTS
.FSKCHANGE.fskchNew;
1333
|| (dcpPara + para.LastFormatCch == ur.Dtr.StartIndex + ur.Dtr.PositionsRemoved && ur.ChangeType !=
PTS
.FSKCHANGE.fskchNew))
src\Framework\MS\Internal\PtsHost\EmbeddedObject.cs (1)
111
Para.SetUpdateInfo(
PTS
.FSKCHANGE.fskchInside, false);
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (84)
61
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, SubpageHandle), PtsContext);
91
PTS
.FSSUBPAGEDETAILS subpageDetails;
92
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
118
if (
PTS
.ToBoolean(subpageDetails.fSimple))
120
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.simple.trackdescr.fsrc);
133
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.complex.fsrc);
140
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
168
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
171
PTS
.FSSUBPAGEDETAILS subpageDetails;
172
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
174
PTS
.FSRECT viewportSubpage = new
PTS
.FSRECT();
185
if (
PTS
.ToBoolean(subpageDetails.fSimple))
197
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
218
internal void ArrangeFigure(
PTS
.FSRECT rcFigure,
PTS
.FSRECT rcHostPara, uint fswdirParent, PageContext pageContext)
234
_flowDirectionParent =
PTS
.FswdirToFlowDirection(fswdirParent);
253
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
271
PTS
.FSSUBPAGEDETAILS subpageDetails;
272
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
278
pt = new
PTS
.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v);
284
if (
PTS
.ToBoolean(subpageDetails.fSimple))
295
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
343
PTS
.FSSUBPAGEDETAILS subpageDetails;
344
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
350
if (
PTS
.ToBoolean(subpageDetails.fSimple))
362
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
399
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
402
fskupdInherited =
PTS
.FSKUPDATE.fskupdNew;
405
PTS
.FSSUBPAGEDETAILS subpageDetails;
406
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
437
if (
PTS
.ToBoolean(subpageDetails.fSimple))
440
PTS
.FSKUPDATE fskupd = subpageDetails.u.simple.trackdescr.fsupdinf.fskupd;
441
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
446
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
471
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
477
PTS
.FSKUPDATE fskupd = fskupdInherited;
478
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
479
Debug.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdNoChange);
501
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
526
pageContentVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
527
floatingElementsVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
529
PTS
.FSRECT clipRect = new
PTS
.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
559
PTS
.FSSUBPAGEDETAILS subpageDetails;
560
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
566
if (
PTS
.ToBoolean(subpageDetails.fSimple))
580
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
628
PTS
.FSSUBPAGEDETAILS subpageDetails;
629
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
638
if (
PTS
.ToBoolean(subpageDetails.fSimple))
642
PTS
.FSTRACKDETAILS trackDetails;
643
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
651
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
658
PTS
.ValidateHandle(paraClient);
677
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
682
PTS
.FSTRACKDETAILS trackDetails;
683
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
691
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
698
PTS
.ValidateHandle(paraClient);
735
PTS
.FSSUBPAGEDETAILS subpageDetails;
736
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
742
if (
PTS
.ToBoolean(subpageDetails.fSimple))
745
PTS
.FSTRACKDETAILS trackDetails;
746
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
765
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
770
PTS
.FSTRACKDETAILS trackDetails;
771
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
853
internal
PTS
.FSRECT ContentRect { get { return _contentRect; } }
874
private
PTS
.FSRECT _contentRect;
875
private
PTS
.FSRECT _paddingRect;
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (76)
86
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
89
fspap.idobj =
PTS
.fsidobjFigure;
131
out
PTS
.FSFIGUREPROPS fsfigprops, // OUT: figure attributes
141
uint fswdirPara =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
144
PTS
.FSBBOX fsbbox;
147
PTS
.FSCOLUMNINFO[] columnInfoCollection;
184
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
190
PTS
.FSFMTR fsfmtr;
192
PTS
.FSRECT marginRect = new
PTS
.FSRECT(0, 0, subpageWidth, subpageHeight);
194
CreateSubpageFiniteHelper(PtsContext, IntPtr.Zero,
PTS
.False, _mainTextSegment.Handle, IntPtr.Zero,
PTS
.False,
PTS
.True,
196
cColumns, columnInfoCollection,
PTS
.False,
202
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(PtsContext.Context, brParaOut));
211
if(
PTS
.ToBoolean(fsbbox.fDefined))
219
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFigureContent), PtsContext);
224
PTS
.ValidateHandle(mcs);
233
PTS
.FSFMTR fsfmtr;
235
PTS
.FSRECT marginRect = new
PTS
.FSRECT(0, 0, subpageWidth, subpageHeight);
237
CreateSubpageFiniteHelper(PtsContext, IntPtr.Zero,
PTS
.False, _mainTextSegment.Handle, IntPtr.Zero,
PTS
.False,
PTS
.True,
239
cColumns, columnInfoCollection,
PTS
.False,
245
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(PtsContext.Context, brParaOut));
264
PTS
.ValidateHandle(mcs);
280
fsfigprops.fskrefU = (
PTS
.FSKREF)(((int)horzAnchor) / 3);
281
fsfigprops.fskrefV = (
PTS
.FSKREF)(((int)vertAnchor) / 3);
282
fsfigprops.fskalfU = (
PTS
.FSKALIGNFIG)(((int)horzAnchor) % 3);
283
fsfigprops.fskalfV = (
PTS
.FSKALIGNFIG)(((int)vertAnchor) % 3);
286
if (!
PTS
.ToBoolean(fInTextLine))
288
if (fsfigprops.fskrefU ==
PTS
.FSKREF.fskrefChar)
290
fsfigprops.fskrefU =
PTS
.FSKREF.fskrefMargin;
291
fsfigprops.fskalfU =
PTS
.FSKALIGNFIG.fskalfMin;
293
if (fsfigprops.fskrefV ==
PTS
.FSKREF.fskrefChar)
295
fsfigprops.fskrefV =
PTS
.FSKREF.fskrefMargin;
296
fsfigprops.fskalfV =
PTS
.FSKALIGNFIG.fskalfMin;
301
fsfigprops.fskwrap =
PTS
.WrapDirectionToFskwrap(element.WrapDirection);
302
fsfigprops.fNonTextPlane =
PTS
.False;
303
fsfigprops.fAllowOverlap =
PTS
.False;
304
fsfigprops.fDelayable =
PTS
.FromBoolean(element.CanDelayPlacement);
327
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
341
ref
PTS
.FSRECT fsrcPage, // IN: page rectangle
342
ref
PTS
.FSRECT fsrcMargin, // IN: rectangle within page margins
343
ref
PTS
.FSRECT fsrcTrack, // IN: track rectangle
344
ref
PTS
.FSRECT fsrcFigurePreliminary,// IN: prelim figure rect calculated from figure props
348
out
PTS
.FSRECT fsrcFlow, // OUT: FlowAround rectangle
349
out
PTS
.FSRECT fsrcOverlap, // OUT: Overlap rectangle
350
out
PTS
.FSBBOX fsbbox, // OUT: bbox
351
out
PTS
.FSRECT fsrcSearch) // OUT: search area for overlap
366
!
PTS
.ToBoolean(fMustPosition)) // Can delay placement is handled by figure properties.
368
fPushToNextTrack =
PTS
.True;
372
fPushToNextTrack =
PTS
.False;
424
fsbbox = new
PTS
.FSBBOX();
425
fsbbox.fDefined =
PTS
.True;
522
ref
PTS
.FSRECT rcMargin, // IN: rectangle within subpage margins
524
PTS
.FSCOLUMNINFO[] columnInfoCollection, // IN: array of column info
526
out
PTS
.FSFMTR fsfmtr, // OUT: why formatting was stopped
530
out
PTS
.FSBBOX fsBBox, // OUT: subpage bbox
540
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
542
PTS
.Validate(
PTS
.FsCreateSubpageFinite(ptsContext.Context, brParaIn, fFromPreviousPage, nSeg,
544
ref rcMargin, cColumns, rgColumnInfo,
PTS
.False,
545
0, null, null, 0, null, null,
PTS
.False,
546
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA.fsksuppresshardbreakbeforefirstparaNone,
556
private int CalculateParagraphToColumnOffset(FigureHorizontalAnchor horizontalAnchor,
PTS
.FSRECT fsrcInColumn)
678
private
PTS
.FSRECT CalculateSearchArea(FigureHorizontalAnchor horizAnchor, FigureVerticalAnchor vertAnchor, ref
PTS
.FSRECT fsrcPage, ref
PTS
.FSRECT fsrcMargin, ref
PTS
.FSRECT fsrcTrack, ref
PTS
.FSRECT fsrcFigurePreliminary)
680
PTS
.FSRECT fsrcSearch;
src\Framework\MS\Internal\PtsHost\FloaterBaseParaClient.cs (2)
60
internal virtual void ArrangeFloater(
PTS
.FSRECT rcFloater,
PTS
.FSRECT rcHostPara, uint fswdirParent, PageContext pageContext)
src\Framework\MS\Internal\PtsHost\FloaterBaseParagraph.cs (13)
71
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
74
fskch =
PTS
.FSKCHANGE.fskchNew;
75
fNoFurtherChanges =
PTS
.FromBoolean(_stopAsking);
82
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
109
out
PTS
.FSFLOATERPROPS fsfloaterprops); // OUT: properties of the floater
126
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
148
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
150
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting
155
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
169
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
173
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
188
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
191
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (84)
90
PTS
.FSSUBPAGEDETAILS subpageDetails;
91
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
99
if (
PTS
.ToBoolean(subpageDetails.fSimple))
101
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.simple.trackdescr.fsrc);
114
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.complex.fsrc);
121
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
150
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
153
PTS
.FSSUBPAGEDETAILS subpageDetails;
154
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
156
PTS
.FSRECT viewportSubpage = new
PTS
.FSRECT();
167
if (
PTS
.ToBoolean(subpageDetails.fSimple))
179
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
201
internal override void ArrangeFloater(
PTS
.FSRECT rcFloater,
PTS
.FSRECT rcHostPara, uint fswdirParent, PageContext pageContext)
220
_flowDirectionParent =
PTS
.FswdirToFlowDirection(fswdirParent);
255
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
273
PTS
.FSSUBPAGEDETAILS subpageDetails;
274
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
280
pt = new
PTS
.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v);
286
if (
PTS
.ToBoolean(subpageDetails.fSimple))
297
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
345
PTS
.FSSUBPAGEDETAILS subpageDetails;
346
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
352
if (
PTS
.ToBoolean(subpageDetails.fSimple))
364
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
403
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
406
fskupdInherited =
PTS
.FSKUPDATE.fskupdNew;
409
PTS
.FSSUBPAGEDETAILS subpageDetails;
410
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
441
if (
PTS
.ToBoolean(subpageDetails.fSimple))
444
PTS
.FSKUPDATE fskupd = subpageDetails.u.simple.trackdescr.fsupdinf.fskupd;
445
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
450
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
475
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
481
PTS
.FSKUPDATE fskupd = fskupdInherited;
482
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
483
Debug.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdNoChange);
505
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
530
pageContentVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
531
floatingElementsVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
533
PTS
.FSRECT clipRect = new
PTS
.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
563
PTS
.FSSUBPAGEDETAILS subpageDetails;
564
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
570
if (
PTS
.ToBoolean(subpageDetails.fSimple))
584
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
633
PTS
.FSSUBPAGEDETAILS subpageDetails;
634
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
643
if (
PTS
.ToBoolean(subpageDetails.fSimple))
647
PTS
.FSTRACKDETAILS trackDetails;
648
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
657
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
664
PTS
.ValidateHandle(paraClient);
683
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
688
PTS
.FSTRACKDETAILS trackDetails;
689
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
697
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
704
PTS
.ValidateHandle(paraClient);
741
PTS
.FSSUBPAGEDETAILS subpageDetails;
742
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
748
if (
PTS
.ToBoolean(subpageDetails.fSimple))
751
PTS
.FSTRACKDETAILS trackDetails;
752
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
771
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
776
PTS
.FSTRACKDETAILS trackDetails;
777
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
859
internal
PTS
.FSRECT ContentRect { get { return _contentRect; } }
884
private bool IsFloaterHorizontallyCentered(
PTS
.FSRECT rcFloater,
PTS
.FSRECT rcHostPara)
907
private
PTS
.FSRECT _contentRect;
908
private
PTS
.FSRECT _paddingRect;
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (90)
54
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
59
fskch =
PTS
.FSKCHANGE.fskchNew;
127
out
PTS
.FSFLOATERPROPS fsfloaterprops) // OUT: properties of the floater
129
fsfloaterprops = new
PTS
.FSFLOATERPROPS();
130
fsfloaterprops.fFloat =
PTS
.True; // Floater
131
fsfloaterprops.fskclear =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
137
fsfloaterprops.fskfloatalignment =
PTS
.FSKFLOATALIGNMENT.fskfloatalignMax;
140
fsfloaterprops.fskfloatalignment =
PTS
.FSKFLOATALIGNMENT.fskfloatalignCenter;
144
fsfloaterprops.fskfloatalignment =
PTS
.FSKFLOATALIGNMENT.fskfloatalignMin;
149
fsfloaterprops.fskwr =
PTS
.WrapDirectionToFskwrap(WrapDirection);
152
fsfloaterprops.fDelayNoProgress =
PTS
.True;
175
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
177
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting
182
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
186
uint fswdirPara =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
191
PTS
.FSRECT fsrcSubpageMargin;
192
PTS
.FSCOLUMNINFO[] columnInfoCollection;
201
if (IsFloaterRejected(
PTS
.ToBoolean(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable)))
205
fsfmtr = new
PTS
.FSFMTR();
206
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
207
fsfmtr.fContainsItemThatStoppedBeforeFootnote =
PTS
.False;
208
fsfmtr.fForcedProgress =
PTS
.False;
209
fsbbox = new
PTS
.FSBBOX();
210
fsbbox.fDefined =
PTS
.False;
222
if (dvrAvailable >
PTS
.dvBottomUndefined / 2)
224
dvrAvailable = Math.Min(dvrAvailable,
PTS
.dvBottomUndefined / 2);
225
fEmptyOk =
PTS
.False;
244
fsrcSubpageMargin = new
PTS
.FSRECT();
250
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
256
footnoteRejector, fEmptyOk,
PTS
.True, fswdir, subpageWidth, subpageHeight,
257
ref fsrcSubpageMargin, cColumns, columnInfoCollection,
PTS
.False, fsksuppresshardbreakbeforefirstparaIn,
262
if (fsfmtr.kstop >=
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace) // No progress or collision
277
if (
PTS
.ToBoolean(fsbbox.fDefined))
285
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFloatContent), PtsContext);
290
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(PtsContext.Context, pbrkrecOut), PtsContext);
296
PTS
.ValidateHandle(mcs);
306
footnoteRejector, fEmptyOk,
PTS
.True, fswdir, subpageWidth, subpageHeight,
307
ref fsrcSubpageMargin, cColumns, columnInfoCollection,
PTS
.False, fsksuppresshardbreakbeforefirstparaIn,
321
PTS
.ValidateHandle(mcs);
341
fsbbox.fDefined =
PTS
.True;
348
if(
PTS
.ToBoolean(fEmptyOk))
353
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFloatContent), PtsContext);
358
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(PtsContext.Context, pbrkrecOut), PtsContext);
362
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
366
fsfmtr.fForcedProgress =
PTS
.True;
393
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
397
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
401
uint fswdirPara =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
408
PTS
.FSCOLUMNINFO[] columnInfoCollection;
415
if (IsFloaterRejected(
PTS
.ToBoolean(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable)))
421
fsfmtrbl =
PTS
.FSFMTRBL.fmtrblInterrupted;
422
fsbbox = new
PTS
.FSBBOX();
423
fsbbox.fDefined =
PTS
.False;
440
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
446
CreateSubpageBottomlessHelper(PtsContext, _mainTextSegment.Handle,
PTS
.True,
452
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
460
if (
PTS
.ToBoolean(fsbbox.fDefined))
468
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFloatContent), PtsContext);
473
PTS
.ValidateHandle(mcs);
480
CreateSubpageBottomlessHelper(PtsContext, _mainTextSegment.Handle,
PTS
.True,
496
PTS
.ValidateHandle(mcs);
510
(durFloaterWidth > durAvailable && !
PTS
.ToBoolean(fAtMaxWidth))
516
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFloatContent), PtsContext);
560
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
563
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
567
fsfmtrbl = default(
PTS
.FSFMTRBL);
568
durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
722
ref
PTS
.FSRECT rcMargin, // IN: rectangle within subpage margins
724
PTS
.FSCOLUMNINFO[] columnInfoCollection, // IN: array of column info
726
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
728
out
PTS
.FSFMTR fsfmtr, // OUT: why formatting was stopped
732
out
PTS
.FSBBOX fsBBox, // OUT: subpage bbox
742
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
744
PTS
.Validate(
PTS
.FsCreateSubpageFinite(ptsContext.Context, brParaIn, fFromPreviousPage, nSeg,
746
ref rcMargin, cColumns, rgColumnInfo,
PTS
.False,
747
0, null, null, 0, null, null,
PTS
.False,
777
PTS
.FSCOLUMNINFO[] columnInfoCollection, // IN: array of column info
778
out
PTS
.FSFMTRBL pfsfmtr, // OUT: why formatting was stopped
781
out
PTS
.FSBBOX pfsBBox, // OUT: subpage bbox
792
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
794
PTS
.Validate(
PTS
.FsCreateSubpageBottomless(ptsContext.Context, nSeg, fSuppressTopSpace,
796
cColumns, rgColumnInfo, 0, null, null, 0, null, null,
PTS
.False,
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (30)
447
PTS
.FSPAGEDETAILS pageDetails;
448
PTS
.Validate(
PTS
.FsQueryPageDetails(StructuralCache.PtsContext.Context, _ptsPage.PageHandle, out pageDetails));
454
if (
PTS
.ToBoolean(pageDetails.fSimple))
457
PTS
.FSTRACKDETAILS trackDetails;
458
PTS
.Validate(
PTS
.FsQueryTrackDetails(StructuralCache.PtsContext.Context, pageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
477
PTS
.FSSECTIONDESCRIPTION[] arraySectionDesc;
481
PTS
.FSSECTIONDETAILS sectionDetails;
482
PTS
.Validate(
PTS
.FsQuerySectionDetails(StructuralCache.PtsContext.Context, arraySectionDesc[0].pfssection, out sectionDetails));
487
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
502
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
508
PTS
.FSTRACKDESCRIPTION columnDesc = arrayColumnDesc[i];
513
PTS
.FSTRACKDETAILS trackDetails;
514
PTS
.Validate(
PTS
.FsQueryTrackDetails(StructuralCache.PtsContext.Context, columnDesc.pfstrack, out trackDetails));
558
PTS
.FSTRACKDETAILS trackDetails;
559
PTS
.Validate(
PTS
.FsQueryTrackDetails(StructuralCache.PtsContext.Context, pfstrack, out trackDetails));
565
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
573
PTS
.ValidateHandle(paraClient);
598
PTS
.FSTRACKDETAILS trackDetails;
599
PTS
.Validate(
PTS
.FsQueryTrackDetails(StructuralCache.PtsContext.Context, pfstrack, out trackDetails));
607
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
614
PTS
.ValidateHandle(paraClient);
646
internal void UpdateViewport(ref
PTS
.FSRECT viewport, bool drawBackground)
671
PTS
.FSRECT contentViewportTextDpi = new
PTS
.FSRECT(contentViewport);
src\Framework\MS\Internal\PtsHost\Line.cs (4)
180
run = new ParagraphBreakRun(_syntheticCharacterLength,
PTS
.FSFLRES.fsflrEndOfParagraph);
938
internal
PTS
.FSFLRES FormattingResult
942
PTS
.FSFLRES formatResult =
PTS
.FSFLRES.fsflrOutOfSpace;
src\Framework\MS\Internal\PtsHost\LineBase.cs (2)
174
run = new LineBreakRun(cch,
PTS
.FSFLRES.fsflrSoftBreak);
268
run = new ParagraphBreakRun(_syntheticCharacterLength,
PTS
.FSFLRES.fsflrEndOfParagraph);
src\Framework\MS\Internal\PtsHost\ListMarkerLine.cs (1)
62
return new ParagraphBreakRun(1,
PTS
.FSFLRES.fsflrEndOfParagraph);
src\Framework\MS\Internal\PtsHost\ListParaClient.cs (7)
57
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
60
PTS
.FSSUBTRACKDETAILS subtrackDetails;
61
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle.Value, out subtrackDetails));
70
uint fswdir =
PTS
.FlowDirectionToFswdir((FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty));
82
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
98
PTS
.ValidateHandle(listItemParaClient);
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (4)
129
run = new ParagraphBreakRun(_syntheticCharacterLength,
PTS
.FSFLRES.fsflrEndOfParagraph);
203
internal
PTS
.FSFLRES GetFormatResultForBreakpoint(int dcp, TextBreakpoint textBreakpoint)
206
PTS
.FSFLRES formatResult =
PTS
.FSFLRES.fsflrOutOfSpace;
src\Framework\MS\Internal\PtsHost\Pts.cs (5)
194
return (
PTS
.FSKWRAP)((int)wrapDirection);
233
case
PTS
.fswdirWS:
252
fswdir =
PTS
.fswdirWS;
255
fswdir =
PTS
.fswdirES;
3517
PTS
.FSFTNINFO* rgFootnoteInfo, // IN/OUT: array of footnote info
src\Framework\MS\Internal\PtsHost\PtsCache.cs (195)
297
PTS
.Validate(
PTS
.GetFloaterHandlerInfo(ref _contextPool[index].FloaterInit, pobjectinfo));
324
PTS
.Validate(
PTS
.GetTableObjHandlerInfo(ref _contextPool[index].TableobjInit, pobjectinfo));
384
PTS
.IgnoreError(
PTS
.DestroyDocContext(_contextPool[index].PtsHost.Context));
386
PTS
.IgnoreError(
PTS
.DestroyInstalledObjectsInfo(_contextPool[index].InstalledObjects));
469
PTS
.Validate(
PTS
.DestroyDocContext(_contextPool[index].PtsHost.Context));
471
PTS
.Validate(
PTS
.DestroyInstalledObjectsInfo(_contextPool[index].InstalledObjects));
540
PTS
.Validate(
PTS
.CreateDocContext(ref _contextPool[index].ContextInfo, out context));
562
private unsafe void InitGenericInfo(PtsHost ptsHost, IntPtr clientData, IntPtr installedObjects, int installedObjectsCount, ref
PTS
.FSCONTEXTINFO contextInfo)
565
Invariant.Assert(((int)
PTS
.FSKREF.fskrefPage) == 0);
566
Invariant.Assert(((int)
PTS
.FSKREF.fskrefMargin) == 1);
567
Invariant.Assert(((int)
PTS
.FSKREF.fskrefParagraph) == 2);
568
Invariant.Assert(((int)
PTS
.FSKREF.fskrefChar) == 3);
569
Invariant.Assert(((int)
PTS
.FSKALIGNFIG.fskalfMin) == 0);
570
Invariant.Assert(((int)
PTS
.FSKALIGNFIG.fskalfCenter) == 1);
571
Invariant.Assert(((int)
PTS
.FSKALIGNFIG.fskalfMax) == 2);
572
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrNone) == ((int)WrapDirection.None));
573
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrLeft) == ((int)WrapDirection.Left));
574
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrRight) == ((int)WrapDirection.Right));
575
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrBoth) == ((int)WrapDirection.Both));
576
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrLargest) == 4);
577
Invariant.Assert(((int)
PTS
.FSKCLEAR.fskclearNone) == 0);
578
Invariant.Assert(((int)
PTS
.FSKCLEAR.fskclearLeft) == 1);
579
Invariant.Assert(((int)
PTS
.FSKCLEAR.fskclearRight) == 2);
580
Invariant.Assert(((int)
PTS
.FSKCLEAR.fskclearBoth) == 3);
584
contextInfo.fsffi =
PTS
.fsffiUseTextQuickLoop
593
|
PTS
.fsffiAvalonDisableOptimalInChains;
598
contextInfo.pfnAssertFailed = new
PTS
.AssertFailed(ptsHost.AssertFailed);
600
contextInfo.fscbk.cbkfig.pfnGetFigureProperties = new
PTS
.GetFigureProperties(ptsHost.GetFigureProperties);
601
contextInfo.fscbk.cbkfig.pfnGetFigurePolygons = new
PTS
.GetFigurePolygons(ptsHost.GetFigurePolygons);
602
contextInfo.fscbk.cbkfig.pfnCalcFigurePosition = new
PTS
.CalcFigurePosition(ptsHost.CalcFigurePosition);
604
contextInfo.fscbk.cbkgen.pfnFSkipPage = new
PTS
.FSkipPage(ptsHost.FSkipPage);
605
contextInfo.fscbk.cbkgen.pfnGetPageDimensions = new
PTS
.GetPageDimensions(ptsHost.GetPageDimensions);
606
contextInfo.fscbk.cbkgen.pfnGetNextSection = new
PTS
.GetNextSection(ptsHost.GetNextSection);
607
contextInfo.fscbk.cbkgen.pfnGetSectionProperties = new
PTS
.GetSectionProperties(ptsHost.GetSectionProperties);
608
contextInfo.fscbk.cbkgen.pfnGetJustificationProperties = new
PTS
.GetJustificationProperties(ptsHost.GetJustificationProperties);
609
contextInfo.fscbk.cbkgen.pfnGetMainTextSegment = new
PTS
.GetMainTextSegment(ptsHost.GetMainTextSegment);
610
contextInfo.fscbk.cbkgen.pfnGetHeaderSegment = new
PTS
.GetHeaderSegment(ptsHost.GetHeaderSegment);
611
contextInfo.fscbk.cbkgen.pfnGetFooterSegment = new
PTS
.GetFooterSegment(ptsHost.GetFooterSegment);
612
contextInfo.fscbk.cbkgen.pfnUpdGetSegmentChange = new
PTS
.UpdGetSegmentChange(ptsHost.UpdGetSegmentChange);
613
contextInfo.fscbk.cbkgen.pfnGetSectionColumnInfo = new
PTS
.GetSectionColumnInfo(ptsHost.GetSectionColumnInfo);
614
contextInfo.fscbk.cbkgen.pfnGetSegmentDefinedColumnSpanAreaInfo = new
PTS
.GetSegmentDefinedColumnSpanAreaInfo(ptsHost.GetSegmentDefinedColumnSpanAreaInfo);
615
contextInfo.fscbk.cbkgen.pfnGetHeightDefinedColumnSpanAreaInfo = new
PTS
.GetHeightDefinedColumnSpanAreaInfo(ptsHost.GetHeightDefinedColumnSpanAreaInfo);
616
contextInfo.fscbk.cbkgen.pfnGetFirstPara = new
PTS
.GetFirstPara(ptsHost.GetFirstPara);
617
contextInfo.fscbk.cbkgen.pfnGetNextPara = new
PTS
.GetNextPara(ptsHost.GetNextPara);
618
contextInfo.fscbk.cbkgen.pfnUpdGetFirstChangeInSegment = new
PTS
.UpdGetFirstChangeInSegment(ptsHost.UpdGetFirstChangeInSegment);
619
contextInfo.fscbk.cbkgen.pfnUpdGetParaChange = new
PTS
.UpdGetParaChange(ptsHost.UpdGetParaChange);
620
contextInfo.fscbk.cbkgen.pfnGetParaProperties = new
PTS
.GetParaProperties(ptsHost.GetParaProperties);
621
contextInfo.fscbk.cbkgen.pfnCreateParaclient = new
PTS
.CreateParaclient(ptsHost.CreateParaclient);
622
contextInfo.fscbk.cbkgen.pfnTransferDisplayInfo = new
PTS
.TransferDisplayInfo(ptsHost.TransferDisplayInfo);
623
contextInfo.fscbk.cbkgen.pfnDestroyParaclient = new
PTS
.DestroyParaclient(ptsHost.DestroyParaclient);
624
contextInfo.fscbk.cbkgen.pfnFInterruptFormattingAfterPara = new
PTS
.FInterruptFormattingAfterPara(ptsHost.FInterruptFormattingAfterPara);
625
contextInfo.fscbk.cbkgen.pfnGetEndnoteSeparators = new
PTS
.GetEndnoteSeparators(ptsHost.GetEndnoteSeparators);
626
contextInfo.fscbk.cbkgen.pfnGetEndnoteSegment = new
PTS
.GetEndnoteSegment(ptsHost.GetEndnoteSegment);
627
contextInfo.fscbk.cbkgen.pfnGetNumberEndnoteColumns = new
PTS
.GetNumberEndnoteColumns(ptsHost.GetNumberEndnoteColumns);
628
contextInfo.fscbk.cbkgen.pfnGetEndnoteColumnInfo = new
PTS
.GetEndnoteColumnInfo(ptsHost.GetEndnoteColumnInfo);
629
contextInfo.fscbk.cbkgen.pfnGetFootnoteSeparators = new
PTS
.GetFootnoteSeparators(ptsHost.GetFootnoteSeparators);
630
contextInfo.fscbk.cbkgen.pfnFFootnoteBeneathText = new
PTS
.FFootnoteBeneathText(ptsHost.FFootnoteBeneathText);
631
contextInfo.fscbk.cbkgen.pfnGetNumberFootnoteColumns = new
PTS
.GetNumberFootnoteColumns(ptsHost.GetNumberFootnoteColumns);
632
contextInfo.fscbk.cbkgen.pfnGetFootnoteColumnInfo = new
PTS
.GetFootnoteColumnInfo(ptsHost.GetFootnoteColumnInfo);
633
contextInfo.fscbk.cbkgen.pfnGetFootnoteSegment = new
PTS
.GetFootnoteSegment(ptsHost.GetFootnoteSegment);
634
contextInfo.fscbk.cbkgen.pfnGetFootnotePresentationAndRejectionOrder = new
PTS
.GetFootnotePresentationAndRejectionOrder(ptsHost.GetFootnotePresentationAndRejectionOrder);
635
contextInfo.fscbk.cbkgen.pfnFAllowFootnoteSeparation = new
PTS
.FAllowFootnoteSeparation(ptsHost.FAllowFootnoteSeparation);
640
contextInfo.fscbk.cbkobj.pfnDuplicateMcsclient = new
PTS
.DuplicateMcsclient(ptsHost.DuplicateMcsclient);
641
contextInfo.fscbk.cbkobj.pfnDestroyMcsclient = new
PTS
.DestroyMcsclient(ptsHost.DestroyMcsclient);
642
contextInfo.fscbk.cbkobj.pfnFEqualMcsclient = new
PTS
.FEqualMcsclient(ptsHost.FEqualMcsclient);
643
contextInfo.fscbk.cbkobj.pfnConvertMcsclient = new
PTS
.ConvertMcsclient(ptsHost.ConvertMcsclient);
644
contextInfo.fscbk.cbkobj.pfnGetObjectHandlerInfo = new
PTS
.GetObjectHandlerInfo(ptsHost.GetObjectHandlerInfo);
646
contextInfo.fscbk.cbktxt.pfnCreateParaBreakingSession = new
PTS
.CreateParaBreakingSession(ptsHost.CreateParaBreakingSession);
647
contextInfo.fscbk.cbktxt.pfnDestroyParaBreakingSession = new
PTS
.DestroyParaBreakingSession(ptsHost.DestroyParaBreakingSession);
648
contextInfo.fscbk.cbktxt.pfnGetTextProperties = new
PTS
.GetTextProperties(ptsHost.GetTextProperties);
649
contextInfo.fscbk.cbktxt.pfnGetNumberFootnotes = new
PTS
.GetNumberFootnotes(ptsHost.GetNumberFootnotes);
650
contextInfo.fscbk.cbktxt.pfnGetFootnotes = new
PTS
.GetFootnotes(ptsHost.GetFootnotes);
651
contextInfo.fscbk.cbktxt.pfnFormatDropCap = new
PTS
.FormatDropCap(ptsHost.FormatDropCap);
652
contextInfo.fscbk.cbktxt.pfnGetDropCapPolygons = new
PTS
.GetDropCapPolygons(ptsHost.GetDropCapPolygons);
653
contextInfo.fscbk.cbktxt.pfnDestroyDropCap = new
PTS
.DestroyDropCap(ptsHost.DestroyDropCap);
654
contextInfo.fscbk.cbktxt.pfnFormatBottomText = new
PTS
.FormatBottomText(ptsHost.FormatBottomText);
655
contextInfo.fscbk.cbktxt.pfnFormatLine = new
PTS
.FormatLine(ptsHost.FormatLine);
656
contextInfo.fscbk.cbktxt.pfnFormatLineForced = new
PTS
.FormatLineForced(ptsHost.FormatLineForced);
657
contextInfo.fscbk.cbktxt.pfnFormatLineVariants = new
PTS
.FormatLineVariants(ptsHost.FormatLineVariants);
658
contextInfo.fscbk.cbktxt.pfnReconstructLineVariant = new
PTS
.ReconstructLineVariant(ptsHost.ReconstructLineVariant);
659
contextInfo.fscbk.cbktxt.pfnDestroyLine = new
PTS
.DestroyLine(ptsHost.DestroyLine);
660
contextInfo.fscbk.cbktxt.pfnDuplicateLineBreakRecord = new
PTS
.DuplicateLineBreakRecord(ptsHost.DuplicateLineBreakRecord);
661
contextInfo.fscbk.cbktxt.pfnDestroyLineBreakRecord = new
PTS
.DestroyLineBreakRecord(ptsHost.DestroyLineBreakRecord);
662
contextInfo.fscbk.cbktxt.pfnSnapGridVertical = new
PTS
.SnapGridVertical(ptsHost.SnapGridVertical);
663
contextInfo.fscbk.cbktxt.pfnGetDvrSuppressibleBottomSpace = new
PTS
.GetDvrSuppressibleBottomSpace(ptsHost.GetDvrSuppressibleBottomSpace);
664
contextInfo.fscbk.cbktxt.pfnGetDvrAdvance = new
PTS
.GetDvrAdvance(ptsHost.GetDvrAdvance);
665
contextInfo.fscbk.cbktxt.pfnUpdGetChangeInText = new
PTS
.UpdGetChangeInText(ptsHost.UpdGetChangeInText);
666
contextInfo.fscbk.cbktxt.pfnUpdGetDropCapChange = new
PTS
.UpdGetDropCapChange(ptsHost.UpdGetDropCapChange);
667
contextInfo.fscbk.cbktxt.pfnFInterruptFormattingText = new
PTS
.FInterruptFormattingText(ptsHost.FInterruptFormattingText);
668
contextInfo.fscbk.cbktxt.pfnGetTextParaCache = new
PTS
.GetTextParaCache(ptsHost.GetTextParaCache);
669
contextInfo.fscbk.cbktxt.pfnSetTextParaCache = new
PTS
.SetTextParaCache(ptsHost.SetTextParaCache);
670
contextInfo.fscbk.cbktxt.pfnGetOptimalLineDcpCache = new
PTS
.GetOptimalLineDcpCache(ptsHost.GetOptimalLineDcpCache);
671
contextInfo.fscbk.cbktxt.pfnGetNumberAttachedObjectsBeforeTextLine = new
PTS
.GetNumberAttachedObjectsBeforeTextLine(ptsHost.GetNumberAttachedObjectsBeforeTextLine);
672
contextInfo.fscbk.cbktxt.pfnGetAttachedObjectsBeforeTextLine = new
PTS
.GetAttachedObjectsBeforeTextLine(ptsHost.GetAttachedObjectsBeforeTextLine);
673
contextInfo.fscbk.cbktxt.pfnGetNumberAttachedObjectsInTextLine = new
PTS
.GetNumberAttachedObjectsInTextLine(ptsHost.GetNumberAttachedObjectsInTextLine);
674
contextInfo.fscbk.cbktxt.pfnGetAttachedObjectsInTextLine = new
PTS
.GetAttachedObjectsInTextLine(ptsHost.GetAttachedObjectsInTextLine);
675
contextInfo.fscbk.cbktxt.pfnUpdGetAttachedObjectChange = new
PTS
.UpdGetAttachedObjectChange(ptsHost.UpdGetAttachedObjectChange);
676
contextInfo.fscbk.cbktxt.pfnGetDurFigureAnchor = new
PTS
.GetDurFigureAnchor(ptsHost.GetDurFigureAnchor);
696
private unsafe void InitInstalledObjectsInfo(PtsHost ptsHost, ref
PTS
.FSIMETHODS subtrackParaInfo, ref
PTS
.FSIMETHODS subpageParaInfo, out IntPtr installedObjects, out int installedObjectsCount)
699
subtrackParaInfo.pfnCreateContext = new
PTS
.ObjCreateContext(ptsHost.SubtrackCreateContext);
700
subtrackParaInfo.pfnDestroyContext = new
PTS
.ObjDestroyContext(ptsHost.SubtrackDestroyContext);
701
subtrackParaInfo.pfnFormatParaFinite = new
PTS
.ObjFormatParaFinite(ptsHost.SubtrackFormatParaFinite);
702
subtrackParaInfo.pfnFormatParaBottomless = new
PTS
.ObjFormatParaBottomless(ptsHost.SubtrackFormatParaBottomless);
703
subtrackParaInfo.pfnUpdateBottomlessPara = new
PTS
.ObjUpdateBottomlessPara(ptsHost.SubtrackUpdateBottomlessPara);
704
subtrackParaInfo.pfnSynchronizeBottomlessPara = new
PTS
.ObjSynchronizeBottomlessPara(ptsHost.SubtrackSynchronizeBottomlessPara);
705
subtrackParaInfo.pfnComparePara = new
PTS
.ObjComparePara(ptsHost.SubtrackComparePara);
706
subtrackParaInfo.pfnClearUpdateInfoInPara = new
PTS
.ObjClearUpdateInfoInPara(ptsHost.SubtrackClearUpdateInfoInPara);
707
subtrackParaInfo.pfnDestroyPara = new
PTS
.ObjDestroyPara(ptsHost.SubtrackDestroyPara);
708
subtrackParaInfo.pfnDuplicateBreakRecord = new
PTS
.ObjDuplicateBreakRecord(ptsHost.SubtrackDuplicateBreakRecord);
709
subtrackParaInfo.pfnDestroyBreakRecord = new
PTS
.ObjDestroyBreakRecord(ptsHost.SubtrackDestroyBreakRecord);
710
subtrackParaInfo.pfnGetColumnBalancingInfo = new
PTS
.ObjGetColumnBalancingInfo(ptsHost.SubtrackGetColumnBalancingInfo);
711
subtrackParaInfo.pfnGetNumberFootnotes = new
PTS
.ObjGetNumberFootnotes(ptsHost.SubtrackGetNumberFootnotes);
712
subtrackParaInfo.pfnGetFootnoteInfo = new
PTS
.ObjGetFootnoteInfo(ptsHost.SubtrackGetFootnoteInfo);
714
subtrackParaInfo.pfnShiftVertical = new
PTS
.ObjShiftVertical(ptsHost.SubtrackShiftVertical);
715
subtrackParaInfo.pfnTransferDisplayInfoPara = new
PTS
.ObjTransferDisplayInfoPara(ptsHost.SubtrackTransferDisplayInfoPara);
718
subpageParaInfo.pfnCreateContext = new
PTS
.ObjCreateContext(ptsHost.SubpageCreateContext);
719
subpageParaInfo.pfnDestroyContext = new
PTS
.ObjDestroyContext(ptsHost.SubpageDestroyContext);
720
subpageParaInfo.pfnFormatParaFinite = new
PTS
.ObjFormatParaFinite(ptsHost.SubpageFormatParaFinite);
721
subpageParaInfo.pfnFormatParaBottomless = new
PTS
.ObjFormatParaBottomless(ptsHost.SubpageFormatParaBottomless);
722
subpageParaInfo.pfnUpdateBottomlessPara = new
PTS
.ObjUpdateBottomlessPara(ptsHost.SubpageUpdateBottomlessPara);
723
subpageParaInfo.pfnSynchronizeBottomlessPara = new
PTS
.ObjSynchronizeBottomlessPara(ptsHost.SubpageSynchronizeBottomlessPara);
724
subpageParaInfo.pfnComparePara = new
PTS
.ObjComparePara(ptsHost.SubpageComparePara);
725
subpageParaInfo.pfnClearUpdateInfoInPara = new
PTS
.ObjClearUpdateInfoInPara(ptsHost.SubpageClearUpdateInfoInPara);
726
subpageParaInfo.pfnDestroyPara = new
PTS
.ObjDestroyPara(ptsHost.SubpageDestroyPara);
727
subpageParaInfo.pfnDuplicateBreakRecord = new
PTS
.ObjDuplicateBreakRecord(ptsHost.SubpageDuplicateBreakRecord);
728
subpageParaInfo.pfnDestroyBreakRecord = new
PTS
.ObjDestroyBreakRecord(ptsHost.SubpageDestroyBreakRecord);
729
subpageParaInfo.pfnGetColumnBalancingInfo = new
PTS
.ObjGetColumnBalancingInfo(ptsHost.SubpageGetColumnBalancingInfo);
730
subpageParaInfo.pfnGetNumberFootnotes = new
PTS
.ObjGetNumberFootnotes(ptsHost.SubpageGetNumberFootnotes);
731
subpageParaInfo.pfnGetFootnoteInfo = new
PTS
.ObjGetFootnoteInfo(ptsHost.SubpageGetFootnoteInfo);
732
subpageParaInfo.pfnShiftVertical = new
PTS
.ObjShiftVertical(ptsHost.SubpageShiftVertical);
733
subpageParaInfo.pfnTransferDisplayInfoPara = new
PTS
.ObjTransferDisplayInfoPara(ptsHost.SubpageTransferDisplayInfoPara);
736
PTS
.Validate(
PTS
.CreateInstalledObjectsInfo(ref subtrackParaInfo, ref subpageParaInfo, out installedObjects, out installedObjectsCount));
752
private unsafe void InitFloaterObjInfo(PtsHost ptsHost, ref
PTS
.FSFLOATERINIT floaterInit)
754
floaterInit.fsfloatercbk.pfnGetFloaterProperties = new
PTS
.GetFloaterProperties(ptsHost.GetFloaterProperties);
755
floaterInit.fsfloatercbk.pfnFormatFloaterContentFinite = new
PTS
.FormatFloaterContentFinite(ptsHost.FormatFloaterContentFinite);
756
floaterInit.fsfloatercbk.pfnFormatFloaterContentBottomless = new
PTS
.FormatFloaterContentBottomless(ptsHost.FormatFloaterContentBottomless);
757
floaterInit.fsfloatercbk.pfnUpdateBottomlessFloaterContent = new
PTS
.UpdateBottomlessFloaterContent(ptsHost.UpdateBottomlessFloaterContent);
758
floaterInit.fsfloatercbk.pfnGetFloaterPolygons = new
PTS
.GetFloaterPolygons(ptsHost.GetFloaterPolygons);
759
floaterInit.fsfloatercbk.pfnClearUpdateInfoInFloaterContent = new
PTS
.ClearUpdateInfoInFloaterContent(ptsHost.ClearUpdateInfoInFloaterContent);
760
floaterInit.fsfloatercbk.pfnCompareFloaterContents = new
PTS
.CompareFloaterContents(ptsHost.CompareFloaterContents);
761
floaterInit.fsfloatercbk.pfnDestroyFloaterContent = new
PTS
.DestroyFloaterContent(ptsHost.DestroyFloaterContent);
762
floaterInit.fsfloatercbk.pfnDuplicateFloaterContentBreakRecord = new
PTS
.DuplicateFloaterContentBreakRecord(ptsHost.DuplicateFloaterContentBreakRecord);
763
floaterInit.fsfloatercbk.pfnDestroyFloaterContentBreakRecord = new
PTS
.DestroyFloaterContentBreakRecord(ptsHost.DestroyFloaterContentBreakRecord);
764
floaterInit.fsfloatercbk.pfnGetFloaterContentColumnBalancingInfo = new
PTS
.GetFloaterContentColumnBalancingInfo(ptsHost.GetFloaterContentColumnBalancingInfo);
765
floaterInit.fsfloatercbk.pfnGetFloaterContentNumberFootnotes = new
PTS
.GetFloaterContentNumberFootnotes(ptsHost.GetFloaterContentNumberFootnotes);
766
floaterInit.fsfloatercbk.pfnGetFloaterContentFootnoteInfo = new
PTS
.GetFloaterContentFootnoteInfo(ptsHost.GetFloaterContentFootnoteInfo);
767
floaterInit.fsfloatercbk.pfnTransferDisplayInfoInFloaterContent = new
PTS
.TransferDisplayInfoInFloaterContent(ptsHost.TransferDisplayInfoInFloaterContent);
768
floaterInit.fsfloatercbk.pfnGetMCSClientAfterFloater = new
PTS
.GetMCSClientAfterFloater(ptsHost.GetMCSClientAfterFloater);
769
floaterInit.fsfloatercbk.pfnGetDvrUsedForFloater = new
PTS
.GetDvrUsedForFloater(ptsHost.GetDvrUsedForFloater);
785
private unsafe void InitTableObjInfo(PtsHost ptsHost, ref
PTS
.FSTABLEOBJINIT tableobjInit)
788
tableobjInit.tableobjcbk.pfnGetTableProperties = new
PTS
.GetTableProperties(ptsHost.GetTableProperties);
789
tableobjInit.tableobjcbk.pfnAutofitTable = new
PTS
.AutofitTable(ptsHost.AutofitTable);
790
tableobjInit.tableobjcbk.pfnUpdAutofitTable = new
PTS
.UpdAutofitTable(ptsHost.UpdAutofitTable);
791
tableobjInit.tableobjcbk.pfnGetMCSClientAfterTable = new
PTS
.GetMCSClientAfterTable(ptsHost.GetMCSClientAfterTable);
795
tableobjInit.tablecbkfetch.pfnGetFirstHeaderRow = new
PTS
.GetFirstHeaderRow(ptsHost.GetFirstHeaderRow);
796
tableobjInit.tablecbkfetch.pfnGetNextHeaderRow = new
PTS
.GetNextHeaderRow(ptsHost.GetNextHeaderRow);
797
tableobjInit.tablecbkfetch.pfnGetFirstFooterRow = new
PTS
.GetFirstFooterRow(ptsHost.GetFirstFooterRow);
798
tableobjInit.tablecbkfetch.pfnGetNextFooterRow = new
PTS
.GetNextFooterRow(ptsHost.GetNextFooterRow);
799
tableobjInit.tablecbkfetch.pfnGetFirstRow = new
PTS
.GetFirstRow(ptsHost.GetFirstRow);
800
tableobjInit.tablecbkfetch.pfnGetNextRow = new
PTS
.GetNextRow(ptsHost.GetNextRow);
801
tableobjInit.tablecbkfetch.pfnUpdFChangeInHeaderFooter = new
PTS
.UpdFChangeInHeaderFooter(ptsHost.UpdFChangeInHeaderFooter);
802
tableobjInit.tablecbkfetch.pfnUpdGetFirstChangeInTable = new
PTS
.UpdGetFirstChangeInTable(ptsHost.UpdGetFirstChangeInTable);
803
tableobjInit.tablecbkfetch.pfnUpdGetRowChange = new
PTS
.UpdGetRowChange(ptsHost.UpdGetRowChange);
804
tableobjInit.tablecbkfetch.pfnUpdGetCellChange = new
PTS
.UpdGetCellChange(ptsHost.UpdGetCellChange);
805
tableobjInit.tablecbkfetch.pfnGetDistributionKind = new
PTS
.GetDistributionKind(ptsHost.GetDistributionKind);
806
tableobjInit.tablecbkfetch.pfnGetRowProperties = new
PTS
.GetRowProperties(ptsHost.GetRowProperties);
807
tableobjInit.tablecbkfetch.pfnGetCells = new
PTS
.GetCells(ptsHost.GetCells);
808
tableobjInit.tablecbkfetch.pfnFInterruptFormattingTable = new
PTS
.FInterruptFormattingTable(ptsHost.FInterruptFormattingTable);
809
tableobjInit.tablecbkfetch.pfnCalcHorizontalBBoxOfRow = new
PTS
.CalcHorizontalBBoxOfRow(ptsHost.CalcHorizontalBBoxOfRow);
812
tableobjInit.tablecbkcell.pfnFormatCellFinite = new
PTS
.FormatCellFinite(ptsHost.FormatCellFinite);
813
tableobjInit.tablecbkcell.pfnFormatCellBottomless = new
PTS
.FormatCellBottomless(ptsHost.FormatCellBottomless);
814
tableobjInit.tablecbkcell.pfnUpdateBottomlessCell = new
PTS
.UpdateBottomlessCell(ptsHost.UpdateBottomlessCell);
815
tableobjInit.tablecbkcell.pfnCompareCells = new
PTS
.CompareCells(ptsHost.CompareCells);
816
tableobjInit.tablecbkcell.pfnClearUpdateInfoInCell = new
PTS
.ClearUpdateInfoInCell(ptsHost.ClearUpdateInfoInCell);
817
tableobjInit.tablecbkcell.pfnSetCellHeight = new
PTS
.SetCellHeight(ptsHost.SetCellHeight);
818
tableobjInit.tablecbkcell.pfnDestroyCell = new
PTS
.DestroyCell(ptsHost.DestroyCell);
819
tableobjInit.tablecbkcell.pfnDuplicateCellBreakRecord = new
PTS
.DuplicateCellBreakRecord(ptsHost.DuplicateCellBreakRecord);
820
tableobjInit.tablecbkcell.pfnDestroyCellBreakRecord = new
PTS
.DestroyCellBreakRecord(ptsHost.DestroyCellBreakRecord);
821
tableobjInit.tablecbkcell.pfnGetCellNumberFootnotes = new
PTS
.GetCellNumberFootnotes(ptsHost.GetCellNumberFootnotes);
824
tableobjInit.tablecbkcell.pfnGetCellMinColumnBalancingStep = new
PTS
.GetCellMinColumnBalancingStep(ptsHost.GetCellMinColumnBalancingStep);
825
tableobjInit.tablecbkcell.pfnTransferDisplayInfoCell = new
PTS
.TransferDisplayInfoCell(ptsHost.TransferDisplayInfoCell);
909
internal
PTS
.FSCONTEXTINFO ContextInfo;
910
internal
PTS
.FSIMETHODS SubtrackParaInfo;
911
internal
PTS
.FSIMETHODS SubpageParaInfo;
912
internal
PTS
.FSFLOATERINIT FloaterInit;
913
internal
PTS
.FSTABLEOBJINIT TableobjInit;
src\Framework\MS\Internal\PtsHost\PtsContext.cs (8)
104
PTS
.Validate(
PTS
.FsDestroyPageBreakRecord(_ptsHost.Context, (IntPtr)_pageBreakRecords[index]));
122
PTS
.Validate(
PTS
.FsDestroyPage(_ptsHost.Context, (IntPtr)_pages[index]));
530
PTS
.Validate(
PTS
.FsDestroyPage(_ptsHost.Context, ptsPage.Value));
574
PTS
.Validate(
PTS
.FsDestroyPageBreakRecord(_ptsHost.Context, br.Value));
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (117)
135
ref
PTS
.FSTRACKDESCRIPTION trackDesc,
142
PTS
.FSTRACKDETAILS trackDetails;
143
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
149
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
169
PTS
.FSRECT rcTrackContent,
170
PTS
.FSPARADESCRIPTION [] arrayParaDesc,
181
PTS
.ValidateHandle(paraClient);
186
uint fswdirPage =
PTS
.FlowDirectionToFswdir(paraClient.PageFlowDirection);
190
PTS
.FSRECT pageRect = paraClient.Paragraph.StructuralCache.CurrentArrangeContext.PageContext.PageRect;
191
PTS
.Validate(
PTS
.FsTransformRectangle(fswdirTrack, ref pageRect, ref rcTrackContent, fswdirPage, out rcTrackContent));
197
PTS
.FSRECT rcPara = rcTrackContent;
228
PTS
.FSKUPDATE fskupdInherited,
229
ref
PTS
.FSTRACKDESCRIPTION trackDesc)
231
PTS
.FSKUPDATE fskupd = trackDesc.fsupdinf.fskupd;
232
if (trackDesc.fsupdinf.fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
238
if (fskupd ==
PTS
.FSKUPDATE.fskupdNoChange) { return; }
239
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
245
PTS
.FSTRACKDETAILS trackDetails;
246
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
252
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
274
PTS
.FSKUPDATE fskupdInherited,
275
PTS
.FSPARADESCRIPTION [] arrayParaDesc)
284
PTS
.ValidateHandle(paraClient);
287
PTS
.FSKUPDATE fskupd = arrayParaDesc[index].fsupdinf.fskupd;
288
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
292
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
317
if(fskupd ==
PTS
.FSKUPDATE.fskupdChangeInside || fskupd ==
PTS
.FSKUPDATE.fskupdShifted)
346
ref
PTS
.FSTRACKDESCRIPTION trackDesc,
347
ref
PTS
.FSRECT viewport)
353
PTS
.FSTRACKDETAILS trackDetails;
354
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
360
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
374
PTS
.FSPARADESCRIPTION [] arrayParaDesc,
375
ref
PTS
.FSRECT viewport)
381
PTS
.ValidateHandle(paraClient);
409
PTS
.FSPOINT pt,
410
ref
PTS
.FSTRACKDESCRIPTION trackDesc)
418
PTS
.FSTRACKDETAILS trackDetails;
419
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
426
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
442
PTS
.FSPOINT pt,
443
ref
PTS
.FSRECT rcTrack, // track's rectangle
444
PTS
.FSPARADESCRIPTION [] arrayParaDesc)
451
PTS
.ValidateHandle(paraClient);
490
ref
PTS
.FSTRACKDESCRIPTION trackDesc)
501
PTS
.FSTRACKDETAILS trackDetails;
502
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
509
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
529
PTS
.FSPARADESCRIPTION[] arrayParaDesc)
536
PTS
.ValidateHandle(paraClient);
597
ref
PTS
.FSPAGEDETAILS pageDetails,
598
out
PTS
.FSSECTIONDESCRIPTION [] arraySectionDesc)
600
arraySectionDesc = new
PTS
.FSSECTIONDESCRIPTION [pageDetails.u.complex.cSections];
602
fixed (
PTS
.FSSECTIONDESCRIPTION* rgSectionDesc = arraySectionDesc)
604
PTS
.Validate(
PTS
.FsQueryPageSectionList(ptsContext.Context, page, pageDetails.u.complex.cSections,
622
ref
PTS
.FSSUBPAGEDETAILS subpageDetails,
623
out
PTS
.FSTRACKDESCRIPTION [] arrayTrackDesc)
625
arrayTrackDesc = new
PTS
.FSTRACKDESCRIPTION [subpageDetails.u.complex.cBasicColumns];
627
fixed (
PTS
.FSTRACKDESCRIPTION* rgTrackDesc = arrayTrackDesc)
629
PTS
.Validate(
PTS
.FsQuerySubpageBasicColumnList(ptsContext.Context, subpage, subpageDetails.u.complex.cBasicColumns,
647
ref
PTS
.FSSECTIONDETAILS sectionDetails,
648
out
PTS
.FSTRACKDESCRIPTION [] arrayTrackDesc)
655
arrayTrackDesc = new
PTS
.FSTRACKDESCRIPTION[sectionDetails.u.withpagenotes.cBasicColumns];
658
fixed (
PTS
.FSTRACKDESCRIPTION* rgTrackDesc = arrayTrackDesc)
660
PTS
.Validate(
PTS
.FsQuerySectionBasicColumnList(ptsContext.Context, section, sectionDetails.u.withpagenotes.cBasicColumns,
678
ref
PTS
.FSTRACKDETAILS trackDetails,
679
out
PTS
.FSPARADESCRIPTION [] arrayParaDesc)
681
arrayParaDesc = new
PTS
.FSPARADESCRIPTION [trackDetails.cParas];
683
fixed (
PTS
.FSPARADESCRIPTION* rgParaDesc = arrayParaDesc)
685
PTS
.Validate(
PTS
.FsQueryTrackParaList(ptsContext.Context, track, trackDetails.cParas,
703
ref
PTS
.FSSUBTRACKDETAILS subtrackDetails,
704
out
PTS
.FSPARADESCRIPTION [] arrayParaDesc)
706
arrayParaDesc = new
PTS
.FSPARADESCRIPTION [subtrackDetails.cParas];
708
fixed (
PTS
.FSPARADESCRIPTION* rgParaDesc = arrayParaDesc)
710
PTS
.Validate(
PTS
.FsQuerySubtrackParaList(ptsContext.Context, subtrack, subtrackDetails.cParas,
728
ref
PTS
.FSTEXTDETAILSFULL textDetails,
729
out
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc)
731
arrayLineDesc = new
PTS
.FSLINEDESCRIPTIONSINGLE [textDetails.cLines];
733
fixed (
PTS
.FSLINEDESCRIPTIONSINGLE* rgLineDesc = arrayLineDesc)
735
PTS
.Validate(
PTS
.FsQueryLineListSingle(ptsContext.Context, para, textDetails.cLines,
753
ref
PTS
.FSTEXTDETAILSFULL textDetails,
754
out
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc)
756
arrayLineDesc = new
PTS
.FSLINEDESCRIPTIONCOMPOSITE [textDetails.cLines];
758
fixed (
PTS
.FSLINEDESCRIPTIONCOMPOSITE* rgLineDesc = arrayLineDesc)
760
PTS
.Validate(
PTS
.FsQueryLineListComposite(ptsContext.Context, para, textDetails.cLines,
777
ref
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc,
778
out
PTS
.FSLINEELEMENT [] arrayLineElement)
780
arrayLineElement = new
PTS
.FSLINEELEMENT [lineDesc.cElements];
782
fixed (
PTS
.FSLINEELEMENT* rgLineElement = arrayLineElement)
784
PTS
.Validate(
PTS
.FsQueryLineCompositeElementList(ptsContext.Context, lineDesc.pline, lineDesc.cElements,
803
out
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc)
805
arrayAttachedObjectDesc = new
PTS
.FSATTACHEDOBJECTDESCRIPTION [cAttachedObject];
807
fixed (
PTS
.FSATTACHEDOBJECTDESCRIPTION* rgAttachedObjectDesc = arrayAttachedObjectDesc)
809
PTS
.Validate(
PTS
.FsQueryAttachedObjectList(ptsContext.Context, para, cAttachedObject, rgAttachedObjectDesc, out attachedObjectCount));
838
PTS
.FSTRACKDETAILS trackDetails;
839
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, pfstrack, out trackDetails));
845
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
853
PTS
.ValidateHandle(paraClient);
939
return Math.Max(1, Math.Min(
PTS
.Restrictions.tscColumnRestriction-1, columns)); // at least 1 column is required
1005
PTS
.FSCOLUMNINFO* pfscolinfo,
src\Framework\MS\Internal\PtsHost\PtsHost.cs (691)
161
out
PTS
.FSFIGUREPROPS fsfigprops, // OUT: figure attributes
169
int fserr =
PTS
.fserrNone;
173
PTS
.ValidateHandle(para);
175
PTS
.ValidateHandle(paraClient);
182
dur = dvr = cPolygons = cVertices = 0; fsfigprops = new
PTS
.FSFIGUREPROPS();
185
fserr =
PTS
.fserrCallbackException;
189
dur = dvr = cPolygons = cVertices = 0; fsfigprops = new
PTS
.FSFIGUREPROPS();
192
fserr =
PTS
.fserrCallbackException;
212
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
216
int fserr =
PTS
.fserrNone;
220
PTS
.ValidateHandle(para);
222
PTS
.ValidateHandle(paraClient);
230
fserr =
PTS
.fserrCallbackException;
236
fserr =
PTS
.fserrCallbackException;
246
ref
PTS
.FSRECT fsrcPage, // IN: page rectangle
247
ref
PTS
.FSRECT fsrcMargin, // IN: rectangle within page margins
248
ref
PTS
.FSRECT fsrcTrack, // IN: track rectangle
249
ref
PTS
.FSRECT fsrcFigurePreliminary,// IN: prelim figure rect calculated from figure props
253
out
PTS
.FSRECT fsrcFlow, // OUT: FlowAround rectangle
254
out
PTS
.FSRECT fsrcOverlap, // OUT: Overlap rectangle
255
out
PTS
.FSBBOX fsbbox, // OUT: bbox
256
out
PTS
.FSRECT fsrcSearch) // OUT: search area for overlap
258
int fserr =
PTS
.fserrNone;
262
PTS
.ValidateHandle(para);
264
PTS
.ValidateHandle(paraClient);
271
fPushToNextTrack = 0; fsrcFlow = fsrcOverlap = fsrcSearch = new
PTS
.FSRECT(); fsbbox = new
PTS
.FSBBOX();
273
fserr =
PTS
.fserrCallbackException;
277
fPushToNextTrack = 0; fsrcFlow = fsrcOverlap = fsrcSearch = new
PTS
.FSRECT(); fsbbox = new
PTS
.FSBBOX();
279
fserr =
PTS
.fserrCallbackException;
292
int fserr =
PTS
.fserrNone;
296
PTS
.ValidateHandle(section);
303
fserr =
PTS
.fserrCallbackException;
309
fserr =
PTS
.fserrCallbackException;
320
ref
PTS
.FSRECT fsrcMargin) // OUT: rectangle within page margins
322
int fserr =
PTS
.fserrNone;
326
PTS
.ValidateHandle(section);
334
fserr =
PTS
.fserrCallbackException;
340
fserr =
PTS
.fserrCallbackException;
350
int fserr =
PTS
.fserrNone;
354
PTS
.ValidateHandle(section);
361
fserr =
PTS
.fserrCallbackException;
367
fserr =
PTS
.fserrCallbackException;
381
int fserr =
PTS
.fserrNone;
385
PTS
.ValidateHandle(section);
394
fserr =
PTS
.fserrCallbackException;
401
fserr =
PTS
.fserrCallbackException;
418
out
PTS
.FSKALIGNPAGE fskal, // OUT: kind of vertical alignment for the page
422
int fserr =
PTS
.fserrNone;
426
PTS
.ValidateHandle(section);
433
fskal = default(
PTS
.FSKALIGNPAGE);
435
fserr =
PTS
.fserrCallbackException;
440
fskal = default(
PTS
.FSKALIGNPAGE);
442
fserr =
PTS
.fserrCallbackException;
451
int fserr =
PTS
.fserrNone;
455
PTS
.ValidateHandle(section);
462
fserr =
PTS
.fserrCallbackException;
468
fserr =
PTS
.fserrCallbackException;
485
int fserr =
PTS
.fserrNone;
489
PTS
.ValidateHandle(section);
497
fserr =
PTS
.fserrCallbackException;
503
fserr =
PTS
.fserrCallbackException;
520
int fserr =
PTS
.fserrNone;
524
PTS
.ValidateHandle(section);
532
fserr =
PTS
.fserrCallbackException;
538
fserr =
PTS
.fserrCallbackException;
545
out
PTS
.FSKCHANGE fskch) // OUT: kind of change
547
int fserr =
PTS
.fserrNone;
551
PTS
.ValidateHandle(segment);
556
fskch = default(
PTS
.FSKCHANGE);
558
fserr =
PTS
.fserrCallbackException;
562
fskch = default(
PTS
.FSKCHANGE);
564
fserr =
PTS
.fserrCallbackException;
580
PTS
.FSCOLUMNINFO* fscolinfo, // OUT: array of the colinfo structures
583
int fserr =
PTS
.fserrNone;
587
PTS
.ValidateHandle(section);
594
fserr =
PTS
.fserrCallbackException;
600
fserr =
PTS
.fserrCallbackException;
619
return
PTS
.fserrNotImplemented;
635
return
PTS
.fserrNotImplemented;
644
int fserr =
PTS
.fserrNone;
648
PTS
.ValidateHandle((object)segment);
655
fserr =
PTS
.fserrCallbackException;
661
fserr =
PTS
.fserrCallbackException;
672
int fserr =
PTS
.fserrNone;
676
PTS
.ValidateHandle((object)segment);
678
PTS
.ValidateHandle(currentParagraph);
685
fserr =
PTS
.fserrCallbackException;
691
fserr =
PTS
.fserrCallbackException;
702
int fserr =
PTS
.fserrNone;
706
PTS
.ValidateHandle(segment);
713
fserr =
PTS
.fserrCallbackException;
719
fserr =
PTS
.fserrCallbackException;
726
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
729
int fserr =
PTS
.fserrNone;
733
PTS
.ValidateHandle(para);
738
fskch = default(
PTS
.FSKCHANGE);
741
fserr =
PTS
.fserrCallbackException;
745
fskch = default(
PTS
.FSKCHANGE);
748
fserr =
PTS
.fserrCallbackException;
755
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
757
int fserr =
PTS
.fserrNone;
761
PTS
.ValidateHandle(para);
767
fserr =
PTS
.fserrCallbackException;
772
fserr =
PTS
.fserrCallbackException;
781
int fserr =
PTS
.fserrNone;
785
PTS
.ValidateHandle(para);
792
fserr =
PTS
.fserrCallbackException;
798
fserr =
PTS
.fserrCallbackException;
807
int fserr =
PTS
.fserrNone;
811
PTS
.ValidateHandle(paraClientOld);
813
PTS
.ValidateHandle(paraClientNew);
819
fserr =
PTS
.fserrCallbackException;
824
fserr =
PTS
.fserrCallbackException;
832
int fserr =
PTS
.fserrNone;
836
PTS
.ValidateHandle(paraClient);
842
fserr =
PTS
.fserrCallbackException;
847
fserr =
PTS
.fserrCallbackException;
858
fInterruptFormatting =
PTS
.False;
859
return
PTS
.fserrNone;
868
int fserr =
PTS
.fserrNone;
872
PTS
.ValidateHandle(section);
879
fserr =
PTS
.fserrCallbackException;
885
fserr =
PTS
.fserrCallbackException;
895
int fserr =
PTS
.fserrNone;
899
PTS
.ValidateHandle(section);
906
fserr =
PTS
.fserrCallbackException;
912
fserr =
PTS
.fserrCallbackException;
923
return
PTS
.fserrNotImplemented;
934
PTS
.FSCOLUMNINFO* fscolinfoEndnote, // OUT: array of the colinfo structures
939
return
PTS
.fserrNotImplemented;
950
return
PTS
.fserrNotImplemented;
959
return
PTS
.fserrNotImplemented;
968
return
PTS
.fserrNotImplemented;
979
PTS
.FSCOLUMNINFO* fscolinfoFootnote,// OUT: array of the colinfo structures
984
return
PTS
.fserrNotImplemented;
993
return
PTS
.fserrNotImplemented;
1011
return
PTS
.fserrNotImplemented;
1020
return
PTS
.fserrNotImplemented;
1030
int fserr =
PTS
.fserrNone;
1034
PTS
.ValidateHandle(mcs);
1041
fserr =
PTS
.fserrCallbackException;
1047
fserr =
PTS
.fserrCallbackException;
1055
int fserr =
PTS
.fserrNone;
1059
PTS
.ValidateHandle(mcs);
1065
fserr =
PTS
.fserrCallbackException;
1070
fserr =
PTS
.fserrCallbackException;
1080
int fserr =
PTS
.fserrNone;
1083
fEqual =
PTS
.FromBoolean(pmcsclient1 == pmcsclient2);
1090
PTS
.ValidateHandle(mcs1);
1092
PTS
.ValidateHandle(mcs2);
1093
fEqual =
PTS
.FromBoolean(mcs1.IsEqual(mcs2));
1099
fserr =
PTS
.fserrCallbackException;
1105
fserr =
PTS
.fserrCallbackException;
1119
int fserr =
PTS
.fserrNone;
1123
PTS
.ValidateHandle(para);
1125
PTS
.ValidateHandle(paraClient);
1130
PTS
.ValidateHandle(mcs);
1132
para.CollapseMargin(paraClient, mcs, fswdir,
PTS
.ToBoolean(fSuppressTopSpace), out dvr);
1138
fserr =
PTS
.fserrCallbackException;
1144
fserr =
PTS
.fserrCallbackException;
1159
int fserr =
PTS
.fserrNone;
1178
fserr =
PTS
.fserrCallbackException;
1183
fserr =
PTS
.fserrCallbackException;
1204
int fserr =
PTS
.fserrNone;
1208
PTS
.ValidateHandle(para);
1211
PTS
.ValidateHandle(paraClient);
1217
PTS
.ValidateHandle(lineBreakRecord);
1225
fParagraphJustified =
PTS
.FromBoolean(isParagraphJustified);
1231
fParagraphJustified =
PTS
.False;
1234
fserr =
PTS
.fserrCallbackException;
1239
fParagraphJustified =
PTS
.False;
1242
fserr =
PTS
.fserrCallbackException;
1250
int fserr =
PTS
.fserrNone;
1253
PTS
.ValidateHandle(optimalBreakSession);
1263
ref
PTS
.FSTXTPROPS fstxtprops) // OUT: text paragraph properties
1265
int fserr =
PTS
.fserrNone;
1269
PTS
.ValidateHandle(para);
1275
fserr =
PTS
.fserrCallbackException;
1280
fserr =
PTS
.fserrCallbackException;
1291
int fserr =
PTS
.fserrNone;
1295
PTS
.ValidateHandle(para);
1302
fserr =
PTS
.fserrCallbackException;
1308
fserr =
PTS
.fserrCallbackException;
1328
return
PTS
.fserrNotImplemented;
1348
return
PTS
.fserrNotImplemented;
1363
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
1369
return
PTS
.fserrNotImplemented;
1376
return
PTS
.fserrNotImplemented;
1387
int fserr =
PTS
.fserrNone;
1391
PTS
.ValidateHandle(para);
1395
PTS
.ValidateHandle(line);
1409
fserr =
PTS
.fserrCallbackException;
1415
fserr =
PTS
.fserrCallbackException;
1442
out
PTS
.FSFLRES fsflres, // OUT: result of formatting
1450
int fserr =
PTS
.fserrNone;
1454
PTS
.ValidateHandle(para);
1456
PTS
.ValidateHandle(paraClient);
1458
PTS
.ToBoolean(fAllowHyphenation),
PTS
.ToBoolean(fClearOnLeft),
PTS
.ToBoolean(fClearOnRight),
PTS
.ToBoolean(fTreatAsFirstInPara),
PTS
.ToBoolean(fTreatAsLastInPara),
1459
PTS
.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres,
1466
fsflres = default(
PTS
.FSFLRES);
1468
fserr =
PTS
.fserrCallbackException;
1473
fsflres = default(
PTS
.FSFLRES);
1475
fserr =
PTS
.fserrCallbackException;
1501
out
PTS
.FSFLRES fsflres, // OUT: result of formatting
1508
int fserr =
PTS
.fserrNone;
1513
PTS
.ValidateHandle(para);
1515
PTS
.ValidateHandle(paraClient);
1517
true/*fAllowHyphenation*/,
PTS
.ToBoolean(fClearOnLeft),
PTS
.ToBoolean(fClearOnRight),
PTS
.ToBoolean(fTreatAsFirstInPara),
PTS
.ToBoolean(fTreatAsLastInPara),
1518
PTS
.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBrokenIgnore, out fsflres,
1525
fsflres = default(
PTS
.FSFLRES);
1527
fserr =
PTS
.fserrCallbackException;
1532
fsflres = default(
PTS
.FSFLRES);
1534
fserr =
PTS
.fserrCallbackException;
1558
PTS
.FSLINEVARIANT* rgfslinevariant, // OUT: pre-allocatedarray for line variants
1562
int fserr =
PTS
.fserrNone;
1567
PTS
.ValidateHandle(optimalBreakSession);
1574
PTS
.ValidateHandle(lineBreakRecord);
1589
PTS
.ToBoolean(fAllowHyphenation),
1590
PTS
.ToBoolean(fClearOnLeft),
1591
PTS
.ToBoolean(fClearOnRight),
1592
PTS
.ToBoolean(fTreatAsFirstInPara),
1593
PTS
.ToBoolean(fTreatAsLastInPara),
1594
PTS
.ToBoolean(fSuppressTopSpace),
1640
rgfslinevariant[breakIndex].fForceBroken =
PTS
.FromBoolean(textBreakpoint.IsTruncated);
1644
rgfslinevariant[breakIndex].fReformatNeighborsAsLastLine =
PTS
.False;
1655
fserr =
PTS
.fserrCallbackException;
1662
fserr =
PTS
.fserrCallbackException;
1689
out
PTS
.FSFLRES fsflres, // OUT: result of formatting
1697
int fserr =
PTS
.fserrNone;
1701
PTS
.ValidateHandle(para);
1703
PTS
.ValidateHandle(paraClient);
1705
PTS
.ToBoolean(fAllowHyphenation),
PTS
.ToBoolean(fClearOnLeft),
PTS
.ToBoolean(fClearOnRight),
PTS
.ToBoolean(fTreatAsFirstInPara),
PTS
.ToBoolean(fTreatAsLastInPara),
1706
PTS
.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres,
1713
fsflres = default(
PTS
.FSFLRES);
1715
fserr =
PTS
.fserrCallbackException;
1720
fsflres = default(
PTS
.FSFLRES);
1722
fserr =
PTS
.fserrCallbackException;
1733
return
PTS
.fserrNone;
1740
int fserr =
PTS
.fserrNone;
1744
PTS
.ValidateHandle(lineBreakRecord);
1751
fserr =
PTS
.fserrCallbackException;
1757
fserr =
PTS
.fserrCallbackException;
1765
int fserr =
PTS
.fserrNone;
1769
PTS
.ValidateHandle(lineBreakRecord);
1775
fserr =
PTS
.fserrCallbackException;
1780
fserr =
PTS
.fserrCallbackException;
1793
return
PTS
.fserrNotImplemented;
1801
int fserr =
PTS
.fserrNone;
1807
PTS
.ValidateHandle(line);
1820
fserr =
PTS
.fserrCallbackException;
1826
fserr =
PTS
.fserrCallbackException;
1838
int fserr =
PTS
.fserrNone;
1842
PTS
.ValidateHandle(para);
1849
fserr =
PTS
.fserrCallbackException;
1855
fserr =
PTS
.fserrCallbackException;
1866
int fserr =
PTS
.fserrNone;
1870
PTS
.ValidateHandle(para);
1877
fserr =
PTS
.fserrCallbackException;
1883
fserr =
PTS
.fserrCallbackException;
1894
return
PTS
.fserrNotImplemented;
1904
int fserr =
PTS
.fserrNone;
1908
PTS
.ValidateHandle(para);
1909
fInterruptFormatting =
PTS
.FromBoolean(para.InterruptFormatting(dcp, vr));
1913
fInterruptFormatting =
PTS
.False;
1915
fserr =
PTS
.fserrCallbackException;
1919
fInterruptFormatting =
PTS
.False;
1921
fserr =
PTS
.fserrCallbackException;
1944
out
PTS
.FSKCLEAR fskclear, // OUT: kclear after paragraph
1953
fFound =
PTS
.False;
1956
fskclear =
PTS
.FSKCLEAR.fskclearNone;
1957
return
PTS
.fserrNone;
1981
PTS
.FSKCLEAR fskclear, // IN: kclear after paragraph
1990
return
PTS
.fserrNone;
2002
return
PTS
.fserrNotImplemented;
2011
int fserr =
PTS
.fserrNone;
2015
PTS
.ValidateHandle(para);
2021
return
PTS
.fserrNone;
2027
fserr =
PTS
.fserrCallbackException;
2033
fserr =
PTS
.fserrCallbackException;
2053
int fserr =
PTS
.fserrNone;
2057
PTS
.ValidateHandle(para);
2071
rgidobj[objectIndex] =
PTS
.fsidobjFigure;
2083
fEndOfParagraph =
PTS
.False;
2088
fEndOfParagraph =
PTS
.False;
2090
fserr =
PTS
.fserrCallbackException;
2095
fEndOfParagraph =
PTS
.False;
2097
fserr =
PTS
.fserrCallbackException;
2112
int fserr =
PTS
.fserrNone;
2116
PTS
.ValidateHandle(para);
2123
PTS
.ValidateHandle(lineBreakpoint);
2139
return
PTS
.fserrNone;
2145
fserr =
PTS
.fserrCallbackException;
2151
fserr =
PTS
.fserrCallbackException;
2176
int fserr =
PTS
.fserrNone;
2180
PTS
.ValidateHandle(para);
2194
rgidobj[objectIndex] =
PTS
.fsidobjFigure;
2211
fserr =
PTS
.fserrCallbackException;
2217
fserr =
PTS
.fserrCallbackException;
2225
out
PTS
.FSKCHANGE fskchObject) // OUT: kind of change for figure
2227
int fserr =
PTS
.fserrNone;
2231
PTS
.ValidateHandle(para);
2237
fskchObject = default(
PTS
.FSKCHANGE);
2239
fserr =
PTS
.fserrCallbackException;
2243
fskchObject = default(
PTS
.FSKCHANGE);
2245
fserr =
PTS
.fserrCallbackException;
2259
int fserr =
PTS
.fserrNone;
2265
PTS
.ValidateHandle(line);
2267
PTS
.ValidateHandle(paraFigure);
2281
fserr =
PTS
.fserrCallbackException;
2287
fserr =
PTS
.fserrCallbackException;
2298
out
PTS
.FSFLOATERPROPS fsfloaterprops)// OUT: properties of the floater
2300
int fserr =
PTS
.fserrNone;
2304
PTS
.ValidateHandle(para);
2309
fsfloaterprops = new
PTS
.FSFLOATERPROPS();
2311
fserr =
PTS
.fserrCallbackException;
2315
fsfloaterprops = new
PTS
.FSFLOATERPROPS();
2317
fserr =
PTS
.fserrCallbackException;
2340
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
2342
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting
2347
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
2351
int fserr =
PTS
.fserrNone;
2355
PTS
.ValidateHandle(para);
2357
PTS
.ValidateHandle(paraClient);
2365
fsfmtr = new
PTS
.FSFMTR(); pfsFloatContent = pbrkrecpara = IntPtr.Zero; durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2367
fserr =
PTS
.fserrCallbackException;
2371
fsfmtr = new
PTS
.FSFMTR(); pfsFloatContent = pbrkrecpara = IntPtr.Zero; durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2373
fserr =
PTS
.fserrCallbackException;
2386
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
2390
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
2394
int fserr =
PTS
.fserrNone;
2398
PTS
.ValidateHandle(para);
2400
PTS
.ValidateHandle(paraClient);
2407
fsfmtrbl = default(
PTS
.FSFMTRBL);
2408
pfsFloatContent = IntPtr.Zero; durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2410
fserr =
PTS
.fserrCallbackException;
2414
fsfmtrbl = default(
PTS
.FSFMTRBL);
2415
pfsFloatContent = IntPtr.Zero; durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2417
fserr =
PTS
.fserrCallbackException;
2430
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
2433
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
2437
int fserr =
PTS
.fserrNone;
2441
PTS
.ValidateHandle(para);
2443
PTS
.ValidateHandle(paraClient);
2450
fsfmtrbl = default(
PTS
.FSFMTRBL);
2451
durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2453
fserr =
PTS
.fserrCallbackException;
2457
fsfmtrbl = default(
PTS
.FSFMTRBL);
2458
durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2460
fserr =
PTS
.fserrCallbackException;
2480
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
2484
int fserr =
PTS
.fserrNone;
2488
PTS
.ValidateHandle(para);
2490
PTS
.ValidateHandle(paraClient);
2498
fserr =
PTS
.fserrCallbackException;
2504
fserr =
PTS
.fserrCallbackException;
2523
return
PTS
.fserrNone;
2527
return
PTS
.FsClearUpdateInfoInSubpage(Context, pfsFloaterContent);
2537
out
PTS
.FSCOMPRESULT fscmpr) // OUT: result of comparison
2545
fscmpr =
PTS
.FSCOMPRESULT.fscmprChangeInside;
2546
return
PTS
.fserrNone;
2550
fscmpr =
PTS
.FSCOMPRESULT.fscmprChangeInside;
2551
return
PTS
.fserrNone;
2557
fscmpr =
PTS
.FSCOMPRESULT.fscmprNoChange;
2558
return
PTS
.fserrNone;
2562
fscmpr =
PTS
.FSCOMPRESULT.fscmprChangeInside;
2563
return
PTS
.fserrNone;
2567
return
PTS
.FsCompareSubpages(Context, pfsFloaterContentOld, pfsFloaterContentNew, out fscmpr);
2588
return
PTS
.fserrNone;
2591
return
PTS
.FsDestroySubpage(Context, pfsFloaterContent);
2613
return
PTS
.FsDuplicateSubpageBreakRecord(Context, pfsbrkFloaterContent, out pfsbrkFloaterContentDup);
2634
return
PTS
.FsDestroySubpageBreakRecord(Context, pfsbrkFloaterContent);
2666
return
PTS
.fserrNone;
2670
return
PTS
.FsGetSubpageColumnBalancingInfo(Context, pfsFloaterContent,
2688
return
PTS
.fserrNone;
2691
return
PTS
.FsGetNumberSubpageFootnotes(Context, pfsFloaterContent, out cftn);
2698
ref
PTS
.FSFTNINFO fsftninf, // IN/OUT: array of footnote info
2703
return
PTS
.fserrNone;
2721
return
PTS
.fserrNone;
2725
return
PTS
.FsTransferDisplayInfoSubpage(PtsContext.Context, pfsFloaterContentOld, pfsFloaterContentNew);
2735
int fserr =
PTS
.fserrNone;
2739
PTS
.ValidateHandle(para);
2744
PTS
.ValidateHandle(mcs);
2752
fserr =
PTS
.fserrCallbackException;
2758
fserr =
PTS
.fserrCallbackException;
2771
int fserr =
PTS
.fserrNone;
2775
PTS
.ValidateHandle(para);
2780
PTS
.ValidateHandle(mcs);
2788
fserr =
PTS
.fserrCallbackException;
2794
fserr =
PTS
.fserrCallbackException;
2811
return
PTS
.fserrNone;
2817
return
PTS
.fserrNone;
2836
ref
PTS
.FSRECT fsrcToFill, // IN: rectangle to fill
2838
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
2839
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
2843
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting the paragraph
2847
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
2849
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
2853
int fserr =
PTS
.fserrNone;
2854
fBreakInsidePossible =
PTS
.False;
2858
PTS
.ValidateHandle(para);
2860
PTS
.ValidateHandle(paraClient);
2865
PTS
.ValidateHandle(mcs);
2873
fsfmtr = new
PTS
.FSFMTR(); pfspara = pbrkrecpara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = 0; fsbbox = new
PTS
.FSBBOX();
2874
fskclearOut = default(
PTS
.FSKCLEAR);
2876
fserr =
PTS
.fserrCallbackException;
2880
fsfmtr = new
PTS
.FSFMTR(); pfspara = pbrkrecpara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = 0; fsbbox = new
PTS
.FSBBOX();
2881
fskclearOut = default(
PTS
.FSKCLEAR);
2883
fserr =
PTS
.fserrCallbackException;
2904
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
2906
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
2909
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
2911
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
2915
int fserr =
PTS
.fserrNone;
2919
PTS
.ValidateHandle(para);
2921
PTS
.ValidateHandle(paraClient);
2926
PTS
.ValidateHandle(mcs);
2933
fsfmtrbl = default(
PTS
.FSFMTRBL);
2934
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
2935
fskclearOut = default(
PTS
.FSKCLEAR);
2937
fserr =
PTS
.fserrCallbackException;
2941
fsfmtrbl = default(
PTS
.FSFMTRBL);
2942
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
2943
fskclearOut = default(
PTS
.FSKCLEAR);
2945
fserr =
PTS
.fserrCallbackException;
2967
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
2969
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
2971
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
2973
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
2977
int fserr =
PTS
.fserrNone;
2981
PTS
.ValidateHandle(para);
2983
PTS
.ValidateHandle(paraClient);
2988
PTS
.ValidateHandle(mcs);
2996
fsfmtrbl = default(
PTS
.FSFMTRBL);
2997
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
2998
fskclearOut = default(
PTS
.FSKCLEAR);
3000
fserr =
PTS
.fserrCallbackException;
3004
fsfmtrbl = default(
PTS
.FSFMTRBL);
3005
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3006
fskclearOut = default(
PTS
.FSKCLEAR);
3008
fserr =
PTS
.fserrCallbackException;
3024
int fserr =
PTS
.fserrNone;
3028
PTS
.ValidateHandle(paraClient);
3029
PTS
.Validate(
PTS
.FsSynchronizeBottomlessSubtrack(Context, pfspara, pfsgeom, fswdir, dvrShift), PtsContext);
3034
fserr =
PTS
.fserrCallbackException;
3039
fserr =
PTS
.fserrCallbackException;
3054
out
PTS
.FSCOMPRESULT fscmpr, // OUT: comparison result
3057
return
PTS
.FsCompareSubtrack(Context, pfsparaOld, pfsparaNew, fswdir, out fscmpr, out dvrShifted);
3067
return
PTS
.FsClearUpdateInfoInSubtrack(Context, pfspara);
3077
return
PTS
.FsDestroySubtrack(Context, pfspara);
3089
return
PTS
.FsDuplicateSubtrackBreakRecord(Context, pfsbrkrecparaOrig, out pfsbrkrecparaDup);
3100
return
PTS
.FsDestroySubtrackBreakRecord(Context, pfsobjbrk);
3114
return
PTS
.FsGetSubtrackColumnBalancingInfo(Context, pfspara, fswdir,
3126
return
PTS
.FsGetNumberSubtrackFootnotes(Context, pfspara, out nftn);
3137
PTS
.FSFTNINFO* pfsftninf, // IN/OUT: array of footnote info
3142
return
PTS
.fserrNotImplemented;
3148
out
PTS
.FSBBOX pfsbbox) // OUT: output BBox
3151
pfsbbox = new
PTS
.FSBBOX();
3152
return
PTS
.fserrNone;
3163
return
PTS
.FsTransferDisplayInfoSubtrack(Context, pfsparaOld, pfsparaNew);
3179
return
PTS
.fserrNone;
3185
return
PTS
.fserrNone;
3205
ref
PTS
.FSRECT fsrcToFill, // IN: rectangle to fill
3207
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
3208
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
3212
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting the paragraph
3216
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
3218
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
3222
int fserr =
PTS
.fserrNone;
3223
fBreakInsidePossible =
PTS
.False;
3227
PTS
.ValidateHandle(para);
3229
PTS
.ValidateHandle(paraClient);
3234
PTS
.ValidateHandle(mcs);
3242
fsfmtr = new
PTS
.FSFMTR(); pfspara = pbrkrecpara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = 0; fsbbox = new
PTS
.FSBBOX();
3243
fskclearOut = default(
PTS
.FSKCLEAR);
3245
fserr =
PTS
.fserrCallbackException;
3249
fsfmtr = new
PTS
.FSFMTR(); pfspara = pbrkrecpara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = 0; fsbbox = new
PTS
.FSBBOX();
3250
fskclearOut = default(
PTS
.FSKCLEAR);
3252
fserr =
PTS
.fserrCallbackException;
3268
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
3270
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
3273
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
3275
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
3279
int fserr =
PTS
.fserrNone;
3283
PTS
.ValidateHandle(para);
3285
PTS
.ValidateHandle(paraClient);
3290
PTS
.ValidateHandle(mcs);
3298
fsfmtrbl = default(
PTS
.FSFMTRBL);
3299
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3300
fskclearOut = default(
PTS
.FSKCLEAR);
3302
fserr =
PTS
.fserrCallbackException;
3306
fsfmtrbl = default(
PTS
.FSFMTRBL);
3307
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3308
fskclearOut = default(
PTS
.FSKCLEAR);
3310
fserr =
PTS
.fserrCallbackException;
3332
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
3334
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
3336
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
3338
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
3342
int fserr =
PTS
.fserrNone;
3346
PTS
.ValidateHandle(para);
3348
PTS
.ValidateHandle(paraClient);
3353
PTS
.ValidateHandle(mcs);
3361
fsfmtrbl = default(
PTS
.FSFMTRBL);
3362
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3363
fskclearOut = default(
PTS
.FSKCLEAR);
3365
fserr =
PTS
.fserrCallbackException;
3369
fsfmtrbl = default(
PTS
.FSFMTRBL);
3370
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3371
fskclearOut = default(
PTS
.FSKCLEAR);
3373
fserr =
PTS
.fserrCallbackException;
3385
return
PTS
.fserrNone;
3398
out
PTS
.FSCOMPRESULT fscmpr, // OUT: comparison result
3402
return
PTS
.FsCompareSubpages(Context, pfsparaOld, pfsparaNew, out fscmpr);
3412
return
PTS
.FsClearUpdateInfoInSubpage(Context, pfspara);
3423
return
PTS
.FsDestroySubpage(Context, pfspara);
3435
return
PTS
.FsDuplicateSubpageBreakRecord(Context, pfsbrkrecparaOrig, out pfsbrkrecparaDup);
3446
return
PTS
.FsDestroySubpageBreakRecord(Context, pfsobjbrk);
3460
return
PTS
.FsGetSubpageColumnBalancingInfo(Context, pfspara, out fswdir,
3472
return
PTS
.FsGetNumberSubpageFootnotes(Context, pfspara, out nftn);
3487
PTS
.FSFTNINFO* pfsftninf, // IN/OUT: array of footnote info
3490
return
PTS
.FsGetSubpageFootnoteInfo(Context, pfspara, nftn, iftnFirst, out fswdir, pfsftninf, out iftnLim);
3498
out
PTS
.FSBBOX pfsbbox) // OUT: output BBox
3501
pfsbbox = new
PTS
.FSBBOX();
3502
return
PTS
.fserrNone;
3513
return
PTS
.FsTransferDisplayInfoSubpage(Context, pfsparaOld, pfsparaNew);
3523
out
PTS
.FSTABLEOBJPROPS fstableobjprops)// OUT:
3525
int fserr =
PTS
.fserrNone;
3529
PTS
.ValidateHandle(para);
3535
fstableobjprops = new
PTS
.FSTABLEOBJPROPS();
3537
fserr =
PTS
.fserrCallbackException;
3541
fstableobjprops = new
PTS
.FSTABLEOBJPROPS();
3543
fserr =
PTS
.fserrCallbackException;
3555
int fserr =
PTS
.fserrNone;
3559
PTS
.ValidateHandle(paraClient);
3567
fserr =
PTS
.fserrCallbackException;
3573
fserr =
PTS
.fserrCallbackException;
3588
int fserr =
PTS
.fserrNone;
3592
PTS
.ValidateHandle(paraClient);
3601
fserr =
PTS
.fserrCallbackException;
3608
fserr =
PTS
.fserrCallbackException;
3620
int fserr =
PTS
.fserrNone;
3624
PTS
.ValidateHandle(para);
3632
fserr =
PTS
.fserrCallbackException;
3638
fserr =
PTS
.fserrCallbackException;
3649
int fserr =
PTS
.fserrNone;
3653
PTS
.ValidateHandle(para);
3662
fserr =
PTS
.fserrCallbackException;
3669
fserr =
PTS
.fserrCallbackException;
3681
int fserr =
PTS
.fserrNone;
3685
PTS
.ValidateHandle(para);
3694
fserr =
PTS
.fserrCallbackException;
3701
fserr =
PTS
.fserrCallbackException;
3712
int fserr =
PTS
.fserrNone;
3716
PTS
.ValidateHandle(para);
3725
fserr =
PTS
.fserrCallbackException;
3732
fserr =
PTS
.fserrCallbackException;
3744
int fserr =
PTS
.fserrNone;
3748
PTS
.ValidateHandle(para);
3757
fserr =
PTS
.fserrCallbackException;
3764
fserr =
PTS
.fserrCallbackException;
3774
int fserr =
PTS
.fserrNone;
3778
PTS
.ValidateHandle(para);
3787
fserr =
PTS
.fserrCallbackException;
3794
fserr =
PTS
.fserrCallbackException;
3805
int fserr =
PTS
.fserrNone;
3809
PTS
.ValidateHandle(para);
3818
fserr =
PTS
.fserrCallbackException;
3825
fserr =
PTS
.fserrCallbackException;
3837
int fserr =
PTS
.fserrNone;
3841
PTS
.ValidateHandle(para);
3856
fserr =
PTS
.fserrCallbackException;
3865
fserr =
PTS
.fserrCallbackException;
3876
int fserr =
PTS
.fserrNone;
3880
PTS
.ValidateHandle(para);
3893
fserr =
PTS
.fserrCallbackException;
3901
fserr =
PTS
.fserrCallbackException;
3909
out
PTS
.FSKCHANGE fskch, // OUT:
3912
int fserr =
PTS
.fserrNone;
3916
PTS
.ValidateHandle(para);
3919
PTS
.ValidateHandle(rowParagraph);
3925
fskch = default(
PTS
.FSKCHANGE);
3928
fserr =
PTS
.fserrCallbackException;
3932
fskch = default(
PTS
.FSKCHANGE);
3935
fserr =
PTS
.fserrCallbackException;
3944
out
PTS
.FSKCHANGE fskchCell) // OUT:
3946
int fserr =
PTS
.fserrNone;
3950
PTS
.ValidateHandle(cellParagraph);
3957
fskchCell = default(
PTS
.FSKCHANGE);
3959
fserr =
PTS
.fserrCallbackException;
3964
fskchCell = default(
PTS
.FSKCHANGE);
3966
fserr =
PTS
.fserrCallbackException;
3974
out
PTS
.FSKTABLEHEIGHTDISTRIBUTION tabledistr) // OUT:
3976
int fserr =
PTS
.fserrNone;
3980
PTS
.ValidateHandle(para);
3986
tabledistr =
PTS
.FSKTABLEHEIGHTDISTRIBUTION.fskdistributeUnchanged;
3988
fserr =
PTS
.fserrCallbackException;
3992
tabledistr =
PTS
.FSKTABLEHEIGHTDISTRIBUTION.fskdistributeUnchanged;
3994
fserr =
PTS
.fserrCallbackException;
4002
out
PTS
.FSTABLEROWPROPS rowprops) // OUT:
4004
int fserr =
PTS
.fserrNone;
4008
PTS
.ValidateHandle(rowParagraph);
4014
rowprops = new
PTS
.FSTABLEROWPROPS();
4016
fserr =
PTS
.fserrCallbackException;
4020
rowprops = new
PTS
.FSTABLEROWPROPS();
4022
fserr =
PTS
.fserrCallbackException;
4038
PTS
.FSTABLEKCELLMERGE* rgkcellmerge) // IN/OUT:
4040
int fserr =
PTS
.fserrNone;
4044
PTS
.ValidateHandle(rowParagraph);
4051
fserr =
PTS
.fserrCallbackException;
4056
fserr =
PTS
.fserrCallbackException;
4067
int fserr =
PTS
.fserrNone;
4071
PTS
.ValidateHandle(rowParagraph);
4079
fserr =
PTS
.fserrCallbackException;
4085
fserr =
PTS
.fserrCallbackException;
4105
int fserr =
PTS
.fserrNone;
4109
PTS
.ValidateHandle(rowParagraph);
4123
fserr =
PTS
.fserrCallbackException;
4130
fserr =
PTS
.fserrCallbackException;
4150
out
PTS
.FSFMTR pfmtr, // OUT:
4155
int fserr =
PTS
.fserrNone;
4159
PTS
.ValidateHandle(cellParagraph);
4162
PTS
.ValidateHandle(tableParaClient);
4170
pfmtr = new
PTS
.FSFMTR();
4175
fserr =
PTS
.fserrCallbackException;
4179
pfmtr = new
PTS
.FSFMTR();
4184
fserr =
PTS
.fserrCallbackException;
4193
out
PTS
.FSFMTRBL fmtrbl, // OUT:
4197
int fserr =
PTS
.fserrNone;
4201
PTS
.ValidateHandle(cellParagraph);
4204
PTS
.ValidateHandle(tableParaClient);
4215
fmtrbl = default(
PTS
.FSFMTRBL);
4219
fserr =
PTS
.fserrCallbackException;
4223
fmtrbl = default(
PTS
.FSFMTRBL);
4227
fserr =
PTS
.fserrCallbackException;
4238
out
PTS
.FSFMTRBL fmtrbl, // IN:
4241
int fserr =
PTS
.fserrNone;
4245
PTS
.ValidateHandle(cellParagraph);
4248
PTS
.ValidateHandle(cellParaClient);
4251
PTS
.ValidateHandle(tableParaClient);
4262
fmtrbl = default(
PTS
.FSFMTRBL);
4265
fserr =
PTS
.fserrCallbackException;
4269
fmtrbl = default(
PTS
.FSFMTRBL);
4272
fserr =
PTS
.fserrCallbackException;
4280
out
PTS
.FSCOMPRESULT fscmpr) // IN:OUT: cell object
4282
fscmpr =
PTS
.FSCOMPRESULT.fscmprChangeInside;
4283
return (
PTS
.fserrNone);
4291
return (
PTS
.fserrNone);
4302
int fserr =
PTS
.fserrNone;
4306
PTS
.ValidateHandle(cellParagraph);
4309
PTS
.ValidateHandle(cellParaClient);
4312
PTS
.ValidateHandle(tableParaClient);
4325
fserr =
PTS
.fserrCallbackException;
4330
fserr =
PTS
.fserrCallbackException;
4344
return
PTS
.FsDuplicateSubpageBreakRecord(Context, pfsbrkcell, out ppfsbrkcellDup);
4355
return
PTS
.FsDestroySubpageBreakRecord(Context, pfsbrkcell);
4360
int fserr =
PTS
.fserrNone;
4372
fserr =
PTS
.fserrCallbackException;
4377
fserr =
PTS
.fserrCallbackException;
4385
int fserr =
PTS
.fserrNone;
4389
PTS
.ValidateHandle(cellParaClient);
4398
fserr =
PTS
.fserrCallbackException;
4404
fserr =
PTS
.fserrCallbackException;
4413
int fserr =
PTS
.fserrNone;
4417
PTS
.ValidateHandle(cellParaClient);
4425
fserr =
PTS
.fserrCallbackException;
4431
fserr =
PTS
.fserrCallbackException;
4440
int fserr =
PTS
.fserrNone;
4444
PTS
.ValidateHandle(paraClientOld);
4446
PTS
.ValidateHandle(paraClientNew);
4452
fserr =
PTS
.fserrCallbackException;
4457
fserr =
PTS
.fserrCallbackException;
src\Framework\MS\Internal\PtsHost\PtsPage.cs (113)
224
PTS
.FSPOINT pt = TextDpi.ToTextPoint(p);
317
PTS
.FSFMTRBL formattingResult;
319
int fserr =
PTS
.FsCreatePageBottomless(PtsContext.Context, _section.Handle, out formattingResult, out ptsPage);
320
if (fserr !=
PTS
.fserrNone)
324
PTS
.ValidateAndTrace(fserr, PtsContext);
343
if(formattingResult ==
PTS
.FSFMTRBL.fmtrblInterrupted)
376
PTS
.FSFMTRBL formattingResult;
377
int fserr =
PTS
.FsUpdateBottomlessPage(PtsContext.Context, _ptsPage.Value, _section.Handle, out formattingResult);
378
if (fserr !=
PTS
.fserrNone)
384
PTS
.ValidateAndTrace(fserr, PtsContext);
398
if(formattingResult ==
PTS
.FSFMTRBL.fmtrblInterrupted)
433
PTS
.FSFMTR formattingResult;
436
int fserr =
PTS
.FsCreatePageFinite(PtsContext.Context, brIn, _section.Handle, out formattingResult, out ptsPage, out brOut);
437
if (fserr !=
PTS
.fserrNone)
442
PTS
.ValidateAndTrace(fserr, PtsContext);
503
PTS
.FSFMTR formattingResult;
505
int fserr =
PTS
.FsUpdateFinitePage(PtsContext.Context, _ptsPage.Value, brIn,
508
if (fserr !=
PTS
.fserrNone)
514
PTS
.ValidateAndTrace(fserr, PtsContext);
557
PTS
.FSPAGEDETAILS pageDetails;
558
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage.Value, out pageDetails));
565
if (
PTS
.ToBoolean(pageDetails.fSimple))
571
PtsHelper.ArrangeTrack(PtsContext, ref pageDetails.u.simple.trackdescr,
PTS
.FlowDirectionToFswdir(_section.StructuralCache.PageFlowDirection));
587
PTS
.FSSECTIONDESCRIPTION[] arraySectionDesc;
610
internal void UpdateViewport(ref
PTS
.FSRECT viewport)
615
PTS
.FSPAGEDETAILS pageDetails;
616
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage.Value, out pageDetails));
622
if (
PTS
.ToBoolean(pageDetails.fSimple))
640
PTS
.FSSECTIONDESCRIPTION[] arraySectionDesc;
667
PTS
.Validate(
PTS
.FsClearUpdateInfoInPage(PtsContext.Context, _ptsPage.Value), PtsContext);
817
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(new Rect(_section.StructuralCache.CurrentFormatContext.PageSize));
844
PTS
.FSRECT rect = GetRect();
845
PTS
.FSBBOX bbox = GetBoundingBox();
848
if (!FinitePage &&
PTS
.ToBoolean(bbox.fDefined))
856
if (
PTS
.ToBoolean(bbox.fDefined))
901
private
PTS
.FSRECT GetRect()
903
PTS
.FSRECT rect;
911
rect = new
PTS
.FSRECT();
916
PTS
.FSPAGEDETAILS pageDetails;
917
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage.Value, out pageDetails));
923
if (
PTS
.ToBoolean(pageDetails.fSimple))
952
private
PTS
.FSBBOX GetBoundingBox()
954
PTS
.FSBBOX bbox = new
PTS
.FSBBOX();
966
PTS
.FSPAGEDETAILS pageDetails;
967
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage.Value, out pageDetails));
973
if (
PTS
.ToBoolean(pageDetails.fSimple))
1000
private void ArrangeSection(ref
PTS
.FSSECTIONDESCRIPTION sectionDesc)
1003
PTS
.FSSECTIONDETAILS sectionDetails;
1004
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
1009
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
1024
PTS
.FSTRACKDESCRIPTION [] arrayColumnDesc;
1054
private void UpdateViewportSection(ref
PTS
.FSSECTIONDESCRIPTION sectionDesc, ref
PTS
.FSRECT viewport)
1057
PTS
.FSSECTIONDETAILS sectionDetails;
1058
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
1063
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
1078
PTS
.FSTRACKDESCRIPTION [] arrayColumnDesc;
1111
PTS
.FSPAGEDETAILS pageDetails;
1112
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage.Value, out pageDetails));
1115
if (pageDetails.fskupd ==
PTS
.FSKUPDATE.fskupdNoChange) { return; }
1116
ErrorHandler.Assert(pageDetails.fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
1135
if (
PTS
.ToBoolean(pageDetails.fSimple))
1139
PTS
.FSKUPDATE fskupd = pageDetails.u.simple.trackdescr.fsupdinf.fskupd;
1140
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
1145
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
1174
PTS
.FSSECTIONDESCRIPTION [] arraySectionDesc;
1217
PTS
.FSKUPDATE fskupdInherited,
1218
ref
PTS
.FSSECTIONDESCRIPTION sectionDesc)
1220
PTS
.FSKUPDATE fskupd = sectionDesc.fsupdinf.fskupd;
1221
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
1225
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
1228
if (fskupd ==
PTS
.FSKUPDATE.fskupdNoChange) { return; }
1233
PTS
.FSSECTIONDETAILS sectionDetails;
1234
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
1239
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
1254
PTS
.FSTRACKDESCRIPTION [] arrayColumnDesc;
1265
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
1306
private IInputElement InputHitTestPage(
PTS
.FSPOINT pt)
1323
PTS
.FSPAGEDETAILS pageDetails;
1324
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage.Value, out pageDetails));
1330
if (
PTS
.ToBoolean(pageDetails.fSimple))
1351
PTS
.FSSECTIONDESCRIPTION [] arraySectionDesc;
1389
PTS
.FSPAGEDETAILS pageDetails;
1390
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage.Value, out pageDetails));
1394
if (
PTS
.ToBoolean(pageDetails.fSimple))
1412
PTS
.FSSECTIONDESCRIPTION[] arraySectionDesc;
1450
PTS
.FSPOINT pt,
1451
ref
PTS
.FSSECTIONDESCRIPTION sectionDesc)
1456
PTS
.FSSECTIONDETAILS sectionDetails;
1457
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
1462
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
1477
PTS
.FSTRACKDESCRIPTION [] arrayColumnDesc;
1517
ref
PTS
.FSSECTIONDESCRIPTION sectionDesc)
1520
PTS
.FSSECTIONDETAILS sectionDetails;
1521
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
1529
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
1544
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
1692
internal
PTS
.FSRECT PageRect { get { return _pageRect; } set { _pageRect = value; } }
1730
private
PTS
.FSRECT _pageRect;
src\Framework\MS\Internal\PtsHost\RowParagraph.cs (19)
82
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
101
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
106
fskch =
PTS
.FSKCHANGE.fskchNew;
116
out
PTS
.FSTABLEROWPROPS rowprops) // OUT:
119
PTS
.FSKROWHEIGHTRESTRICTION fskrowheight;
136
rowprops = new
PTS
.FSTABLEROWPROPS();
138
rowprops.fskrowbreak =
PTS
.FSKROWBREAKRESTRICTION.fskrowbreakAnywhere;
184
fInterrupt =
PTS
.False;
216
PTS
.ValidateHandle(cellParaClient);
238
PTS
.FSTABLEKCELLMERGE* rgkcellmerge)
259
rgkcellmerge[i] =
PTS
.FSTABLEKCELLMERGE.fskcellmergeNo;
283
?
PTS
.FSTABLEKCELLMERGE.fskcellmergeNo
284
:
PTS
.FSTABLEKCELLMERGE.fskcellmergeFirst;
289
?
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast
290
:
PTS
.FSTABLEKCELLMERGE.fskcellmergeMiddle;
295
rgkcellmerge[i] =
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast;
345
internal void GetRowHeight(out
PTS
.FSKROWHEIGHTRESTRICTION fskrowheight, out int dvrAboveBelow)
353
fskrowheight =
PTS
.FSKROWHEIGHTRESTRICTION.fskrowheightNatural;
358
fskrowheight =
PTS
.FSKROWHEIGHTRESTRICTION.fskrowheightExactNoBreak;
src\Framework\MS\Internal\PtsHost\RunClient.cs (4)
212
internal ParagraphBreakRun(int length,
PTS
.FSFLRES breakReason) : base(length)
217
internal readonly
PTS
.FSFLRES BreakReason;
225
internal LineBreakRun(int length,
PTS
.FSFLRES breakReason) : base(length)
230
internal readonly
PTS
.FSFLRES BreakReason;
src\Framework\MS\Internal\PtsHost\Section.cs (18)
82
fSkip =
PTS
.False;
112
ref
PTS
.FSRECT fsrcMargin)
128
fswdir =
PTS
.FlowDirectionToFswdir(StructuralCache.PageFlowDirection);
132
fHeaderFooterAtTopBottom =
PTS
.False;
165
out
PTS
.FSKALIGNPAGE fskal,
169
fJustify =
PTS
.False;
170
fCancelAtLastColumn =
PTS
.False;
171
fskal =
PTS
.FSKALIGNPAGE.fskalpgTop;
187
fSuccess =
PTS
.False;
232
fNewPage =
PTS
.False; // Since only one section is supported, don't force page break before.
233
fswdir =
PTS
.FlowDirectionToFswdir((FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.FlowDirectionProperty));
234
fApplyColumnBalancing =
PTS
.False;
294
fHeaderPresent =
PTS
.False;
295
fHardMargin =
PTS
.False;
338
fFooterPresent =
PTS
.False;
339
fHardMargin =
PTS
.False;
369
PTS
.FSCOLUMNINFO* pfscolinfo,
397
fEndnotesPresent =
PTS
.False;
src\Framework\MS\Internal\PtsHost\SectionVisual.cs (1)
45
internal void DrawColumnRules(ref
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc, double columnVStart, double columnHeight, ColumnPropertiesGroup columnProperties)
src\Framework\MS\Internal\PtsHost\StructuralCache.cs (7)
769
internal
PTS
.FSRECT PageRect { get { return new
PTS
.FSRECT(new Rect(0, 0, PageWidth, PageHeight)); } }
774
internal
PTS
.FSRECT PageMarginRect { get { return new
PTS
.FSRECT(new Rect(PageMargin.Left, PageMargin.Top,
816
internal void PushNewPageData(PageContext pageContext,
PTS
.FSRECT columnRect, bool finitePage)
853
internal
PTS
.FSRECT ColumnRect { get { return _currentArrangeInfo.ColumnRect; } }
864
internal
PTS
.FSRECT ColumnRect;
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (75)
65
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, _paraHandle.Value));
92
PTS
.FSSUBPAGEDETAILS subpageDetails;
93
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
129
if (
PTS
.ToBoolean(subpageDetails.fSimple))
131
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.simple.trackdescr.fsrc);
145
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.complex.fsrc);
152
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
182
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
202
pt = new
PTS
.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v);
205
PTS
.FSSUBPAGEDETAILS subpageDetails;
206
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
212
if (
PTS
.ToBoolean(subpageDetails.fSimple))
223
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
270
PTS
.FSSUBPAGEDETAILS subpageDetails;
271
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
277
if (
PTS
.ToBoolean(subpageDetails.fSimple))
289
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
327
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
330
PTS
.FSSUBPAGEDETAILS subpageDetails;
331
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
362
if (
PTS
.ToBoolean(subpageDetails.fSimple))
365
PTS
.FSKUPDATE fskupd = subpageDetails.u.simple.trackdescr.fsupdinf.fskupd;
366
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
371
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
396
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
402
PTS
.FSKUPDATE fskupd = fskupdInherited;
403
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
404
Debug.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdNoChange);
426
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
450
pageContentVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
451
floatingElementsVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
453
PTS
.FSRECT clipRect = new
PTS
.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
471
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
474
PTS
.FSSUBPAGEDETAILS subpageDetails;
475
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
477
PTS
.FSRECT viewportSubpage = new
PTS
.FSRECT();
488
if (
PTS
.ToBoolean(subpageDetails.fSimple))
500
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
539
PTS
.FSSUBPAGEDETAILS subpageDetails;
540
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
546
if (
PTS
.ToBoolean(subpageDetails.fSimple))
560
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
618
PTS
.FSSUBPAGEDETAILS subpageDetails;
619
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle.Value, out subpageDetails));
625
if (
PTS
.ToBoolean(subpageDetails.fSimple))
628
PTS
.FSTRACKDETAILS trackDetails;
629
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
648
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
654
PTS
.FSTRACKDETAILS trackDetails;
655
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[i].pfstrack, out trackDetails));
686
PTS
.FSTRACKDETAILS trackDetails;
687
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, pfstrack, out trackDetails));
692
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
699
PTS
.ValidateHandle(paraClient);
723
PTS
.FSTRACKDETAILS trackDetails;
724
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, pfstrack, out trackDetails));
730
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
738
PTS
.ValidateHandle(paraClient);
789
internal
PTS
.FSRECT ContentRect { get { return _contentRect; } }
791
private
PTS
.FSRECT _contentRect;
792
private
PTS
.FSRECT _paddingRect;
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (81)
83
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
133
ref
PTS
.FSRECT fsrcToFill, // IN: rectangle to fill
135
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
136
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
138
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting the paragraph
142
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
144
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
147
uint fswdirSubpage =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
154
PTS
.FSRECT fsrcSubpageMargin;
155
PTS
.FSCOLUMNINFO [] columnInfoCollection;
172
fsrcSubpageMargin = new
PTS
.FSRECT();
178
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
190
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
191
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFill, fswdirSubpage, out fsrcToFill));
200
if (
PTS
.ToBoolean(fSuppressTopSpace))
228
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
229
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
240
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
242
PTS
.Validate(
PTS
.FsCreateSubpageFinite(PtsContext.Context, pbrkrecIn, fBRFromPreviousPage, _mainTextSegment.Handle,
244
ref fsrcSubpageMargin, cColumns, rgColumnInfo,
PTS
.False,
245
0, null, null, 0, null, null,
PTS
.FromBoolean(false),
252
fskclearOut =
PTS
.FSKCLEAR.fskclearNone;
254
if (
PTS
.ToBoolean(fsbbox.fDefined))
272
PTS
.ValidateHandle(mcsSubpage);
277
if (fsfmtr.kstop >=
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace) // No progress or collision
286
if (fsfmtr.kstop ==
PTS
.FSFMTRKSTOP.fmtrGoalReached)
308
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
309
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubpage, ref pageRect, ref fsbbox, fswdir, out fsbbox));
349
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
351
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
354
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
356
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
365
PTS
.FSCOLUMNINFO[] columnInfoCollection;
366
uint fswdirSubpage =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
375
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
384
PTS
.FSRECT fsrcToFillSubpage = new
PTS
.FSRECT(urTrack, 0, durTrack, 0);
385
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
386
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubpage, fswdirSubpage, out fsrcToFillSubpage));
414
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
415
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
427
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
429
PTS
.Validate(
PTS
.FsCreateSubpageBottomless(PtsContext.Context, _mainTextSegment.Handle, fSuppressTopSpace,
431
cColumns, rgColumnInfo, 0, null, null, 0, null, null,
PTS
.FromBoolean(_isInterruptible),
438
fskclearOut =
PTS
.FSKCLEAR.fskclearNone;
440
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
448
PTS
.ValidateHandle(mcsSubpage);
462
if (
PTS
.ToBoolean(fsbbox.fDefined))
490
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
491
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubpage, ref pageRect, ref fsbbox, fswdir, out fsbbox));
520
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
522
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
524
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
526
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
535
PTS
.FSCOLUMNINFO[] columnInfoCollection;
536
uint fswdirSubpage =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
544
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
553
PTS
.FSRECT fsrcToFillSubpage = new
PTS
.FSRECT(urTrack, 0, durTrack, 0);
554
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
555
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubpage, fswdirSubpage, out fsrcToFillSubpage));
583
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
584
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
595
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
597
PTS
.Validate(
PTS
.FsUpdateBottomlessSubpage(PtsContext.Context, pfspara, _mainTextSegment.Handle, fSuppressTopSpace,
599
cColumns, rgColumnInfo, 0, null, null, 0, null, null,
PTS
.FromBoolean(true),
606
fskclearOut =
PTS
.FSKCLEAR.fskclearNone;
608
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
616
PTS
.ValidateHandle(mcsSubpage);
630
if (
PTS
.ToBoolean(fsbbox.fDefined))
658
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
659
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubpage, ref pageRect, ref fsbbox, fswdir, out fsbbox));
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (159)
85
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
86
PTS
.FSKUPDATE fskupdTable;
87
PTS
.FSRECT rect;
92
|| fskupdTable ==
PTS
.FSKUPDATE.fskupdNoChange
93
|| fskupdTable ==
PTS
.FSKUPDATE.fskupdShifted )
108
PTS
.FSRECT pageRect = _pageContext.PageRect;
110
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ParentFlowDirection), ref pageRect, ref _rect,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out _rect));
121
PTS
.FSKUPDATE fskupdRow;
122
PTS
.FSKUPDATE[] arrayUpdate;
124
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
126
fskupdRow = (arrayTableRowDesc[iR].fsupdinf.fskupd !=
PTS
.FSKUPDATE.fskupdInherited)
130
if (fskupdRow ==
PTS
.FSKUPDATE.fskupdNoChange)
152
&& ( arrayTableCellMerge[iC] ==
PTS
.FSTABLEKCELLMERGE.fskcellmergeMiddle
153
|| arrayTableCellMerge[iC] ==
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast ) )
199
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
201
Invariant.Assert( fskupdInherited !=
PTS
.FSKUPDATE.fskupdInherited );
204
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
205
PTS
.FSKUPDATE fskupdTable;
206
PTS
.FSRECT rect;
224
if (fskupdTable ==
PTS
.FSKUPDATE.fskupdInherited)
229
if (fskupdTable ==
PTS
.FSKUPDATE.fskupdNoChange)
235
if (fskupdTable ==
PTS
.FSKUPDATE.fskupdShifted)
237
fskupdTable =
PTS
.FSKUPDATE.fskupdNew;
241
if (fskupdTable ==
PTS
.FSKUPDATE.fskupdNew)
264
PTS
.FSKUPDATE fskupdRow;
268
fskupdRow = (arrayTableRowDesc[iR].fsupdinf.fskupd !=
PTS
.FSKUPDATE.fskupdInherited)
283
if (fskupdRow ==
PTS
.FSKUPDATE.fskupdNew)
300
if ( fskupdRow ==
PTS
.FSKUPDATE.fskupdNew
301
|| fskupdRow ==
PTS
.FSKUPDATE.fskupdChangeInside )
347
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
352
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
353
PTS
.FSKUPDATE fskupdTable;
354
PTS
.FSRECT rectTable;
360
PTS
.FSKUPDATE[] arrayUpdate;
362
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
396
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
402
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
403
PTS
.FSKUPDATE fskupdTable;
404
PTS
.FSRECT rectTable;
414
PTS
.FSKUPDATE[] arrayUpdate;
416
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
433
PTS
.FSRECT rect = cellParaClient.Rect;
487
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
488
PTS
.FSKUPDATE fskupdTable;
489
PTS
.FSRECT rectTable;
496
PTS
.FSKUPDATE[] arrayUpdate;
498
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
558
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
559
PTS
.FSKUPDATE fskupdTable;
560
PTS
.FSRECT rectTable;
574
PTS
.FSTABLEROWDETAILS tableRowDetails;
576
PTS
.Validate(
PTS
.FsQueryTableObjRowDetails(
581
if (tableRowDetails.fskboundaryAbove !=
PTS
.FSKTABLEROWBOUNDARY.fsktablerowboundaryBreak)
592
PTS
.FSKUPDATE[] arrayUpdate;
594
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
613
if (tableRowDetails.fskboundaryBelow !=
PTS
.FSKTABLEROWBOUNDARY.fsktablerowboundaryBreak)
659
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
660
PTS
.FSKUPDATE fskupdTable;
661
PTS
.FSRECT rectTable;
673
PTS
.FSKUPDATE[] arrayUpdate;
675
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
692
PTS
.FSRECT rect = cpc.Rect;
754
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
755
PTS
.FSKUPDATE fskupdTable;
756
PTS
.FSRECT rectTable;
797
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
798
PTS
.FSKUPDATE fskupdTable;
799
PTS
.FSRECT rectTable;
806
PTS
.FSKUPDATE[] arrayUpdate;
808
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
820
(arrayTableCellMerge[iC] !=
PTS
.FSTABLEKCELLMERGE.fskcellmergeMiddle &&
821
arrayTableCellMerge[iC] !=
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast)
893
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
894
PTS
.FSKUPDATE fskupdTable;
895
PTS
.FSRECT rectTable;
903
PTS
.FSKUPDATE[] arrayUpdate;
905
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
968
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
969
PTS
.FSKUPDATE fskupdTable;
970
PTS
.FSRECT rectTable;
976
PTS
.FSKUPDATE[] arrayUpdate;
978
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1028
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
1029
PTS
.FSKUPDATE fskupdTable;
1030
PTS
.FSRECT rectTable;
1039
PTS
.FSKUPDATE[] arrayUpdate;
1041
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1115
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
1116
PTS
.FSKUPDATE fskupdTable;
1117
PTS
.FSRECT rectTable;
1124
PTS
.FSKUPDATE[] arrayUpdate;
1126
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1216
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
1217
PTS
.FSKUPDATE fskupdTable;
1218
PTS
.FSRECT rectTable;
1309
int ret =
PTS
.True;
1429
private unsafe void UpdateChunkInfo(
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc)
1431
PTS
.FSTABLEROWDETAILS tableRowDetails;
1436
PTS
.Validate(
PTS
.FsQueryTableObjRowDetails(
1441
_isFirstChunk = (tableRowDetails.fskboundaryAbove ==
PTS
.FSKTABLEROWBOUNDARY.fsktablerowboundaryOuter) &&
1446
PTS
.Validate(
PTS
.FsQueryTableObjRowDetails(
1451
_isLastChunk = (tableRowDetails.fskboundaryBelow ==
PTS
.FSKTABLEROWBOUNDARY.fsktablerowboundaryOuter) &&
1470
out
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc,
1471
out
PTS
.FSKUPDATE fskupdTable,
1472
out
PTS
.FSRECT rect)
1474
PTS
.FSTABLEOBJDETAILS tableObjDetails;
1475
PTS
.FSTABLEDETAILS tableDetails;
1477
PTS
.Validate(
PTS
.FsQueryTableObjDetails(
1486
PTS
.Validate(
PTS
.FsQueryTableObjTableProperDetails(
1498
arrayTableRowDesc = new
PTS
.FSTABLEROWDESCRIPTION[tableDetails.cRows];
1500
fixed (
PTS
.FSTABLEROWDESCRIPTION * rgTableRowDesc = arrayTableRowDesc)
1504
PTS
.Validate(
PTS
.FsQueryTableObjRowList(
1532
out
PTS
.FSKUPDATE[] arrayUpdate,
1533
out
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge)
1535
PTS
.FSTABLEROWDETAILS tableRowDetails;
1537
PTS
.Validate(
PTS
.FsQueryTableObjRowDetails(
1542
arrayUpdate = new
PTS
.FSKUPDATE[tableRowDetails.cCells];
1544
arrayTableCellMerge = new
PTS
.FSTABLEKCELLMERGE[tableRowDetails.cCells];
1548
fixed (
PTS
.FSKUPDATE * rgUpdate = arrayUpdate)
1552
fixed (
PTS
.FSTABLEKCELLMERGE * rgTableCellMerge = arrayTableCellMerge)
1556
PTS
.Validate(
PTS
.FsQueryTableObjCellList(
1640
PTS
.FSKUPDATE fskupdRow,
1643
PTS
.FSKUPDATE[] arrayUpdate;
1645
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1662
PTS
.FSKUPDATE fskupdCell;
1667
|| arrayTableCellMerge[iC] ==
PTS
.FSTABLEKCELLMERGE.fskcellmergeMiddle
1668
|| arrayTableCellMerge[iC] ==
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast )
1673
fskupdCell = (arrayUpdate[iC] !=
PTS
.FSKUPDATE.fskupdInherited)
1677
if (fskupdCell !=
PTS
.FSKUPDATE.fskupdNoChange)
1684
if ( fskupdCell ==
PTS
.FSKUPDATE.fskupdNew
1752
PTS
.FSKUPDATE fskupdRow,
1755
PTS
.FSKUPDATE[] arrayUpdate;
1757
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1785
PTS
.FSKUPDATE fskupdCell;
1794
fskupdCell = (arrayUpdate[iC] !=
PTS
.FSKUPDATE.fskupdInherited)
1811
PTS
.FSKUPDATE fskupdCell;
1822
if (fskupdCell !=
PTS
.FSKUPDATE.fskupdNoChange)
1827
if (fskupdCell ==
PTS
.FSKUPDATE.fskupdNew)
1918
private double GetActualRowHeight(
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, int rowIndex, MbpInfo mbpInfo)
1949
private void DrawRowGroupBackgrounds(DrawingContext dc,
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, Rect tableContentRect, MbpInfo mbpInfo)
2011
private void DrawRowBackgrounds(DrawingContext dc,
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, Rect tableContentRect, MbpInfo mbpInfo)
2144
int ptsNoWidthChanges =
PTS
.True;
2526
if (_calculatedColumns[i].PtsWidthChanged ==
PTS
.True)
2528
ptsNoWidthChanges =
PTS
.False;
2540
private
PTS
.FSRECT GetTableContentRect(MbpInfo mbpInfo)
2545
return new
PTS
.FSRECT(_rect.u + mbpInfo.BPLeft,
2575
internal
PTS
.FSKUPDATE fskupdCell;
2589
private
PTS
.FSRECT _columnRect;
src\Framework\MS\Internal\PtsHost\TableParagraph.cs (30)
128
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
133
fspap.fKeepWithNext =
PTS
.False;
134
fspap.fBreakPageBefore =
PTS
.False;
135
fspap.fBreakColumnBefore =
PTS
.False;
162
out
PTS
.FSTABLEOBJPROPS fstableobjprops)// OUT: properties of the table
164
fstableobjprops = new
PTS
.FSTABLEOBJPROPS();
166
fstableobjprops.fskclear =
PTS
.FSKCLEAR.fskclearNone;
167
fstableobjprops.ktablealignment =
PTS
.FSKTABLEOBJALIGNMENT.fsktableobjAlignLeft;
168
fstableobjprops.fFloat =
PTS
.False;
169
fstableobjprops.fskwr =
PTS
.FSKWRAP.fskwrBoth;
170
fstableobjprops.fDelayNoProgress =
PTS
.False;
175
fstableobjprops.fswdirTable =
PTS
.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty));
214
fFound =
PTS
.False;
231
fFound =
PTS
.False;
246
fFound =
PTS
.False;
263
fFound =
PTS
.False;
299
fFound =
PTS
.True;
304
fFound =
PTS
.False;
374
fFound =
PTS
.True;
379
fFound =
PTS
.False;
397
fHeaderChanged =
PTS
.False;
398
fRepeatedHeaderChanged =
PTS
.False;
399
fFooterChanged =
PTS
.False;
400
fRepeatedFooterChanged =
PTS
.False;
415
fFound =
PTS
.True;
416
fChangeFirst =
PTS
.True;
427
out
PTS
.FSKTABLEHEIGHTDISTRIBUTION tabledistr) // OUT: height distribution kind
429
tabledistr =
PTS
.FSKTABLEHEIGHTDISTRIBUTION.fskdistributeUnchanged;
436
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
441
fskch =
PTS
.FSKCHANGE.fskchNew;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (402)
71
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
74
PTS
.FSTEXTDETAILS textDetails;
75
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
85
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
122
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
149
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
156
PTS
.FSRECT pageRect = _pageContext.PageRect;
174
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
177
PTS
.FSTEXTDETAILS textDetails;
178
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
179
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
197
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
203
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
206
PTS
.ValidateHandle(paraClient);
226
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
231
PTS
.FSTEXTDETAILS textDetails;
232
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
238
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
240
PTS
.FSPOINT localPoint = pt;
250
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
266
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
300
PTS
.FSTEXTDETAILS textDetails;
301
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
307
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
312
PTS
.FSATTACHEDOBJECTDESCRIPTION[] arrayAttachedObjectDesc;
317
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
320
PTS
.ValidateHandle(paraClient);
337
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
351
PTS
.FSRECT pageRect = _pageContext.PageRect;
355
PTS
.FSRECT rectTransform = new
PTS
.FSRECT(rectangles[index]);
356
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectTransform,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectTransform));
366
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
402
PTS
.FSTEXTDETAILS textDetails;
403
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
409
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
413
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
428
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
451
PTS
.FSTEXTDETAILS textDetails;
452
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
455
if ( textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull
459
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
467
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
470
PTS
.ValidateHandle(paraClient);
496
PTS
.FSTEXTDETAILS textDetails;
497
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
500
if ( textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull
503
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
511
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
514
PTS
.ValidateHandle(paraClient);
537
PTS
.FSTEXTDETAILS textDetails;
541
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
543
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
563
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc = null;
605
PTS
.FSTEXTDETAILS textDetails;
606
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
617
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
621
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
624
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
631
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
648
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
655
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
659
PTS
.FSLINEELEMENT[] arrayLineElement;
665
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
690
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
728
PTS
.FSTEXTDETAILS textDetails;
729
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
731
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
736
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
791
PTS
.FSTEXTDETAILS textDetails;
792
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
798
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
804
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
819
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
826
PTS
.FSRECT pageRect = _pageContext.PageRect;
827
PTS
.FSRECT rectTransform = new
PTS
.FSRECT(rect);
828
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectTransform,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectTransform));
878
PTS
.FSTEXTDETAILS textDetails;
879
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
885
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
889
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
909
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
956
PTS
.FSTEXTDETAILS textDetails;
957
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
963
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
967
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
982
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
1016
PTS
.FSTEXTDETAILS textDetails;
1017
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
1023
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
1027
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
1042
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
1069
PTS
.FSTEXTDETAILS textDetails;
1070
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
1076
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
1080
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
1095
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
1125
PTS
.FSTEXTDETAILS textDetails;
1126
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
1142
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
1146
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
1149
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
1156
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1174
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
1181
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
1185
PTS
.FSLINEELEMENT [] arrayLineElement;
1191
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
1218
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
1271
PTS
.FSTEXTDETAILS textDetails;
1272
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
1278
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
1286
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
1301
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
1343
PTS
.FSTEXTDETAILS textDetails;
1344
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
1345
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
1367
PTS
.FSTEXTDETAILS textDetails;
1368
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
1369
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
1422
PTS
.FSTEXTDETAILS textDetails;
1423
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle.Value, out textDetails));
1429
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
1435
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
1438
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
1443
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1464
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
1469
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
1472
PTS
.FSLINEELEMENT[] arrayLineElement;
1477
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
1500
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
1507
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
1510
PTS
.ValidateHandle(paraClient);
1514
PTS
.FSFLOATERDETAILS floaterDetails;
1515
PTS
.Validate(
PTS
.FsQueryFloaterDetails(PtsContext.Context, attachedObjectDesc.pfspara, out floaterDetails));
1516
PTS
.FSRECT rectFloater = floaterDetails.fsrcFloater;
1520
PTS
.FSRECT pageRect = _pageContext.PageRect;
1521
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectFloater,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectFloater));
1524
((FloaterParaClient)paraClient).ArrangeFloater(rectFloater, _rect,
PTS
.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
1528
PTS
.FSFIGUREDETAILS figureDetails;
1529
PTS
.Validate(
PTS
.FsQueryFigureObjectDetails(PtsContext.Context, attachedObjectDesc.pfspara, out figureDetails));
1530
PTS
.FSRECT rectFigure = figureDetails.fsrcFlowAround;
1534
PTS
.FSRECT pageRect = _pageContext.PageRect;
1535
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectFigure,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectFigure));
1538
((FigureParaClient)paraClient).ArrangeFigure(rectFigure, _rect,
PTS
.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
1551
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
1573
private void SyncUpdateDeferredLineVisuals(VisualCollection lineVisuals, ref
PTS
.FSTEXTDETAILSFULL textDetails, bool ignoreUpdateInfo)
1575
Debug.Assert(!
PTS
.ToBoolean(textDetails.fLinesComposite));
1579
if (!
PTS
.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo ||
1587
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
1659
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1710
private ReadOnlyCollection<LineResult> LineResultsFromSimpleLines(ref
PTS
.FSTEXTDETAILSFULL textDetails)
1712
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1718
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
1726
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1735
PTS
.FSRECT pageRect = _pageContext.PageRect;
1736
PTS
.FSRECT rectTransform = new
PTS
.FSRECT(lbox);
1737
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectTransform,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectTransform));
1769
private ReadOnlyCollection<LineResult> LineResultsFromCompositeLines(ref
PTS
.FSTEXTDETAILSFULL textDetails)
1771
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1777
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
1785
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
1789
PTS
.FSLINEELEMENT [] arrayLineElement;
1794
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
1803
PTS
.FSRECT pageRect = _pageContext.PageRect;
1804
PTS
.FSRECT rectTransform = new
PTS
.FSRECT(lbox);
1805
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectTransform,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectTransform));
1840
ref
PTS
.FSTEXTDETAILSFULL textDetails,
1844
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1850
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
1856
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1867
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1874
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
1933
ref
PTS
.FSTEXTDETAILSFULL textDetails,
1937
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1943
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
1949
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
1953
PTS
.FSLINEELEMENT [] arrayLineElement;
1958
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
1969
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
1976
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
2031
ref
PTS
.FSTEXTDETAILSFULL textDetails,
2034
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2042
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
2056
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[lineIndex];
2143
ref
PTS
.FSTEXTDETAILSFULL textDetails,
2146
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2154
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
2159
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[lineIndex];
2166
PTS
.FSLINEELEMENT[] arrayLineElement;
2171
PTS
.FSLINEELEMENT elemDesc = arrayLineElement[elemIndex];
2284
ref
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc,
2292
Rect lineRect = new
PTS
.FSRECT(lineDesc.urBBox, lineDesc.vrStart, lineDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).FromTextDpi();
2323
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2328
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2395
ref
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc,
2397
ref
PTS
.FSLINEELEMENT elemDesc,
2403
Rect elementRect = new
PTS
.FSRECT(elemDesc.urBBox, lineDesc.vrStart, elemDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).FromTextDpi();
2434
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(elemDesc.fClearOnLeft),
PTS
.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2439
TextParagraph.FormatLineCore(line, elemDesc.pfsbreakreclineclient, ctx, elemDesc.dcpFirst, elemDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), elemDesc.dcpFirst);
2548
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2555
PTS
.FSATTACHEDOBJECTDESCRIPTION[] arrayAttachedObjectDesc;
2560
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
2563
PTS
.ValidateHandle(objectParaClient);
2594
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2596
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2602
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
2610
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
2659
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2666
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2690
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2692
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2698
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
2706
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
2713
PTS
.FSLINEELEMENT[] arrayLineElement;
2718
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
2788
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2795
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
2821
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2823
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2829
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
2838
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
2871
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2878
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2950
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2952
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2958
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
2967
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
2971
PTS
.FSLINEELEMENT [] arrayLineElement;
2976
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3042
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3049
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3120
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3122
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3128
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
3137
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3162
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3169
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3216
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3218
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3224
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
3233
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
3237
PTS
.FSLINEELEMENT[] arrayLineElement;
3242
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3292
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3299
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3347
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3349
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3355
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
3361
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3368
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3375
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3405
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3407
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3413
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
3419
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
3423
PTS
.FSLINEELEMENT[] arrayLineElement;
3428
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3435
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3442
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3469
ref
PTS
.FSTEXTDETAILSFULL textDetails,
3472
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3481
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
3485
if (!
PTS
.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo)
3493
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3496
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3504
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3538
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3541
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3549
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3578
private bool IntersectsWithRectOnV(ref
PTS
.FSRECT rect)
3587
private bool ContainedInRectOnV(ref
PTS
.FSRECT rect)
3596
private ContainerVisual CreateLineVisual(ref
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc, int cpTextParaStart)
3598
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3606
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3629
ref
PTS
.FSTEXTDETAILSFULL textDetails,
3630
ref
PTS
.FSRECT viewport)
3634
Debug.Assert(!
PTS
.ToBoolean(textDetails.fLinesComposite));
3656
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
3672
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[lineIndex];
3687
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[lineIndex];
3713
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3733
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3773
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3861
ref
PTS
.FSTEXTDETAILSFULL textDetails,
3864
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3870
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
3874
if (!
PTS
.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo)
3882
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
3900
PTS
.FSLINEELEMENT [] arrayLineElement;
3905
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3908
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3916
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3951
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
3969
PTS
.FSLINEELEMENT [] arrayLineElement;
3974
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3977
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3985
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
4020
PTS
.FSKUPDATE fskupdInherited,
4024
PTS
.FSKUPDATE fskupd;
4031
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
4040
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
4043
PTS
.ValidateHandle(paraClient);
4046
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
4051
if(fskupd !=
PTS
.FSKUPDATE.fskupdNoChange)
4067
PTS
.FSPOINT pt,
4068
ref
PTS
.FSTEXTDETAILSFULL textDetails)
4070
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
4079
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
4085
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
4090
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
4101
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
4128
private bool IsDeferredVisualCreationSupported(ref
PTS
.FSTEXTDETAILSFULL textDetails)
4133
if(
PTS
.ToBoolean(textDetails.fLinesComposite))
4154
ref
PTS
.FSTEXTDETAILSFULL textDetails)
4156
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
4171
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
4177
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
4193
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc,
4222
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
4229
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
4256
PTS
.FSPOINT pt,
4257
ref
PTS
.FSTEXTDETAILSFULL textDetails)
4259
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
4268
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
4274
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
4282
PTS
.FSLINEELEMENT [] arrayLineElement;
4287
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
4290
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4301
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
4344
ref
PTS
.FSTEXTDETAILSFULL textDetails)
4346
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
4358
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
4364
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
4389
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc,
4410
PTS
.FSLINEELEMENT[] arrayLineElement;
4415
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
4435
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4442
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (27)
116
ref
PTS
.FSPAP fspap)
120
fspap.fKeepWithNext =
PTS
.False;
121
fspap.fBreakPageBefore =
PTS
.False;
122
fspap.fBreakColumnBefore =
PTS
.False;
125
fspap.idobj =
PTS
.fsidobjText;
158
ref
PTS
.FSTXTPROPS fstxtprops)
162
fstxtprops.fswdir =
PTS
.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty));
164
fstxtprops.fKeepTogether =
PTS
.FromBoolean(DynamicPropertyReader.GetKeepTogether(Element));
167
fstxtprops.fDropCap =
PTS
.False;
168
fstxtprops.fVerticalGrid =
PTS
.False;
169
fstxtprops.fOptimizeParagraph =
PTS
.FromBoolean(IsOptimalParagraph);
171
fstxtprops.fAvoidHyphenationAtTrackBottom =
PTS
.False;
172
fstxtprops.fAvoidHyphenationOnLastChainElement =
PTS
.False;
526
out
PTS
.FSFLRES fsflres,
576
fForcedBroken =
PTS
.FromBoolean(line.IsTruncated);
583
fReformatNeighborsAsLastLine =
PTS
.False;
712
out
PTS
.FSFLRES fsflres,
761
fForcedBroken =
PTS
.FromBoolean(line.IsTruncated);
768
fReformatNeighborsAsLastLine =
PTS
.False;
995
figurePara.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
1018
floaterPara.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
1158
internal override void SetUpdateInfo(
PTS
.FSKCHANGE fskch, bool stopAsking)
1162
if (fskch ==
PTS
.FSKCHANGE.fskchInside)
1353
PTS
.ValidateHandle(lineBreakRecord);
1413
internal void UpdateTextContentRangeFromAttachedObjects(TextContentRange textContentRange, int dcpFirst, int dcpLast,
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc)
1443
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObject = arrayAttachedObjectDesc[index];
1447
PTS
.ValidateHandle(paraClient);
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (11)
70
PTS
.FSFLOATERDETAILS floaterDetails;
71
PTS
.Validate(
PTS
.FsQueryFloaterDetails(PtsContext.Context, _paraHandle.Value, out floaterDetails));
81
PTS
.FSRECT pageRect = _pageContext.PageRect;
82
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ParentFlowDirection), ref pageRect, ref _rect,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out _rect));
109
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
136
uiElementIsland.Offset = new
PTS
.FSVECTOR(_rect.u + mbp.BPLeft, _rect.v + mbp.BPTop).FromTextDpi();
174
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
src\Framework\MS\Internal\PtsHost\UIElementParagraph.cs (49)
147
out
PTS
.FSFLOATERPROPS fsfloaterprops) // OUT: properties of the floater
149
fsfloaterprops = new
PTS
.FSFLOATERPROPS();
150
fsfloaterprops.fFloat =
PTS
.False; // Floater
151
fsfloaterprops.fskclear =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
154
fsfloaterprops.fskfloatalignment =
PTS
.FSKFLOATALIGNMENT.fskfloatalignMin;
155
fsfloaterprops.fskwr =
PTS
.FSKWRAP.fskwrNone;
158
fsfloaterprops.fDelayNoProgress =
PTS
.True;
175
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
177
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting
182
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
189
if (fAtMaxWidth ==
PTS
.False && fEmptyOk ==
PTS
.True)
194
fsfmtr = new
PTS
.FSFMTR();
195
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
196
fsfmtr.fContainsItemThatStoppedBeforeFootnote =
PTS
.False;
197
fsfmtr.fForcedProgress =
PTS
.False;
198
fsbbox = new
PTS
.FSBBOX();
199
fsbbox.fDefined =
PTS
.False;
207
fsfmtr.fForcedProgress =
PTS
.FromBoolean(fAtMaxWidth ==
PTS
.False);
221
fsbbox.fsrc = new
PTS
.FSRECT();
228
if (dvrAvailable < dvrFloaterHeight && fEmptyOk ==
PTS
.True)
232
fsfmtr = new
PTS
.FSFMTR();
233
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
234
fsbbox = new
PTS
.FSBBOX();
235
fsbbox.fDefined =
PTS
.False;
242
fsbbox.fDefined =
PTS
.True;
247
Invariant.Assert(fEmptyOk ==
PTS
.False);
248
fsfmtr.fForcedProgress =
PTS
.True;
250
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrGoalReached;
255
fsfmtr.fContainsItemThatStoppedBeforeFootnote =
PTS
.False;
269
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
273
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
280
if (fAtMaxWidth ==
PTS
.False)
287
fsfmtrbl =
PTS
.FSFMTRBL.fmtrblInterrupted;
288
fsbbox = new
PTS
.FSBBOX();
289
fsbbox.fDefined =
PTS
.False;
304
fsfmtrbl =
PTS
.FSFMTRBL.fmtrblGoalReached;
305
fsbbox.fDefined =
PTS
.True;
314
fsbbox.fsrc = new
PTS
.FSRECT();
317
fsbbox.fDefined =
PTS
.True;
319
fsfmtrbl =
PTS
.FSFMTRBL.fmtrblGoalReached;
337
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
340
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
385
private void FormatUIElement(int durAvailable, out
PTS
.FSBBOX fsbbox)
411
fsbbox.fsrc = new
PTS
.FSRECT();
414
fsbbox.fDefined =
PTS
.True;
438
fsbbox.fsrc = new
PTS
.FSRECT();
441
fsbbox.fDefined =
PTS
.True;
src\Framework\MS\Internal\PtsHost\UpdateRecord.cs (2)
35
ChangeType =
PTS
.FSKCHANGE.fskchNone;
78
internal
PTS
.FSKCHANGE ChangeType;
src\Framework\MS\Internal\PtsTable\CalculatedColumn.cs (1)
77
internal int PtsWidthChanged { get { return (
PTS
.FromBoolean(!CheckFlags(Flags.ValidWidth))); } }
src\Framework\MS\Internal\Text\TextDpi.cs (7)
75
internal static
PTS
.FSPOINT ToTextPoint(Point point)
77
PTS
.FSPOINT fspoint = new
PTS
.FSPOINT();
86
internal static
PTS
.FSVECTOR ToTextSize(Size size)
88
PTS
.FSVECTOR fsvector = new
PTS
.FSVECTOR();
97
internal static Rect FromTextRect(
PTS
.FSRECT fsrect)
src\Framework\System\Windows\Documents\Block.cs (2)
513
double maxLineHeight = Math.Min(1000000,
PTS
.MaxFontSize);
557
double maxThickness = Math.Min(1000000,
PTS
.MaxPageSize);
src\Framework\System\Windows\Documents\Figure.cs (1)
300
double maxOffset = Math.Min(1000000,
PTS
.MaxPageSize);
src\Framework\System\Windows\Documents\Floater.cs (1)
133
double maxWidth = Math.Min(1000000,
PTS
.MaxPageSize);
src\Framework\System\Windows\Documents\FlowDocument.cs (5)
1538
double maxSize = Math.Min(1000000,
PTS
.MaxPageSize);
1553
double maxSize = Math.Min(1000000,
PTS
.MaxPageSize);
1568
double maxSize = Math.Min(1000000,
PTS
.MaxPageSize);
1589
double maxRuleWidth = Math.Min(1000000,
PTS
.MaxPageSize);
1600
double maxGap = Math.Min(1000000,
PTS
.MaxPageSize);
src\Framework\System\Windows\Documents\List.cs (1)
337
double maxOffset = Math.Min(1000000,
PTS
.MaxPageSize);
src\Framework\System\Windows\Documents\Paragraph.cs (3)
296
const int maxLines =
PTS
.Restrictions.tscLineInParaRestriction;
303
const int maxLines =
PTS
.Restrictions.tscLineInParaRestriction;
310
double maxIndent = Math.Min(1000000,
PTS
.MaxPageSize);
src\Framework\System\Windows\Documents\Table.cs (1)
395
double maxSpacing = Math.Min(1000000,
PTS
.MaxPageSize);
src\Framework\System\Windows\Documents\TableCell.cs (1)
578
const int maxSpan =
PTS
.Restrictions.tscTableColumnsRestriction;
src\Framework\System\Windows\Documents\TableColumn.cs (1)
210
double maxPixel = Math.Min(1000000,
PTS
.MaxPageSize);
src\Framework\System\Windows\Documents\TextElement.cs (1)
1657
double maxFontSize = Math.Min(1000000,
PTS
.MaxFontSize);
src\Framework\System\Windows\Documents\TextRangeEdit.cs (2)
2350
new DoublePropertyRange (Paragraph.TextIndentProperty, -Math.Min(1000000,
PTS
.MaxPageSize), Math.Min(1000000,
PTS
.MaxPageSize))
src\Framework\System\Windows\FigureLength.cs (2)
103
double maxColumns =
PTS
.Restrictions.tscColumnRestriction;
104
double maxPixel = Math.Min(1000000,
PTS
.MaxPageSize);