2658 references to PTS
PresentationFramework (2658)
MS\Internal\Documents\ColumnResult.cs (2)
41
internal ColumnResult(FlowDocumentPage page, ref
PTS
.FSTRACKDESCRIPTION trackDesc, Vector contentOffset)
60
internal ColumnResult(BaseParaClient subpage, ref
PTS
.FSTRACKDESCRIPTION trackDesc, Vector contentOffset)
MS\Internal\Documents\FlowDocumentFormatter.cs (2)
130
PTS
.FSRECT fsrectViewport = new
PTS
.FSRECT(viewport);
MS\Internal\PtsHost\BaseParaClient.cs (7)
62
internal void Arrange(IntPtr pfspara,
PTS
.FSRECT rcPara, int dvrTopSpace, uint fswdirParent)
79
_flowDirectionParent =
PTS
.FswdirToFlowDirection(fswdirParent);
112
internal virtual IInputElement InputHitTest(
PTS
.FSPOINT pt)
150
internal virtual void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited) { }
156
internal virtual void UpdateViewport(ref
PTS
.FSRECT viewport) { }
211
internal
PTS
.FSRECT Rect { get { return _rect; } }
259
protected
PTS
.FSRECT _rect;
MS\Internal\PtsHost\BaseParagraph.cs (13)
47
_changeType =
PTS
.FSKCHANGE.fskchNone;
73
out
PTS
.FSKCHANGE fskch,
77
fNoFurtherChanges =
PTS
.FromBoolean(_stopAsking);
123
ref
PTS
.FSPAP fspap);
155
internal virtual void SetUpdateInfo(
PTS
.FSKCHANGE fskch, bool stopAsking)
166
_changeType =
PTS
.FSKCHANGE.fskchNone;
218
protected void GetParaProperties(ref
PTS
.FSPAP fspap, bool ignoreElementProps)
222
fspap.fKeepWithNext =
PTS
.FromBoolean(DynamicPropertyReader.GetKeepWithNext(_element));
224
fspap.fBreakPageBefore = _element is Block ?
PTS
.FromBoolean(StructuralCache.CurrentFormatContext.FinitePage && ((Block)_element).BreakPageBefore) :
PTS
.FromBoolean(false);
226
fspap.fBreakColumnBefore = _element is Block ?
PTS
.FromBoolean(((Block)_element).BreakColumnBefore) :
PTS
.FromBoolean(false);
285
protected
PTS
.FSKCHANGE _changeType;
MS\Internal\PtsHost\CellParaClient.cs (45)
73
internal void Arrange(int du, int dv,
PTS
.FSRECT rcTable, FlowDirection tableFlowDirection, PageContext pageContext)
95
PTS
.FSRECT pageRect = pageContext.PageRect;
97
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(PageFlowDirection), ref pageRect, ref rcTable,
PTS
.FlowDirectionToFswdir(tableFlowDirection), out rcTable));
107
PTS
.FSRECT pageRect = pageContext.PageRect;
109
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(tableFlowDirection), ref pageRect, ref _rect,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out _rect));
120
PTS
.Validate(
PTS
.FsClearUpdateInfoInSubpage(PtsContext.Context, _paraHandle), PtsContext);
129
ValidateVisual(
PTS
.FSKUPDATE.fskupdNew);
145
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
146
out
PTS
.FSFMTR fsfmtr, out int dvrUsed, out IntPtr breakRecordOut)
149
PTS
.FSBBOX fsbbox;
151
PTS
.FSKCLEAR fskclearOut;
153
PTS
.FSPAP fspap;
161
fspap = new
PTS
.FSPAP();
164
PTS
.FSRECT rectCell;
166
rectCell = new
PTS
.FSRECT();
177
PTS
.FromBoolean(true),
179
PTS
.FromBoolean(isEmptyOk),
180
PTS
.FromBoolean(suppressTopSpace),
184
PTS
.FSKCLEAR.fskclearNone,
198
PTS
.ValidateHandle(mcs);
213
internal void FormatCellBottomless(uint fswdir, double width, out
PTS
.FSFMTRBL fmtrbl, out int dvrUsed)
216
PTS
.FSBBOX fsbbox;
218
PTS
.FSKCLEAR fskclearOut;
221
PTS
.FSPAP fspap;
229
fspap = new
PTS
.FSPAP();
232
CellParagraph.FormatParaBottomless(this,
PTS
.FromBoolean(false),
234
0, null,
PTS
.FSKCLEAR.fskclearNone,
235
PTS
.FromBoolean(true),
248
PTS
.ValidateHandle(mcs);
265
internal void UpdateBottomlessCell(uint fswdir, double width, out
PTS
.FSFMTRBL fmtrbl, out int dvrUsed)
268
PTS
.FSKCLEAR fskclearOut;
269
PTS
.FSBBOX fsbbox;
273
PTS
.FSPAP fspap;
275
fspap = new
PTS
.FSPAP();
279
PTS
.FromBoolean(false),
283
PTS
.FSKCLEAR.fskclearNone,
284
PTS
.FromBoolean(true),
295
PTS
.ValidateHandle(mcs);
MS\Internal\PtsHost\CellParagraph.cs (14)
59
out
PTS
.FSFMTR pfmtr, // OUT:
82
PTS
.ToBoolean(fEmptyOK),
84
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA.fsksuppresshardbreakbeforefirstparaNone,
92
if(pfmtr.kstop ==
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace)
101
if (
PTS
.ToBoolean(fEmptyOK))
106
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(cellParaClient.PtsContext.Context, pfsbrkcellOut), cellParaClient.PtsContext);
111
pfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
116
pfmtr.fForcedProgress =
PTS
.True;
132
out
PTS
.FSFMTRBL fmtrbl, // OUT:
163
out
PTS
.FSFMTRBL fmtrbl, // OUT:
204
out
PTS
.FSKCHANGE fskchCell) // OUT:
207
fWidthChanged =
PTS
.True;
208
fskchCell =
PTS
.FSKCHANGE.fskchNew;
MS\Internal\PtsHost\ContainerParaClient.cs (39)
47
PTS
.FSSUBTRACKDETAILS subtrackDetails;
48
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
64
uint fswdirSubtrack =
PTS
.FlowDirectionToFswdir(_flowDirection);
70
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
84
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
89
PTS
.FSSUBTRACKDETAILS subtrackDetails;
90
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
99
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
142
PTS
.FSSUBTRACKDETAILS subtrackDetails;
143
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
151
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
174
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
177
PTS
.FSSUBTRACKDETAILS subtrackDetails;
178
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
197
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
215
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
218
PTS
.FSSUBTRACKDETAILS subtrackDetails;
219
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
225
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
266
PTS
.FSSUBTRACKDETAILS subtrackDetails;
267
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
272
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
291
PTS
.ValidateHandle(paraClient);
325
PTS
.FSSUBTRACKDETAILS subtrackDetails;
326
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
337
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
344
PTS
.ValidateHandle(paraClient);
375
PTS
.FSSUBTRACKDETAILS subtrackDetails;
376
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
384
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
388
PTS
.ValidateHandle(paraClient);
MS\Internal\PtsHost\ContainerParagraph.cs (95)
104
_ur.SyncPara.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNone, _ur.Next == null);
144
_firstChild.SetUpdateInfo(
PTS
.FSKCHANGE.fskchInside, false);
161
_firstChild.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
172
fSuccessful =
PTS
.FromBoolean(_firstChild != null);
210
_ur.SyncPara.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNone, _ur.Next == null);
225
prevParagraph.Next.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNone, false);
230
Debug.Assert(_ur.ChangeType ==
PTS
.FSKCHANGE.fskchInside); // Inconsistent UpdateRecord data
232
prevParagraph.Next.SetUpdateInfo(
PTS
.FSKCHANGE.fskchInside, false);
252
if (_changeType ==
PTS
.FSKCHANGE.fskchInside)
254
nextParagraph.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
262
fFound =
PTS
.True;
268
fFound =
PTS
.False;
301
fFound =
PTS
.FromBoolean(_ur != null);
302
fChangeFirst =
PTS
.FromBoolean((_ur != null) && (_firstChild == null || _firstChild == _ur.FirstPara));
303
if (
PTS
.ToBoolean(fFound) && !
PTS
.ToBoolean(fChangeFirst))
319
if (_ur.ChangeType ==
PTS
.FSKCHANGE.fskchNew)
330
if (
PTS
.ToBoolean(fFound))
332
_ur.InProcessing =
PTS
.ToBoolean(fChangeFirst);
333
_changeType =
PTS
.FSKCHANGE.fskchInside;
358
out
PTS
.FSKCHANGE fskch) // OUT: kind of change
403
para.SetUpdateInfo(
PTS
.FSKCHANGE.fskchInside, false);
408
para.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
417
para.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
422
_changeType =
PTS
.FSKCHANGE.fskchInside;
432
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
467
ref
PTS
.FSRECT fsrcToFill, // IN: rectangle to fill
469
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
470
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
472
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting the paragraph
476
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
478
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
481
uint fswdirSubtrack =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
504
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
509
PTS
.FSRECT fsrcToFillSubtrack = fsrcToFill;
514
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
516
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubtrack, fswdirSubtrack, out fsrcToFillSubtrack));
517
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFill, fswdirSubtrack, out fsrcToFill));
530
if (
PTS
.ToBoolean(fSuppressTopSpace))
545
PTS
.Validate(
PTS
.FsFormatSubtrackFinite(PtsContext.Context, pbrkrecIn, fBRFromPreviousPage, this.Handle, iArea,
561
if (dvrSubTrackTopSpace >
PTS
.dvBottomUndefined / 2)
572
if (fsfmtr.kstop >=
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace) // No progress or collision
582
PTS
.ValidateHandle(mcsContainer);
586
if (fsfmtr.kstop ==
PTS
.FSFMTRKSTOP.fmtrGoalReached)
615
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
616
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubtrack, ref pageRect, ref fsbbox, fswdir, out fsbbox));
636
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
638
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
641
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
643
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
647
uint fswdirSubtrack =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
657
if (
PTS
.ToBoolean(fSuppressTopSpace))
664
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
668
PTS
.FSRECT fsrcToFillSubtrack = new
PTS
.FSRECT(urTrack, 0, durTrack, 0);
669
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
670
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubtrack, fswdirSubtrack, out fsrcToFillSubtrack));
688
PTS
.Validate(
PTS
.FsFormatSubtrackBottomless(PtsContext.Context, this.Handle, iArea,
704
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
712
PTS
.ValidateHandle(mcsContainer);
744
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
745
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubtrack, ref pageRect, ref fsbbox, fswdir, out fsbbox));
767
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
769
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
771
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
773
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
777
uint fswdirSubtrack =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
787
if (
PTS
.ToBoolean(fSuppressTopSpace))
794
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
798
PTS
.FSRECT fsrcToFillSubtrack = new
PTS
.FSRECT(urTrack, 0, durTrack, 0);
799
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
800
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubtrack, fswdirSubtrack, out fsrcToFillSubtrack));
818
PTS
.Validate(
PTS
.FsUpdateBottomlessSubtrack(PtsContext.Context, pfspara, this.Handle, iArea,
834
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
842
PTS
.ValidateHandle(mcsContainer);
874
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
875
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubtrack, ref pageRect, ref fsbbox, fswdir, out fsbbox));
1177
else if (ur.SyncPara == ur.Next.FirstPara && ur.Next.ChangeType ==
PTS
.FSKCHANGE.fskchNew)
1200
if (ur.ChangeType ==
PTS
.FSKCHANGE.fskchInside)
1230
if (_ur.FirstPara == _firstChild && _ur.ChangeType ==
PTS
.FSKCHANGE.fskchNew)
1286
ur.ChangeType =
PTS
.FSKCHANGE.fskchNew;
1290
ur.ChangeType =
PTS
.FSKCHANGE.fskchInside;
1294
ur.ChangeType =
PTS
.FSKCHANGE.fskchNew;
1302
|| (dcpPara + para.LastFormatCch == ur.Dtr.StartIndex + ur.Dtr.PositionsRemoved && ur.ChangeType !=
PTS
.FSKCHANGE.fskchNew))
MS\Internal\PtsHost\EmbeddedObject.cs (1)
107
Para.SetUpdateInfo(
PTS
.FSKCHANGE.fskchInside, false);
MS\Internal\PtsHost\FigureParaClient.cs (84)
43
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, SubpageHandle), PtsContext);
65
PTS
.FSSUBPAGEDETAILS subpageDetails;
66
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
92
if (
PTS
.ToBoolean(subpageDetails.fSimple))
94
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.simple.trackdescr.fsrc);
107
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.complex.fsrc);
114
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
135
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
138
PTS
.FSSUBPAGEDETAILS subpageDetails;
139
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
141
PTS
.FSRECT viewportSubpage = new
PTS
.FSRECT();
152
if (
PTS
.ToBoolean(subpageDetails.fSimple))
164
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
185
internal void ArrangeFigure(
PTS
.FSRECT rcFigure,
PTS
.FSRECT rcHostPara, uint fswdirParent, PageContext pageContext)
201
_flowDirectionParent =
PTS
.FswdirToFlowDirection(fswdirParent);
212
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
230
PTS
.FSSUBPAGEDETAILS subpageDetails;
231
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
237
pt = new
PTS
.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v);
243
if (
PTS
.ToBoolean(subpageDetails.fSimple))
254
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
294
PTS
.FSSUBPAGEDETAILS subpageDetails;
295
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
301
if (
PTS
.ToBoolean(subpageDetails.fSimple))
313
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
342
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
345
fskupdInherited =
PTS
.FSKUPDATE.fskupdNew;
348
PTS
.FSSUBPAGEDETAILS subpageDetails;
349
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
380
if (
PTS
.ToBoolean(subpageDetails.fSimple))
383
PTS
.FSKUPDATE fskupd = subpageDetails.u.simple.trackdescr.fsupdinf.fskupd;
384
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
389
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
414
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
420
PTS
.FSKUPDATE fskupd = fskupdInherited;
421
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
422
Debug.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdNoChange);
444
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
469
pageContentVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
470
floatingElementsVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
472
PTS
.FSRECT clipRect = new
PTS
.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
494
PTS
.FSSUBPAGEDETAILS subpageDetails;
495
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
501
if (
PTS
.ToBoolean(subpageDetails.fSimple))
515
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
555
PTS
.FSSUBPAGEDETAILS subpageDetails;
556
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
565
if (
PTS
.ToBoolean(subpageDetails.fSimple))
569
PTS
.FSTRACKDETAILS trackDetails;
570
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
578
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
585
PTS
.ValidateHandle(paraClient);
604
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
609
PTS
.FSTRACKDETAILS trackDetails;
610
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
618
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
625
PTS
.ValidateHandle(paraClient);
654
PTS
.FSSUBPAGEDETAILS subpageDetails;
655
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
661
if (
PTS
.ToBoolean(subpageDetails.fSimple))
664
PTS
.FSTRACKDETAILS trackDetails;
665
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
684
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
689
PTS
.FSTRACKDETAILS trackDetails;
690
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
768
internal
PTS
.FSRECT ContentRect { get { return _contentRect; } }
789
private
PTS
.FSRECT _contentRect;
790
private
PTS
.FSRECT _paddingRect;
MS\Internal\PtsHost\FigureParagraph.cs (76)
77
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
80
fspap.idobj =
PTS
.fsidobjFigure;
115
out
PTS
.FSFIGUREPROPS fsfigprops, // OUT: figure attributes
125
uint fswdirPara =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
128
PTS
.FSBBOX fsbbox;
131
PTS
.FSCOLUMNINFO[] columnInfoCollection;
168
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
174
PTS
.FSFMTR fsfmtr;
176
PTS
.FSRECT marginRect = new
PTS
.FSRECT(0, 0, subpageWidth, subpageHeight);
178
CreateSubpageFiniteHelper(PtsContext, IntPtr.Zero,
PTS
.False, _mainTextSegment.Handle, IntPtr.Zero,
PTS
.False,
PTS
.True,
180
cColumns, columnInfoCollection,
PTS
.False,
186
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(PtsContext.Context, brParaOut));
195
if(
PTS
.ToBoolean(fsbbox.fDefined))
203
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFigureContent), PtsContext);
208
PTS
.ValidateHandle(mcs);
217
PTS
.FSFMTR fsfmtr;
219
PTS
.FSRECT marginRect = new
PTS
.FSRECT(0, 0, subpageWidth, subpageHeight);
221
CreateSubpageFiniteHelper(PtsContext, IntPtr.Zero,
PTS
.False, _mainTextSegment.Handle, IntPtr.Zero,
PTS
.False,
PTS
.True,
223
cColumns, columnInfoCollection,
PTS
.False,
229
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(PtsContext.Context, brParaOut));
248
PTS
.ValidateHandle(mcs);
264
fsfigprops.fskrefU = (
PTS
.FSKREF)(((int)horzAnchor) / 3);
265
fsfigprops.fskrefV = (
PTS
.FSKREF)(((int)vertAnchor) / 3);
266
fsfigprops.fskalfU = (
PTS
.FSKALIGNFIG)(((int)horzAnchor) % 3);
267
fsfigprops.fskalfV = (
PTS
.FSKALIGNFIG)(((int)vertAnchor) % 3);
270
if (!
PTS
.ToBoolean(fInTextLine))
272
if (fsfigprops.fskrefU ==
PTS
.FSKREF.fskrefChar)
274
fsfigprops.fskrefU =
PTS
.FSKREF.fskrefMargin;
275
fsfigprops.fskalfU =
PTS
.FSKALIGNFIG.fskalfMin;
277
if (fsfigprops.fskrefV ==
PTS
.FSKREF.fskrefChar)
279
fsfigprops.fskrefV =
PTS
.FSKREF.fskrefMargin;
280
fsfigprops.fskalfV =
PTS
.FSKALIGNFIG.fskalfMin;
285
fsfigprops.fskwrap =
PTS
.WrapDirectionToFskwrap(element.WrapDirection);
286
fsfigprops.fNonTextPlane =
PTS
.False;
287
fsfigprops.fAllowOverlap =
PTS
.False;
288
fsfigprops.fDelayable =
PTS
.FromBoolean(element.CanDelayPlacement);
307
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
321
ref
PTS
.FSRECT fsrcPage, // IN: page rectangle
322
ref
PTS
.FSRECT fsrcMargin, // IN: rectangle within page margins
323
ref
PTS
.FSRECT fsrcTrack, // IN: track rectangle
324
ref
PTS
.FSRECT fsrcFigurePreliminary,// IN: prelim figure rect calculated from figure props
328
out
PTS
.FSRECT fsrcFlow, // OUT: FlowAround rectangle
329
out
PTS
.FSRECT fsrcOverlap, // OUT: Overlap rectangle
330
out
PTS
.FSBBOX fsbbox, // OUT: bbox
331
out
PTS
.FSRECT fsrcSearch) // OUT: search area for overlap
346
!
PTS
.ToBoolean(fMustPosition)) // Can delay placement is handled by figure properties.
348
fPushToNextTrack =
PTS
.True;
352
fPushToNextTrack =
PTS
.False;
404
fsbbox = new
PTS
.FSBBOX();
405
fsbbox.fDefined =
PTS
.True;
494
ref
PTS
.FSRECT rcMargin, // IN: rectangle within subpage margins
496
PTS
.FSCOLUMNINFO[] columnInfoCollection, // IN: array of column info
498
out
PTS
.FSFMTR fsfmtr, // OUT: why formatting was stopped
502
out
PTS
.FSBBOX fsBBox, // OUT: subpage bbox
512
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
514
PTS
.Validate(
PTS
.FsCreateSubpageFinite(ptsContext.Context, brParaIn, fFromPreviousPage, nSeg,
516
ref rcMargin, cColumns, rgColumnInfo,
PTS
.False,
517
0, null, null, 0, null, null,
PTS
.False,
518
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA.fsksuppresshardbreakbeforefirstparaNone,
528
private int CalculateParagraphToColumnOffset(FigureHorizontalAnchor horizontalAnchor,
PTS
.FSRECT fsrcInColumn)
650
private
PTS
.FSRECT CalculateSearchArea(FigureHorizontalAnchor horizAnchor, FigureVerticalAnchor vertAnchor, ref
PTS
.FSRECT fsrcPage, ref
PTS
.FSRECT fsrcMargin, ref
PTS
.FSRECT fsrcTrack, ref
PTS
.FSRECT fsrcFigurePreliminary)
652
PTS
.FSRECT fsrcSearch;
MS\Internal\PtsHost\FloaterBaseParaClient.cs (2)
51
internal virtual void ArrangeFloater(
PTS
.FSRECT rcFloater,
PTS
.FSRECT rcHostPara, uint fswdirParent, PageContext pageContext)
MS\Internal\PtsHost\FloaterBaseParagraph.cs (13)
65
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
68
fskch =
PTS
.FSKCHANGE.fskchNew;
69
fNoFurtherChanges =
PTS
.FromBoolean(_stopAsking);
76
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
103
out
PTS
.FSFLOATERPROPS fsfloaterprops); // OUT: properties of the floater
116
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
138
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
140
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting
145
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
159
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
163
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
178
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
181
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
MS\Internal\PtsHost\FloaterParaClient.cs (84)
68
PTS
.FSSUBPAGEDETAILS subpageDetails;
69
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
77
if (
PTS
.ToBoolean(subpageDetails.fSimple))
79
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.simple.trackdescr.fsrc);
92
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.complex.fsrc);
99
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
120
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
123
PTS
.FSSUBPAGEDETAILS subpageDetails;
124
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
126
PTS
.FSRECT viewportSubpage = new
PTS
.FSRECT();
137
if (
PTS
.ToBoolean(subpageDetails.fSimple))
149
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
171
internal override void ArrangeFloater(
PTS
.FSRECT rcFloater,
PTS
.FSRECT rcHostPara, uint fswdirParent, PageContext pageContext)
190
_flowDirectionParent =
PTS
.FswdirToFlowDirection(fswdirParent);
217
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
235
PTS
.FSSUBPAGEDETAILS subpageDetails;
236
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
242
pt = new
PTS
.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v);
248
if (
PTS
.ToBoolean(subpageDetails.fSimple))
259
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
299
PTS
.FSSUBPAGEDETAILS subpageDetails;
300
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
306
if (
PTS
.ToBoolean(subpageDetails.fSimple))
318
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
349
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
352
fskupdInherited =
PTS
.FSKUPDATE.fskupdNew;
355
PTS
.FSSUBPAGEDETAILS subpageDetails;
356
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
387
if (
PTS
.ToBoolean(subpageDetails.fSimple))
390
PTS
.FSKUPDATE fskupd = subpageDetails.u.simple.trackdescr.fsupdinf.fskupd;
391
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
396
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
421
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
427
PTS
.FSKUPDATE fskupd = fskupdInherited;
428
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
429
Debug.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdNoChange);
451
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
476
pageContentVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
477
floatingElementsVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
479
PTS
.FSRECT clipRect = new
PTS
.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
501
PTS
.FSSUBPAGEDETAILS subpageDetails;
502
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
508
if (
PTS
.ToBoolean(subpageDetails.fSimple))
522
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
563
PTS
.FSSUBPAGEDETAILS subpageDetails;
564
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
573
if (
PTS
.ToBoolean(subpageDetails.fSimple))
577
PTS
.FSTRACKDETAILS trackDetails;
578
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
587
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
594
PTS
.ValidateHandle(paraClient);
613
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
618
PTS
.FSTRACKDETAILS trackDetails;
619
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
627
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
634
PTS
.ValidateHandle(paraClient);
663
PTS
.FSSUBPAGEDETAILS subpageDetails;
664
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
670
if (
PTS
.ToBoolean(subpageDetails.fSimple))
673
PTS
.FSTRACKDETAILS trackDetails;
674
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
693
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
698
PTS
.FSTRACKDETAILS trackDetails;
699
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
777
internal
PTS
.FSRECT ContentRect { get { return _contentRect; } }
802
private bool IsFloaterHorizontallyCentered(
PTS
.FSRECT rcFloater,
PTS
.FSRECT rcHostPara)
824
private
PTS
.FSRECT _contentRect;
825
private
PTS
.FSRECT _paddingRect;
MS\Internal\PtsHost\FloaterParagraph.cs (90)
48
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
53
fskch =
PTS
.FSKCHANGE.fskchNew;
121
out
PTS
.FSFLOATERPROPS fsfloaterprops) // OUT: properties of the floater
123
fsfloaterprops = new
PTS
.FSFLOATERPROPS();
124
fsfloaterprops.fFloat =
PTS
.True; // Floater
125
fsfloaterprops.fskclear =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
131
fsfloaterprops.fskfloatalignment =
PTS
.FSKFLOATALIGNMENT.fskfloatalignMax;
134
fsfloaterprops.fskfloatalignment =
PTS
.FSKFLOATALIGNMENT.fskfloatalignCenter;
138
fsfloaterprops.fskfloatalignment =
PTS
.FSKFLOATALIGNMENT.fskfloatalignMin;
143
fsfloaterprops.fskwr =
PTS
.WrapDirectionToFskwrap(WrapDirection);
146
fsfloaterprops.fDelayNoProgress =
PTS
.True;
163
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
165
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting
170
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
174
uint fswdirPara =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
179
PTS
.FSRECT fsrcSubpageMargin;
180
PTS
.FSCOLUMNINFO[] columnInfoCollection;
189
if (IsFloaterRejected(
PTS
.ToBoolean(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable)))
193
fsfmtr = new
PTS
.FSFMTR();
194
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
195
fsfmtr.fContainsItemThatStoppedBeforeFootnote =
PTS
.False;
196
fsfmtr.fForcedProgress =
PTS
.False;
197
fsbbox = new
PTS
.FSBBOX();
198
fsbbox.fDefined =
PTS
.False;
210
if (dvrAvailable >
PTS
.dvBottomUndefined / 2)
212
dvrAvailable = Math.Min(dvrAvailable,
PTS
.dvBottomUndefined / 2);
213
fEmptyOk =
PTS
.False;
232
fsrcSubpageMargin = new
PTS
.FSRECT();
238
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
244
footnoteRejector, fEmptyOk,
PTS
.True, fswdir, subpageWidth, subpageHeight,
245
ref fsrcSubpageMargin, cColumns, columnInfoCollection,
PTS
.False, fsksuppresshardbreakbeforefirstparaIn,
250
if (fsfmtr.kstop >=
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace) // No progress or collision
265
if (
PTS
.ToBoolean(fsbbox.fDefined))
273
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFloatContent), PtsContext);
278
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(PtsContext.Context, pbrkrecOut), PtsContext);
284
PTS
.ValidateHandle(mcs);
294
footnoteRejector, fEmptyOk,
PTS
.True, fswdir, subpageWidth, subpageHeight,
295
ref fsrcSubpageMargin, cColumns, columnInfoCollection,
PTS
.False, fsksuppresshardbreakbeforefirstparaIn,
309
PTS
.ValidateHandle(mcs);
329
fsbbox.fDefined =
PTS
.True;
336
if(
PTS
.ToBoolean(fEmptyOk))
341
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFloatContent), PtsContext);
346
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(PtsContext.Context, pbrkrecOut), PtsContext);
350
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
354
fsfmtr.fForcedProgress =
PTS
.True;
374
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
378
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
382
uint fswdirPara =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
389
PTS
.FSCOLUMNINFO[] columnInfoCollection;
396
if (IsFloaterRejected(
PTS
.ToBoolean(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable)))
402
fsfmtrbl =
PTS
.FSFMTRBL.fmtrblInterrupted;
403
fsbbox = new
PTS
.FSBBOX();
404
fsbbox.fDefined =
PTS
.False;
421
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
427
CreateSubpageBottomlessHelper(PtsContext, _mainTextSegment.Handle,
PTS
.True,
433
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
441
if (
PTS
.ToBoolean(fsbbox.fDefined))
449
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFloatContent), PtsContext);
454
PTS
.ValidateHandle(mcs);
461
CreateSubpageBottomlessHelper(PtsContext, _mainTextSegment.Handle,
PTS
.True,
477
PTS
.ValidateHandle(mcs);
491
(durFloaterWidth > durAvailable && !
PTS
.ToBoolean(fAtMaxWidth))
497
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFloatContent), PtsContext);
541
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
544
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
548
fsfmtrbl = default(
PTS
.FSFMTRBL);
549
durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
695
ref
PTS
.FSRECT rcMargin, // IN: rectangle within subpage margins
697
PTS
.FSCOLUMNINFO[] columnInfoCollection, // IN: array of column info
699
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
701
out
PTS
.FSFMTR fsfmtr, // OUT: why formatting was stopped
705
out
PTS
.FSBBOX fsBBox, // OUT: subpage bbox
715
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
717
PTS
.Validate(
PTS
.FsCreateSubpageFinite(ptsContext.Context, brParaIn, fFromPreviousPage, nSeg,
719
ref rcMargin, cColumns, rgColumnInfo,
PTS
.False,
720
0, null, null, 0, null, null,
PTS
.False,
743
PTS
.FSCOLUMNINFO[] columnInfoCollection, // IN: array of column info
744
out
PTS
.FSFMTRBL pfsfmtr, // OUT: why formatting was stopped
747
out
PTS
.FSBBOX pfsBBox, // OUT: subpage bbox
758
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
760
PTS
.Validate(
PTS
.FsCreateSubpageBottomless(ptsContext.Context, nSeg, fSuppressTopSpace,
762
cColumns, rgColumnInfo, 0, null, null, 0, null, null,
PTS
.False,
MS\Internal\PtsHost\FlowDocumentPage.cs (30)
430
PTS
.FSPAGEDETAILS pageDetails;
431
PTS
.Validate(
PTS
.FsQueryPageDetails(StructuralCache.PtsContext.Context, _ptsPage.PageHandle, out pageDetails));
437
if (
PTS
.ToBoolean(pageDetails.fSimple))
440
PTS
.FSTRACKDETAILS trackDetails;
441
PTS
.Validate(
PTS
.FsQueryTrackDetails(StructuralCache.PtsContext.Context, pageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
460
PTS
.FSSECTIONDESCRIPTION[] arraySectionDesc;
464
PTS
.FSSECTIONDETAILS sectionDetails;
465
PTS
.Validate(
PTS
.FsQuerySectionDetails(StructuralCache.PtsContext.Context, arraySectionDesc[0].pfssection, out sectionDetails));
470
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
483
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
489
PTS
.FSTRACKDESCRIPTION columnDesc = arrayColumnDesc[i];
494
PTS
.FSTRACKDETAILS trackDetails;
495
PTS
.Validate(
PTS
.FsQueryTrackDetails(StructuralCache.PtsContext.Context, columnDesc.pfstrack, out trackDetails));
534
PTS
.FSTRACKDETAILS trackDetails;
535
PTS
.Validate(
PTS
.FsQueryTrackDetails(StructuralCache.PtsContext.Context, pfstrack, out trackDetails));
541
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
549
PTS
.ValidateHandle(paraClient);
569
PTS
.FSTRACKDETAILS trackDetails;
570
PTS
.Validate(
PTS
.FsQueryTrackDetails(StructuralCache.PtsContext.Context, pfstrack, out trackDetails));
578
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
585
PTS
.ValidateHandle(paraClient);
617
internal void UpdateViewport(ref
PTS
.FSRECT viewport, bool drawBackground)
642
PTS
.FSRECT contentViewportTextDpi = new
PTS
.FSRECT(contentViewport);
MS\Internal\PtsHost\Line.cs (4)
171
run = new ParagraphBreakRun(_syntheticCharacterLength,
PTS
.FSFLRES.fsflrEndOfParagraph);
929
internal
PTS
.FSFLRES FormattingResult
933
PTS
.FSFLRES formatResult =
PTS
.FSFLRES.fsflrOutOfSpace;
MS\Internal\PtsHost\LineBase.cs (2)
163
run = new LineBreakRun(cch,
PTS
.FSFLRES.fsflrSoftBreak);
257
run = new ParagraphBreakRun(_syntheticCharacterLength,
PTS
.FSFLRES.fsflrEndOfParagraph);
MS\Internal\PtsHost\ListMarkerLine.cs (1)
52
return new ParagraphBreakRun(1,
PTS
.FSFLRES.fsflrEndOfParagraph);
MS\Internal\PtsHost\ListParaClient.cs (7)
43
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
46
PTS
.FSSUBTRACKDETAILS subtrackDetails;
47
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
56
uint fswdir =
PTS
.FlowDirectionToFswdir((FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty));
68
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
84
PTS
.ValidateHandle(listItemParaClient);
MS\Internal\PtsHost\OptimalTextSource.cs (4)
118
run = new ParagraphBreakRun(_syntheticCharacterLength,
PTS
.FSFLRES.fsflrEndOfParagraph);
192
internal
PTS
.FSFLRES GetFormatResultForBreakpoint(int dcp, TextBreakpoint textBreakpoint)
195
PTS
.FSFLRES formatResult =
PTS
.FSFLRES.fsflrOutOfSpace;
MS\Internal\PtsHost\Pts.cs (5)
185
return (
PTS
.FSKWRAP)((int)wrapDirection);
224
case
PTS
.fswdirWS:
243
fswdir =
PTS
.fswdirWS;
246
fswdir =
PTS
.fswdirES;
3306
PTS
.FSFTNINFO* rgFootnoteInfo, // IN/OUT: array of footnote info
MS\Internal\PtsHost\PtsCache.cs (195)
258
PTS
.Validate(
PTS
.GetFloaterHandlerInfo(ref _contextPool[index].FloaterInit, pobjectinfo));
277
PTS
.Validate(
PTS
.GetTableObjHandlerInfo(ref _contextPool[index].TableobjInit, pobjectinfo));
329
PTS
.IgnoreError(
PTS
.DestroyDocContext(_contextPool[index].PtsHost.Context));
331
PTS
.IgnoreError(
PTS
.DestroyInstalledObjectsInfo(_contextPool[index].InstalledObjects));
404
PTS
.Validate(
PTS
.DestroyDocContext(_contextPool[index].PtsHost.Context));
406
PTS
.Validate(
PTS
.DestroyInstalledObjectsInfo(_contextPool[index].InstalledObjects));
467
PTS
.Validate(
PTS
.CreateDocContext(ref _contextPool[index].ContextInfo, out context));
480
private unsafe void InitGenericInfo(PtsHost ptsHost, IntPtr clientData, IntPtr installedObjects, int installedObjectsCount, ref
PTS
.FSCONTEXTINFO contextInfo)
483
Invariant.Assert(((int)
PTS
.FSKREF.fskrefPage) == 0);
484
Invariant.Assert(((int)
PTS
.FSKREF.fskrefMargin) == 1);
485
Invariant.Assert(((int)
PTS
.FSKREF.fskrefParagraph) == 2);
486
Invariant.Assert(((int)
PTS
.FSKREF.fskrefChar) == 3);
487
Invariant.Assert(((int)
PTS
.FSKALIGNFIG.fskalfMin) == 0);
488
Invariant.Assert(((int)
PTS
.FSKALIGNFIG.fskalfCenter) == 1);
489
Invariant.Assert(((int)
PTS
.FSKALIGNFIG.fskalfMax) == 2);
490
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrNone) == ((int)WrapDirection.None));
491
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrLeft) == ((int)WrapDirection.Left));
492
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrRight) == ((int)WrapDirection.Right));
493
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrBoth) == ((int)WrapDirection.Both));
494
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrLargest) == 4);
495
Invariant.Assert(((int)
PTS
.FSKCLEAR.fskclearNone) == 0);
496
Invariant.Assert(((int)
PTS
.FSKCLEAR.fskclearLeft) == 1);
497
Invariant.Assert(((int)
PTS
.FSKCLEAR.fskclearRight) == 2);
498
Invariant.Assert(((int)
PTS
.FSKCLEAR.fskclearBoth) == 3);
502
contextInfo.fsffi =
PTS
.fsffiUseTextQuickLoop
511
|
PTS
.fsffiAvalonDisableOptimalInChains;
516
contextInfo.pfnAssertFailed = new
PTS
.AssertFailed(ptsHost.AssertFailed);
518
contextInfo.fscbk.cbkfig.pfnGetFigureProperties = new
PTS
.GetFigureProperties(ptsHost.GetFigureProperties);
519
contextInfo.fscbk.cbkfig.pfnGetFigurePolygons = new
PTS
.GetFigurePolygons(ptsHost.GetFigurePolygons);
520
contextInfo.fscbk.cbkfig.pfnCalcFigurePosition = new
PTS
.CalcFigurePosition(ptsHost.CalcFigurePosition);
522
contextInfo.fscbk.cbkgen.pfnFSkipPage = new
PTS
.FSkipPage(ptsHost.FSkipPage);
523
contextInfo.fscbk.cbkgen.pfnGetPageDimensions = new
PTS
.GetPageDimensions(ptsHost.GetPageDimensions);
524
contextInfo.fscbk.cbkgen.pfnGetNextSection = new
PTS
.GetNextSection(ptsHost.GetNextSection);
525
contextInfo.fscbk.cbkgen.pfnGetSectionProperties = new
PTS
.GetSectionProperties(ptsHost.GetSectionProperties);
526
contextInfo.fscbk.cbkgen.pfnGetJustificationProperties = new
PTS
.GetJustificationProperties(ptsHost.GetJustificationProperties);
527
contextInfo.fscbk.cbkgen.pfnGetMainTextSegment = new
PTS
.GetMainTextSegment(ptsHost.GetMainTextSegment);
528
contextInfo.fscbk.cbkgen.pfnGetHeaderSegment = new
PTS
.GetHeaderSegment(ptsHost.GetHeaderSegment);
529
contextInfo.fscbk.cbkgen.pfnGetFooterSegment = new
PTS
.GetFooterSegment(ptsHost.GetFooterSegment);
530
contextInfo.fscbk.cbkgen.pfnUpdGetSegmentChange = new
PTS
.UpdGetSegmentChange(ptsHost.UpdGetSegmentChange);
531
contextInfo.fscbk.cbkgen.pfnGetSectionColumnInfo = new
PTS
.GetSectionColumnInfo(ptsHost.GetSectionColumnInfo);
532
contextInfo.fscbk.cbkgen.pfnGetSegmentDefinedColumnSpanAreaInfo = new
PTS
.GetSegmentDefinedColumnSpanAreaInfo(ptsHost.GetSegmentDefinedColumnSpanAreaInfo);
533
contextInfo.fscbk.cbkgen.pfnGetHeightDefinedColumnSpanAreaInfo = new
PTS
.GetHeightDefinedColumnSpanAreaInfo(ptsHost.GetHeightDefinedColumnSpanAreaInfo);
534
contextInfo.fscbk.cbkgen.pfnGetFirstPara = new
PTS
.GetFirstPara(ptsHost.GetFirstPara);
535
contextInfo.fscbk.cbkgen.pfnGetNextPara = new
PTS
.GetNextPara(ptsHost.GetNextPara);
536
contextInfo.fscbk.cbkgen.pfnUpdGetFirstChangeInSegment = new
PTS
.UpdGetFirstChangeInSegment(ptsHost.UpdGetFirstChangeInSegment);
537
contextInfo.fscbk.cbkgen.pfnUpdGetParaChange = new
PTS
.UpdGetParaChange(ptsHost.UpdGetParaChange);
538
contextInfo.fscbk.cbkgen.pfnGetParaProperties = new
PTS
.GetParaProperties(ptsHost.GetParaProperties);
539
contextInfo.fscbk.cbkgen.pfnCreateParaclient = new
PTS
.CreateParaclient(ptsHost.CreateParaclient);
540
contextInfo.fscbk.cbkgen.pfnTransferDisplayInfo = new
PTS
.TransferDisplayInfo(ptsHost.TransferDisplayInfo);
541
contextInfo.fscbk.cbkgen.pfnDestroyParaclient = new
PTS
.DestroyParaclient(ptsHost.DestroyParaclient);
542
contextInfo.fscbk.cbkgen.pfnFInterruptFormattingAfterPara = new
PTS
.FInterruptFormattingAfterPara(ptsHost.FInterruptFormattingAfterPara);
543
contextInfo.fscbk.cbkgen.pfnGetEndnoteSeparators = new
PTS
.GetEndnoteSeparators(ptsHost.GetEndnoteSeparators);
544
contextInfo.fscbk.cbkgen.pfnGetEndnoteSegment = new
PTS
.GetEndnoteSegment(ptsHost.GetEndnoteSegment);
545
contextInfo.fscbk.cbkgen.pfnGetNumberEndnoteColumns = new
PTS
.GetNumberEndnoteColumns(ptsHost.GetNumberEndnoteColumns);
546
contextInfo.fscbk.cbkgen.pfnGetEndnoteColumnInfo = new
PTS
.GetEndnoteColumnInfo(ptsHost.GetEndnoteColumnInfo);
547
contextInfo.fscbk.cbkgen.pfnGetFootnoteSeparators = new
PTS
.GetFootnoteSeparators(ptsHost.GetFootnoteSeparators);
548
contextInfo.fscbk.cbkgen.pfnFFootnoteBeneathText = new
PTS
.FFootnoteBeneathText(ptsHost.FFootnoteBeneathText);
549
contextInfo.fscbk.cbkgen.pfnGetNumberFootnoteColumns = new
PTS
.GetNumberFootnoteColumns(ptsHost.GetNumberFootnoteColumns);
550
contextInfo.fscbk.cbkgen.pfnGetFootnoteColumnInfo = new
PTS
.GetFootnoteColumnInfo(ptsHost.GetFootnoteColumnInfo);
551
contextInfo.fscbk.cbkgen.pfnGetFootnoteSegment = new
PTS
.GetFootnoteSegment(ptsHost.GetFootnoteSegment);
552
contextInfo.fscbk.cbkgen.pfnGetFootnotePresentationAndRejectionOrder = new
PTS
.GetFootnotePresentationAndRejectionOrder(ptsHost.GetFootnotePresentationAndRejectionOrder);
553
contextInfo.fscbk.cbkgen.pfnFAllowFootnoteSeparation = new
PTS
.FAllowFootnoteSeparation(ptsHost.FAllowFootnoteSeparation);
558
contextInfo.fscbk.cbkobj.pfnDuplicateMcsclient = new
PTS
.DuplicateMcsclient(ptsHost.DuplicateMcsclient);
559
contextInfo.fscbk.cbkobj.pfnDestroyMcsclient = new
PTS
.DestroyMcsclient(ptsHost.DestroyMcsclient);
560
contextInfo.fscbk.cbkobj.pfnFEqualMcsclient = new
PTS
.FEqualMcsclient(ptsHost.FEqualMcsclient);
561
contextInfo.fscbk.cbkobj.pfnConvertMcsclient = new
PTS
.ConvertMcsclient(ptsHost.ConvertMcsclient);
562
contextInfo.fscbk.cbkobj.pfnGetObjectHandlerInfo = new
PTS
.GetObjectHandlerInfo(ptsHost.GetObjectHandlerInfo);
564
contextInfo.fscbk.cbktxt.pfnCreateParaBreakingSession = new
PTS
.CreateParaBreakingSession(ptsHost.CreateParaBreakingSession);
565
contextInfo.fscbk.cbktxt.pfnDestroyParaBreakingSession = new
PTS
.DestroyParaBreakingSession(ptsHost.DestroyParaBreakingSession);
566
contextInfo.fscbk.cbktxt.pfnGetTextProperties = new
PTS
.GetTextProperties(ptsHost.GetTextProperties);
567
contextInfo.fscbk.cbktxt.pfnGetNumberFootnotes = new
PTS
.GetNumberFootnotes(ptsHost.GetNumberFootnotes);
568
contextInfo.fscbk.cbktxt.pfnGetFootnotes = new
PTS
.GetFootnotes(ptsHost.GetFootnotes);
569
contextInfo.fscbk.cbktxt.pfnFormatDropCap = new
PTS
.FormatDropCap(ptsHost.FormatDropCap);
570
contextInfo.fscbk.cbktxt.pfnGetDropCapPolygons = new
PTS
.GetDropCapPolygons(ptsHost.GetDropCapPolygons);
571
contextInfo.fscbk.cbktxt.pfnDestroyDropCap = new
PTS
.DestroyDropCap(ptsHost.DestroyDropCap);
572
contextInfo.fscbk.cbktxt.pfnFormatBottomText = new
PTS
.FormatBottomText(ptsHost.FormatBottomText);
573
contextInfo.fscbk.cbktxt.pfnFormatLine = new
PTS
.FormatLine(ptsHost.FormatLine);
574
contextInfo.fscbk.cbktxt.pfnFormatLineForced = new
PTS
.FormatLineForced(ptsHost.FormatLineForced);
575
contextInfo.fscbk.cbktxt.pfnFormatLineVariants = new
PTS
.FormatLineVariants(ptsHost.FormatLineVariants);
576
contextInfo.fscbk.cbktxt.pfnReconstructLineVariant = new
PTS
.ReconstructLineVariant(ptsHost.ReconstructLineVariant);
577
contextInfo.fscbk.cbktxt.pfnDestroyLine = new
PTS
.DestroyLine(ptsHost.DestroyLine);
578
contextInfo.fscbk.cbktxt.pfnDuplicateLineBreakRecord = new
PTS
.DuplicateLineBreakRecord(ptsHost.DuplicateLineBreakRecord);
579
contextInfo.fscbk.cbktxt.pfnDestroyLineBreakRecord = new
PTS
.DestroyLineBreakRecord(ptsHost.DestroyLineBreakRecord);
580
contextInfo.fscbk.cbktxt.pfnSnapGridVertical = new
PTS
.SnapGridVertical(ptsHost.SnapGridVertical);
581
contextInfo.fscbk.cbktxt.pfnGetDvrSuppressibleBottomSpace = new
PTS
.GetDvrSuppressibleBottomSpace(ptsHost.GetDvrSuppressibleBottomSpace);
582
contextInfo.fscbk.cbktxt.pfnGetDvrAdvance = new
PTS
.GetDvrAdvance(ptsHost.GetDvrAdvance);
583
contextInfo.fscbk.cbktxt.pfnUpdGetChangeInText = new
PTS
.UpdGetChangeInText(ptsHost.UpdGetChangeInText);
584
contextInfo.fscbk.cbktxt.pfnUpdGetDropCapChange = new
PTS
.UpdGetDropCapChange(ptsHost.UpdGetDropCapChange);
585
contextInfo.fscbk.cbktxt.pfnFInterruptFormattingText = new
PTS
.FInterruptFormattingText(ptsHost.FInterruptFormattingText);
586
contextInfo.fscbk.cbktxt.pfnGetTextParaCache = new
PTS
.GetTextParaCache(ptsHost.GetTextParaCache);
587
contextInfo.fscbk.cbktxt.pfnSetTextParaCache = new
PTS
.SetTextParaCache(ptsHost.SetTextParaCache);
588
contextInfo.fscbk.cbktxt.pfnGetOptimalLineDcpCache = new
PTS
.GetOptimalLineDcpCache(ptsHost.GetOptimalLineDcpCache);
589
contextInfo.fscbk.cbktxt.pfnGetNumberAttachedObjectsBeforeTextLine = new
PTS
.GetNumberAttachedObjectsBeforeTextLine(ptsHost.GetNumberAttachedObjectsBeforeTextLine);
590
contextInfo.fscbk.cbktxt.pfnGetAttachedObjectsBeforeTextLine = new
PTS
.GetAttachedObjectsBeforeTextLine(ptsHost.GetAttachedObjectsBeforeTextLine);
591
contextInfo.fscbk.cbktxt.pfnGetNumberAttachedObjectsInTextLine = new
PTS
.GetNumberAttachedObjectsInTextLine(ptsHost.GetNumberAttachedObjectsInTextLine);
592
contextInfo.fscbk.cbktxt.pfnGetAttachedObjectsInTextLine = new
PTS
.GetAttachedObjectsInTextLine(ptsHost.GetAttachedObjectsInTextLine);
593
contextInfo.fscbk.cbktxt.pfnUpdGetAttachedObjectChange = new
PTS
.UpdGetAttachedObjectChange(ptsHost.UpdGetAttachedObjectChange);
594
contextInfo.fscbk.cbktxt.pfnGetDurFigureAnchor = new
PTS
.GetDurFigureAnchor(ptsHost.GetDurFigureAnchor);
605
private unsafe void InitInstalledObjectsInfo(PtsHost ptsHost, ref
PTS
.FSIMETHODS subtrackParaInfo, ref
PTS
.FSIMETHODS subpageParaInfo, out IntPtr installedObjects, out int installedObjectsCount)
608
subtrackParaInfo.pfnCreateContext = new
PTS
.ObjCreateContext(ptsHost.SubtrackCreateContext);
609
subtrackParaInfo.pfnDestroyContext = new
PTS
.ObjDestroyContext(ptsHost.SubtrackDestroyContext);
610
subtrackParaInfo.pfnFormatParaFinite = new
PTS
.ObjFormatParaFinite(ptsHost.SubtrackFormatParaFinite);
611
subtrackParaInfo.pfnFormatParaBottomless = new
PTS
.ObjFormatParaBottomless(ptsHost.SubtrackFormatParaBottomless);
612
subtrackParaInfo.pfnUpdateBottomlessPara = new
PTS
.ObjUpdateBottomlessPara(ptsHost.SubtrackUpdateBottomlessPara);
613
subtrackParaInfo.pfnSynchronizeBottomlessPara = new
PTS
.ObjSynchronizeBottomlessPara(ptsHost.SubtrackSynchronizeBottomlessPara);
614
subtrackParaInfo.pfnComparePara = new
PTS
.ObjComparePara(ptsHost.SubtrackComparePara);
615
subtrackParaInfo.pfnClearUpdateInfoInPara = new
PTS
.ObjClearUpdateInfoInPara(ptsHost.SubtrackClearUpdateInfoInPara);
616
subtrackParaInfo.pfnDestroyPara = new
PTS
.ObjDestroyPara(ptsHost.SubtrackDestroyPara);
617
subtrackParaInfo.pfnDuplicateBreakRecord = new
PTS
.ObjDuplicateBreakRecord(ptsHost.SubtrackDuplicateBreakRecord);
618
subtrackParaInfo.pfnDestroyBreakRecord = new
PTS
.ObjDestroyBreakRecord(ptsHost.SubtrackDestroyBreakRecord);
619
subtrackParaInfo.pfnGetColumnBalancingInfo = new
PTS
.ObjGetColumnBalancingInfo(ptsHost.SubtrackGetColumnBalancingInfo);
620
subtrackParaInfo.pfnGetNumberFootnotes = new
PTS
.ObjGetNumberFootnotes(ptsHost.SubtrackGetNumberFootnotes);
621
subtrackParaInfo.pfnGetFootnoteInfo = new
PTS
.ObjGetFootnoteInfo(ptsHost.SubtrackGetFootnoteInfo);
623
subtrackParaInfo.pfnShiftVertical = new
PTS
.ObjShiftVertical(ptsHost.SubtrackShiftVertical);
624
subtrackParaInfo.pfnTransferDisplayInfoPara = new
PTS
.ObjTransferDisplayInfoPara(ptsHost.SubtrackTransferDisplayInfoPara);
627
subpageParaInfo.pfnCreateContext = new
PTS
.ObjCreateContext(ptsHost.SubpageCreateContext);
628
subpageParaInfo.pfnDestroyContext = new
PTS
.ObjDestroyContext(ptsHost.SubpageDestroyContext);
629
subpageParaInfo.pfnFormatParaFinite = new
PTS
.ObjFormatParaFinite(ptsHost.SubpageFormatParaFinite);
630
subpageParaInfo.pfnFormatParaBottomless = new
PTS
.ObjFormatParaBottomless(ptsHost.SubpageFormatParaBottomless);
631
subpageParaInfo.pfnUpdateBottomlessPara = new
PTS
.ObjUpdateBottomlessPara(ptsHost.SubpageUpdateBottomlessPara);
632
subpageParaInfo.pfnSynchronizeBottomlessPara = new
PTS
.ObjSynchronizeBottomlessPara(ptsHost.SubpageSynchronizeBottomlessPara);
633
subpageParaInfo.pfnComparePara = new
PTS
.ObjComparePara(ptsHost.SubpageComparePara);
634
subpageParaInfo.pfnClearUpdateInfoInPara = new
PTS
.ObjClearUpdateInfoInPara(ptsHost.SubpageClearUpdateInfoInPara);
635
subpageParaInfo.pfnDestroyPara = new
PTS
.ObjDestroyPara(ptsHost.SubpageDestroyPara);
636
subpageParaInfo.pfnDuplicateBreakRecord = new
PTS
.ObjDuplicateBreakRecord(ptsHost.SubpageDuplicateBreakRecord);
637
subpageParaInfo.pfnDestroyBreakRecord = new
PTS
.ObjDestroyBreakRecord(ptsHost.SubpageDestroyBreakRecord);
638
subpageParaInfo.pfnGetColumnBalancingInfo = new
PTS
.ObjGetColumnBalancingInfo(ptsHost.SubpageGetColumnBalancingInfo);
639
subpageParaInfo.pfnGetNumberFootnotes = new
PTS
.ObjGetNumberFootnotes(ptsHost.SubpageGetNumberFootnotes);
640
subpageParaInfo.pfnGetFootnoteInfo = new
PTS
.ObjGetFootnoteInfo(ptsHost.SubpageGetFootnoteInfo);
641
subpageParaInfo.pfnShiftVertical = new
PTS
.ObjShiftVertical(ptsHost.SubpageShiftVertical);
642
subpageParaInfo.pfnTransferDisplayInfoPara = new
PTS
.ObjTransferDisplayInfoPara(ptsHost.SubpageTransferDisplayInfoPara);
645
PTS
.Validate(
PTS
.CreateInstalledObjectsInfo(ref subtrackParaInfo, ref subpageParaInfo, out installedObjects, out installedObjectsCount));
653
private unsafe void InitFloaterObjInfo(PtsHost ptsHost, ref
PTS
.FSFLOATERINIT floaterInit)
655
floaterInit.fsfloatercbk.pfnGetFloaterProperties = new
PTS
.GetFloaterProperties(ptsHost.GetFloaterProperties);
656
floaterInit.fsfloatercbk.pfnFormatFloaterContentFinite = new
PTS
.FormatFloaterContentFinite(ptsHost.FormatFloaterContentFinite);
657
floaterInit.fsfloatercbk.pfnFormatFloaterContentBottomless = new
PTS
.FormatFloaterContentBottomless(ptsHost.FormatFloaterContentBottomless);
658
floaterInit.fsfloatercbk.pfnUpdateBottomlessFloaterContent = new
PTS
.UpdateBottomlessFloaterContent(ptsHost.UpdateBottomlessFloaterContent);
659
floaterInit.fsfloatercbk.pfnGetFloaterPolygons = new
PTS
.GetFloaterPolygons(ptsHost.GetFloaterPolygons);
660
floaterInit.fsfloatercbk.pfnClearUpdateInfoInFloaterContent = new
PTS
.ClearUpdateInfoInFloaterContent(ptsHost.ClearUpdateInfoInFloaterContent);
661
floaterInit.fsfloatercbk.pfnCompareFloaterContents = new
PTS
.CompareFloaterContents(ptsHost.CompareFloaterContents);
662
floaterInit.fsfloatercbk.pfnDestroyFloaterContent = new
PTS
.DestroyFloaterContent(ptsHost.DestroyFloaterContent);
663
floaterInit.fsfloatercbk.pfnDuplicateFloaterContentBreakRecord = new
PTS
.DuplicateFloaterContentBreakRecord(ptsHost.DuplicateFloaterContentBreakRecord);
664
floaterInit.fsfloatercbk.pfnDestroyFloaterContentBreakRecord = new
PTS
.DestroyFloaterContentBreakRecord(ptsHost.DestroyFloaterContentBreakRecord);
665
floaterInit.fsfloatercbk.pfnGetFloaterContentColumnBalancingInfo = new
PTS
.GetFloaterContentColumnBalancingInfo(ptsHost.GetFloaterContentColumnBalancingInfo);
666
floaterInit.fsfloatercbk.pfnGetFloaterContentNumberFootnotes = new
PTS
.GetFloaterContentNumberFootnotes(ptsHost.GetFloaterContentNumberFootnotes);
667
floaterInit.fsfloatercbk.pfnGetFloaterContentFootnoteInfo = new
PTS
.GetFloaterContentFootnoteInfo(ptsHost.GetFloaterContentFootnoteInfo);
668
floaterInit.fsfloatercbk.pfnTransferDisplayInfoInFloaterContent = new
PTS
.TransferDisplayInfoInFloaterContent(ptsHost.TransferDisplayInfoInFloaterContent);
669
floaterInit.fsfloatercbk.pfnGetMCSClientAfterFloater = new
PTS
.GetMCSClientAfterFloater(ptsHost.GetMCSClientAfterFloater);
670
floaterInit.fsfloatercbk.pfnGetDvrUsedForFloater = new
PTS
.GetDvrUsedForFloater(ptsHost.GetDvrUsedForFloater);
678
private unsafe void InitTableObjInfo(PtsHost ptsHost, ref
PTS
.FSTABLEOBJINIT tableobjInit)
681
tableobjInit.tableobjcbk.pfnGetTableProperties = new
PTS
.GetTableProperties(ptsHost.GetTableProperties);
682
tableobjInit.tableobjcbk.pfnAutofitTable = new
PTS
.AutofitTable(ptsHost.AutofitTable);
683
tableobjInit.tableobjcbk.pfnUpdAutofitTable = new
PTS
.UpdAutofitTable(ptsHost.UpdAutofitTable);
684
tableobjInit.tableobjcbk.pfnGetMCSClientAfterTable = new
PTS
.GetMCSClientAfterTable(ptsHost.GetMCSClientAfterTable);
688
tableobjInit.tablecbkfetch.pfnGetFirstHeaderRow = new
PTS
.GetFirstHeaderRow(ptsHost.GetFirstHeaderRow);
689
tableobjInit.tablecbkfetch.pfnGetNextHeaderRow = new
PTS
.GetNextHeaderRow(ptsHost.GetNextHeaderRow);
690
tableobjInit.tablecbkfetch.pfnGetFirstFooterRow = new
PTS
.GetFirstFooterRow(ptsHost.GetFirstFooterRow);
691
tableobjInit.tablecbkfetch.pfnGetNextFooterRow = new
PTS
.GetNextFooterRow(ptsHost.GetNextFooterRow);
692
tableobjInit.tablecbkfetch.pfnGetFirstRow = new
PTS
.GetFirstRow(ptsHost.GetFirstRow);
693
tableobjInit.tablecbkfetch.pfnGetNextRow = new
PTS
.GetNextRow(ptsHost.GetNextRow);
694
tableobjInit.tablecbkfetch.pfnUpdFChangeInHeaderFooter = new
PTS
.UpdFChangeInHeaderFooter(ptsHost.UpdFChangeInHeaderFooter);
695
tableobjInit.tablecbkfetch.pfnUpdGetFirstChangeInTable = new
PTS
.UpdGetFirstChangeInTable(ptsHost.UpdGetFirstChangeInTable);
696
tableobjInit.tablecbkfetch.pfnUpdGetRowChange = new
PTS
.UpdGetRowChange(ptsHost.UpdGetRowChange);
697
tableobjInit.tablecbkfetch.pfnUpdGetCellChange = new
PTS
.UpdGetCellChange(ptsHost.UpdGetCellChange);
698
tableobjInit.tablecbkfetch.pfnGetDistributionKind = new
PTS
.GetDistributionKind(ptsHost.GetDistributionKind);
699
tableobjInit.tablecbkfetch.pfnGetRowProperties = new
PTS
.GetRowProperties(ptsHost.GetRowProperties);
700
tableobjInit.tablecbkfetch.pfnGetCells = new
PTS
.GetCells(ptsHost.GetCells);
701
tableobjInit.tablecbkfetch.pfnFInterruptFormattingTable = new
PTS
.FInterruptFormattingTable(ptsHost.FInterruptFormattingTable);
702
tableobjInit.tablecbkfetch.pfnCalcHorizontalBBoxOfRow = new
PTS
.CalcHorizontalBBoxOfRow(ptsHost.CalcHorizontalBBoxOfRow);
705
tableobjInit.tablecbkcell.pfnFormatCellFinite = new
PTS
.FormatCellFinite(ptsHost.FormatCellFinite);
706
tableobjInit.tablecbkcell.pfnFormatCellBottomless = new
PTS
.FormatCellBottomless(ptsHost.FormatCellBottomless);
707
tableobjInit.tablecbkcell.pfnUpdateBottomlessCell = new
PTS
.UpdateBottomlessCell(ptsHost.UpdateBottomlessCell);
708
tableobjInit.tablecbkcell.pfnCompareCells = new
PTS
.CompareCells(ptsHost.CompareCells);
709
tableobjInit.tablecbkcell.pfnClearUpdateInfoInCell = new
PTS
.ClearUpdateInfoInCell(ptsHost.ClearUpdateInfoInCell);
710
tableobjInit.tablecbkcell.pfnSetCellHeight = new
PTS
.SetCellHeight(ptsHost.SetCellHeight);
711
tableobjInit.tablecbkcell.pfnDestroyCell = new
PTS
.DestroyCell(ptsHost.DestroyCell);
712
tableobjInit.tablecbkcell.pfnDuplicateCellBreakRecord = new
PTS
.DuplicateCellBreakRecord(ptsHost.DuplicateCellBreakRecord);
713
tableobjInit.tablecbkcell.pfnDestroyCellBreakRecord = new
PTS
.DestroyCellBreakRecord(ptsHost.DestroyCellBreakRecord);
714
tableobjInit.tablecbkcell.pfnGetCellNumberFootnotes = new
PTS
.GetCellNumberFootnotes(ptsHost.GetCellNumberFootnotes);
717
tableobjInit.tablecbkcell.pfnGetCellMinColumnBalancingStep = new
PTS
.GetCellMinColumnBalancingStep(ptsHost.GetCellMinColumnBalancingStep);
718
tableobjInit.tablecbkcell.pfnTransferDisplayInfoCell = new
PTS
.TransferDisplayInfoCell(ptsHost.TransferDisplayInfoCell);
793
internal
PTS
.FSCONTEXTINFO ContextInfo;
794
internal
PTS
.FSIMETHODS SubtrackParaInfo;
795
internal
PTS
.FSIMETHODS SubpageParaInfo;
796
internal
PTS
.FSFLOATERINIT FloaterInit;
797
internal
PTS
.FSTABLEOBJINIT TableobjInit;
MS\Internal\PtsHost\PtsContext.cs (8)
86
PTS
.Validate(
PTS
.FsDestroyPageBreakRecord(_ptsHost.Context, (IntPtr)_pageBreakRecords[index]));
104
PTS
.Validate(
PTS
.FsDestroyPage(_ptsHost.Context, (IntPtr)_pages[index]));
491
PTS
.Validate(
PTS
.FsDestroyPage(_ptsHost.Context, ptsPage));
525
PTS
.Validate(
PTS
.FsDestroyPageBreakRecord(_ptsHost.Context, br));
MS\Internal\PtsHost\PtsHelper.cs (117)
120
ref
PTS
.FSTRACKDESCRIPTION trackDesc,
127
PTS
.FSTRACKDETAILS trackDetails;
128
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
134
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
148
PTS
.FSRECT rcTrackContent,
149
PTS
.FSPARADESCRIPTION [] arrayParaDesc,
160
PTS
.ValidateHandle(paraClient);
165
uint fswdirPage =
PTS
.FlowDirectionToFswdir(paraClient.PageFlowDirection);
169
PTS
.FSRECT pageRect = paraClient.Paragraph.StructuralCache.CurrentArrangeContext.PageContext.PageRect;
170
PTS
.Validate(
PTS
.FsTransformRectangle(fswdirTrack, ref pageRect, ref rcTrackContent, fswdirPage, out rcTrackContent));
176
PTS
.FSRECT rcPara = rcTrackContent;
201
PTS
.FSKUPDATE fskupdInherited,
202
ref
PTS
.FSTRACKDESCRIPTION trackDesc)
204
PTS
.FSKUPDATE fskupd = trackDesc.fsupdinf.fskupd;
205
if (trackDesc.fsupdinf.fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
211
if (fskupd ==
PTS
.FSKUPDATE.fskupdNoChange) { return; }
212
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
218
PTS
.FSTRACKDETAILS trackDetails;
219
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
225
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
247
PTS
.FSKUPDATE fskupdInherited,
248
PTS
.FSPARADESCRIPTION [] arrayParaDesc)
257
PTS
.ValidateHandle(paraClient);
260
PTS
.FSKUPDATE fskupd = arrayParaDesc[index].fsupdinf.fskupd;
261
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
265
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
290
if(fskupd ==
PTS
.FSKUPDATE.fskupdChangeInside || fskupd ==
PTS
.FSKUPDATE.fskupdShifted)
313
ref
PTS
.FSTRACKDESCRIPTION trackDesc,
314
ref
PTS
.FSRECT viewport)
320
PTS
.FSTRACKDETAILS trackDetails;
321
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
327
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
341
PTS
.FSPARADESCRIPTION [] arrayParaDesc,
342
ref
PTS
.FSRECT viewport)
348
PTS
.ValidateHandle(paraClient);
370
PTS
.FSPOINT pt,
371
ref
PTS
.FSTRACKDESCRIPTION trackDesc)
379
PTS
.FSTRACKDETAILS trackDetails;
380
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
387
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
403
PTS
.FSPOINT pt,
404
ref
PTS
.FSRECT rcTrack, // track's rectangle
405
PTS
.FSPARADESCRIPTION [] arrayParaDesc)
412
PTS
.ValidateHandle(paraClient);
445
ref
PTS
.FSTRACKDESCRIPTION trackDesc)
456
PTS
.FSTRACKDETAILS trackDetails;
457
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
464
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
484
PTS
.FSPARADESCRIPTION[] arrayParaDesc)
491
PTS
.ValidateHandle(paraClient);
546
ref
PTS
.FSPAGEDETAILS pageDetails,
547
out
PTS
.FSSECTIONDESCRIPTION [] arraySectionDesc)
549
arraySectionDesc = new
PTS
.FSSECTIONDESCRIPTION [pageDetails.u.complex.cSections];
551
fixed (
PTS
.FSSECTIONDESCRIPTION* rgSectionDesc = arraySectionDesc)
553
PTS
.Validate(
PTS
.FsQueryPageSectionList(ptsContext.Context, page, pageDetails.u.complex.cSections,
565
ref
PTS
.FSSUBPAGEDETAILS subpageDetails,
566
out
PTS
.FSTRACKDESCRIPTION [] arrayTrackDesc)
568
arrayTrackDesc = new
PTS
.FSTRACKDESCRIPTION [subpageDetails.u.complex.cBasicColumns];
570
fixed (
PTS
.FSTRACKDESCRIPTION* rgTrackDesc = arrayTrackDesc)
572
PTS
.Validate(
PTS
.FsQuerySubpageBasicColumnList(ptsContext.Context, subpage, subpageDetails.u.complex.cBasicColumns,
584
ref
PTS
.FSSECTIONDETAILS sectionDetails,
585
out
PTS
.FSTRACKDESCRIPTION [] arrayTrackDesc)
591
arrayTrackDesc = new
PTS
.FSTRACKDESCRIPTION[sectionDetails.u.withpagenotes.cBasicColumns];
594
fixed (
PTS
.FSTRACKDESCRIPTION* rgTrackDesc = arrayTrackDesc)
596
PTS
.Validate(
PTS
.FsQuerySectionBasicColumnList(ptsContext.Context, section, sectionDetails.u.withpagenotes.cBasicColumns,
608
ref
PTS
.FSTRACKDETAILS trackDetails,
609
out
PTS
.FSPARADESCRIPTION [] arrayParaDesc)
611
arrayParaDesc = new
PTS
.FSPARADESCRIPTION [trackDetails.cParas];
613
fixed (
PTS
.FSPARADESCRIPTION* rgParaDesc = arrayParaDesc)
615
PTS
.Validate(
PTS
.FsQueryTrackParaList(ptsContext.Context, track, trackDetails.cParas,
627
ref
PTS
.FSSUBTRACKDETAILS subtrackDetails,
628
out
PTS
.FSPARADESCRIPTION [] arrayParaDesc)
630
arrayParaDesc = new
PTS
.FSPARADESCRIPTION [subtrackDetails.cParas];
632
fixed (
PTS
.FSPARADESCRIPTION* rgParaDesc = arrayParaDesc)
634
PTS
.Validate(
PTS
.FsQuerySubtrackParaList(ptsContext.Context, subtrack, subtrackDetails.cParas,
646
ref
PTS
.FSTEXTDETAILSFULL textDetails,
647
out
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc)
649
arrayLineDesc = new
PTS
.FSLINEDESCRIPTIONSINGLE [textDetails.cLines];
651
fixed (
PTS
.FSLINEDESCRIPTIONSINGLE* rgLineDesc = arrayLineDesc)
653
PTS
.Validate(
PTS
.FsQueryLineListSingle(ptsContext.Context, para, textDetails.cLines,
665
ref
PTS
.FSTEXTDETAILSFULL textDetails,
666
out
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc)
668
arrayLineDesc = new
PTS
.FSLINEDESCRIPTIONCOMPOSITE [textDetails.cLines];
670
fixed (
PTS
.FSLINEDESCRIPTIONCOMPOSITE* rgLineDesc = arrayLineDesc)
672
PTS
.Validate(
PTS
.FsQueryLineListComposite(ptsContext.Context, para, textDetails.cLines,
683
ref
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc,
684
out
PTS
.FSLINEELEMENT [] arrayLineElement)
686
arrayLineElement = new
PTS
.FSLINEELEMENT [lineDesc.cElements];
688
fixed (
PTS
.FSLINEELEMENT* rgLineElement = arrayLineElement)
690
PTS
.Validate(
PTS
.FsQueryLineCompositeElementList(ptsContext.Context, lineDesc.pline, lineDesc.cElements,
703
out
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc)
705
arrayAttachedObjectDesc = new
PTS
.FSATTACHEDOBJECTDESCRIPTION [cAttachedObject];
707
fixed (
PTS
.FSATTACHEDOBJECTDESCRIPTION* rgAttachedObjectDesc = arrayAttachedObjectDesc)
709
PTS
.Validate(
PTS
.FsQueryAttachedObjectList(ptsContext.Context, para, cAttachedObject, rgAttachedObjectDesc, out attachedObjectCount));
732
PTS
.FSTRACKDETAILS trackDetails;
733
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, pfstrack, out trackDetails));
739
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
747
PTS
.ValidateHandle(paraClient);
833
return Math.Max(1, Math.Min(
PTS
.Restrictions.tscColumnRestriction-1, columns)); // at least 1 column is required
895
PTS
.FSCOLUMNINFO* pfscolinfo,
MS\Internal\PtsHost\PtsHost.cs (691)
145
out
PTS
.FSFIGUREPROPS fsfigprops, // OUT: figure attributes
153
int fserr =
PTS
.fserrNone;
157
PTS
.ValidateHandle(para);
159
PTS
.ValidateHandle(paraClient);
166
dur = dvr = cPolygons = cVertices = 0; fsfigprops = new
PTS
.FSFIGUREPROPS();
169
fserr =
PTS
.fserrCallbackException;
173
dur = dvr = cPolygons = cVertices = 0; fsfigprops = new
PTS
.FSFIGUREPROPS();
176
fserr =
PTS
.fserrCallbackException;
190
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
194
int fserr =
PTS
.fserrNone;
198
PTS
.ValidateHandle(para);
200
PTS
.ValidateHandle(paraClient);
208
fserr =
PTS
.fserrCallbackException;
214
fserr =
PTS
.fserrCallbackException;
224
ref
PTS
.FSRECT fsrcPage, // IN: page rectangle
225
ref
PTS
.FSRECT fsrcMargin, // IN: rectangle within page margins
226
ref
PTS
.FSRECT fsrcTrack, // IN: track rectangle
227
ref
PTS
.FSRECT fsrcFigurePreliminary,// IN: prelim figure rect calculated from figure props
231
out
PTS
.FSRECT fsrcFlow, // OUT: FlowAround rectangle
232
out
PTS
.FSRECT fsrcOverlap, // OUT: Overlap rectangle
233
out
PTS
.FSBBOX fsbbox, // OUT: bbox
234
out
PTS
.FSRECT fsrcSearch) // OUT: search area for overlap
236
int fserr =
PTS
.fserrNone;
240
PTS
.ValidateHandle(para);
242
PTS
.ValidateHandle(paraClient);
249
fPushToNextTrack = 0; fsrcFlow = fsrcOverlap = fsrcSearch = new
PTS
.FSRECT(); fsbbox = new
PTS
.FSBBOX();
251
fserr =
PTS
.fserrCallbackException;
255
fPushToNextTrack = 0; fsrcFlow = fsrcOverlap = fsrcSearch = new
PTS
.FSRECT(); fsbbox = new
PTS
.FSBBOX();
257
fserr =
PTS
.fserrCallbackException;
270
int fserr =
PTS
.fserrNone;
274
PTS
.ValidateHandle(section);
281
fserr =
PTS
.fserrCallbackException;
287
fserr =
PTS
.fserrCallbackException;
298
ref
PTS
.FSRECT fsrcMargin) // OUT: rectangle within page margins
300
int fserr =
PTS
.fserrNone;
304
PTS
.ValidateHandle(section);
312
fserr =
PTS
.fserrCallbackException;
318
fserr =
PTS
.fserrCallbackException;
328
int fserr =
PTS
.fserrNone;
332
PTS
.ValidateHandle(section);
339
fserr =
PTS
.fserrCallbackException;
345
fserr =
PTS
.fserrCallbackException;
359
int fserr =
PTS
.fserrNone;
363
PTS
.ValidateHandle(section);
372
fserr =
PTS
.fserrCallbackException;
379
fserr =
PTS
.fserrCallbackException;
390
out
PTS
.FSKALIGNPAGE fskal, // OUT: kind of vertical alignment for the page
394
int fserr =
PTS
.fserrNone;
398
PTS
.ValidateHandle(section);
405
fskal = default(
PTS
.FSKALIGNPAGE);
407
fserr =
PTS
.fserrCallbackException;
412
fskal = default(
PTS
.FSKALIGNPAGE);
414
fserr =
PTS
.fserrCallbackException;
423
int fserr =
PTS
.fserrNone;
427
PTS
.ValidateHandle(section);
434
fserr =
PTS
.fserrCallbackException;
440
fserr =
PTS
.fserrCallbackException;
457
int fserr =
PTS
.fserrNone;
461
PTS
.ValidateHandle(section);
469
fserr =
PTS
.fserrCallbackException;
475
fserr =
PTS
.fserrCallbackException;
492
int fserr =
PTS
.fserrNone;
496
PTS
.ValidateHandle(section);
504
fserr =
PTS
.fserrCallbackException;
510
fserr =
PTS
.fserrCallbackException;
517
out
PTS
.FSKCHANGE fskch) // OUT: kind of change
519
int fserr =
PTS
.fserrNone;
523
PTS
.ValidateHandle(segment);
528
fskch = default(
PTS
.FSKCHANGE);
530
fserr =
PTS
.fserrCallbackException;
534
fskch = default(
PTS
.FSKCHANGE);
536
fserr =
PTS
.fserrCallbackException;
546
PTS
.FSCOLUMNINFO* fscolinfo, // OUT: array of the colinfo structures
549
int fserr =
PTS
.fserrNone;
553
PTS
.ValidateHandle(section);
560
fserr =
PTS
.fserrCallbackException;
566
fserr =
PTS
.fserrCallbackException;
581
return
PTS
.fserrNotImplemented;
593
return
PTS
.fserrNotImplemented;
602
int fserr =
PTS
.fserrNone;
606
PTS
.ValidateHandle((object)segment);
613
fserr =
PTS
.fserrCallbackException;
619
fserr =
PTS
.fserrCallbackException;
630
int fserr =
PTS
.fserrNone;
634
PTS
.ValidateHandle((object)segment);
636
PTS
.ValidateHandle(currentParagraph);
643
fserr =
PTS
.fserrCallbackException;
649
fserr =
PTS
.fserrCallbackException;
660
int fserr =
PTS
.fserrNone;
664
PTS
.ValidateHandle(segment);
671
fserr =
PTS
.fserrCallbackException;
677
fserr =
PTS
.fserrCallbackException;
684
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
687
int fserr =
PTS
.fserrNone;
691
PTS
.ValidateHandle(para);
696
fskch = default(
PTS
.FSKCHANGE);
699
fserr =
PTS
.fserrCallbackException;
703
fskch = default(
PTS
.FSKCHANGE);
706
fserr =
PTS
.fserrCallbackException;
713
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
715
int fserr =
PTS
.fserrNone;
719
PTS
.ValidateHandle(para);
725
fserr =
PTS
.fserrCallbackException;
730
fserr =
PTS
.fserrCallbackException;
739
int fserr =
PTS
.fserrNone;
743
PTS
.ValidateHandle(para);
750
fserr =
PTS
.fserrCallbackException;
756
fserr =
PTS
.fserrCallbackException;
765
int fserr =
PTS
.fserrNone;
769
PTS
.ValidateHandle(paraClientOld);
771
PTS
.ValidateHandle(paraClientNew);
777
fserr =
PTS
.fserrCallbackException;
782
fserr =
PTS
.fserrCallbackException;
790
int fserr =
PTS
.fserrNone;
794
PTS
.ValidateHandle(paraClient);
800
fserr =
PTS
.fserrCallbackException;
805
fserr =
PTS
.fserrCallbackException;
816
fInterruptFormatting =
PTS
.False;
817
return
PTS
.fserrNone;
826
int fserr =
PTS
.fserrNone;
830
PTS
.ValidateHandle(section);
837
fserr =
PTS
.fserrCallbackException;
843
fserr =
PTS
.fserrCallbackException;
853
int fserr =
PTS
.fserrNone;
857
PTS
.ValidateHandle(section);
864
fserr =
PTS
.fserrCallbackException;
870
fserr =
PTS
.fserrCallbackException;
881
return
PTS
.fserrNotImplemented;
888
PTS
.FSCOLUMNINFO* fscolinfoEndnote, // OUT: array of the colinfo structures
893
return
PTS
.fserrNotImplemented;
904
return
PTS
.fserrNotImplemented;
913
return
PTS
.fserrNotImplemented;
922
return
PTS
.fserrNotImplemented;
929
PTS
.FSCOLUMNINFO* fscolinfoFootnote,// OUT: array of the colinfo structures
934
return
PTS
.fserrNotImplemented;
943
return
PTS
.fserrNotImplemented;
957
return
PTS
.fserrNotImplemented;
966
return
PTS
.fserrNotImplemented;
976
int fserr =
PTS
.fserrNone;
980
PTS
.ValidateHandle(mcs);
987
fserr =
PTS
.fserrCallbackException;
993
fserr =
PTS
.fserrCallbackException;
1001
int fserr =
PTS
.fserrNone;
1005
PTS
.ValidateHandle(mcs);
1011
fserr =
PTS
.fserrCallbackException;
1016
fserr =
PTS
.fserrCallbackException;
1026
int fserr =
PTS
.fserrNone;
1029
fEqual =
PTS
.FromBoolean(pmcsclient1 == pmcsclient2);
1036
PTS
.ValidateHandle(mcs1);
1038
PTS
.ValidateHandle(mcs2);
1039
fEqual =
PTS
.FromBoolean(mcs1.IsEqual(mcs2));
1045
fserr =
PTS
.fserrCallbackException;
1051
fserr =
PTS
.fserrCallbackException;
1065
int fserr =
PTS
.fserrNone;
1069
PTS
.ValidateHandle(para);
1071
PTS
.ValidateHandle(paraClient);
1076
PTS
.ValidateHandle(mcs);
1078
para.CollapseMargin(paraClient, mcs, fswdir,
PTS
.ToBoolean(fSuppressTopSpace), out dvr);
1084
fserr =
PTS
.fserrCallbackException;
1090
fserr =
PTS
.fserrCallbackException;
1099
int fserr =
PTS
.fserrNone;
1118
fserr =
PTS
.fserrCallbackException;
1123
fserr =
PTS
.fserrCallbackException;
1144
int fserr =
PTS
.fserrNone;
1148
PTS
.ValidateHandle(para);
1151
PTS
.ValidateHandle(paraClient);
1157
PTS
.ValidateHandle(lineBreakRecord);
1165
fParagraphJustified =
PTS
.FromBoolean(isParagraphJustified);
1171
fParagraphJustified =
PTS
.False;
1174
fserr =
PTS
.fserrCallbackException;
1179
fParagraphJustified =
PTS
.False;
1182
fserr =
PTS
.fserrCallbackException;
1190
int fserr =
PTS
.fserrNone;
1193
PTS
.ValidateHandle(optimalBreakSession);
1203
ref
PTS
.FSTXTPROPS fstxtprops) // OUT: text paragraph properties
1205
int fserr =
PTS
.fserrNone;
1209
PTS
.ValidateHandle(para);
1215
fserr =
PTS
.fserrCallbackException;
1220
fserr =
PTS
.fserrCallbackException;
1231
int fserr =
PTS
.fserrNone;
1235
PTS
.ValidateHandle(para);
1242
fserr =
PTS
.fserrCallbackException;
1248
fserr =
PTS
.fserrCallbackException;
1264
return
PTS
.fserrNotImplemented;
1284
return
PTS
.fserrNotImplemented;
1295
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
1301
return
PTS
.fserrNotImplemented;
1308
return
PTS
.fserrNotImplemented;
1319
int fserr =
PTS
.fserrNone;
1323
PTS
.ValidateHandle(para);
1327
PTS
.ValidateHandle(line);
1341
fserr =
PTS
.fserrCallbackException;
1347
fserr =
PTS
.fserrCallbackException;
1374
out
PTS
.FSFLRES fsflres, // OUT: result of formatting
1382
int fserr =
PTS
.fserrNone;
1386
PTS
.ValidateHandle(para);
1388
PTS
.ValidateHandle(paraClient);
1390
PTS
.ToBoolean(fAllowHyphenation),
PTS
.ToBoolean(fClearOnLeft),
PTS
.ToBoolean(fClearOnRight),
PTS
.ToBoolean(fTreatAsFirstInPara),
PTS
.ToBoolean(fTreatAsLastInPara),
1391
PTS
.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres,
1398
fsflres = default(
PTS
.FSFLRES);
1400
fserr =
PTS
.fserrCallbackException;
1405
fsflres = default(
PTS
.FSFLRES);
1407
fserr =
PTS
.fserrCallbackException;
1433
out
PTS
.FSFLRES fsflres, // OUT: result of formatting
1440
int fserr =
PTS
.fserrNone;
1445
PTS
.ValidateHandle(para);
1447
PTS
.ValidateHandle(paraClient);
1449
true/*fAllowHyphenation*/,
PTS
.ToBoolean(fClearOnLeft),
PTS
.ToBoolean(fClearOnRight),
PTS
.ToBoolean(fTreatAsFirstInPara),
PTS
.ToBoolean(fTreatAsLastInPara),
1450
PTS
.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBrokenIgnore, out fsflres,
1457
fsflres = default(
PTS
.FSFLRES);
1459
fserr =
PTS
.fserrCallbackException;
1464
fsflres = default(
PTS
.FSFLRES);
1466
fserr =
PTS
.fserrCallbackException;
1486
PTS
.FSLINEVARIANT* rgfslinevariant, // OUT: pre-allocatedarray for line variants
1490
int fserr =
PTS
.fserrNone;
1495
PTS
.ValidateHandle(optimalBreakSession);
1502
PTS
.ValidateHandle(lineBreakRecord);
1517
PTS
.ToBoolean(fAllowHyphenation),
1518
PTS
.ToBoolean(fClearOnLeft),
1519
PTS
.ToBoolean(fClearOnRight),
1520
PTS
.ToBoolean(fTreatAsFirstInPara),
1521
PTS
.ToBoolean(fTreatAsLastInPara),
1522
PTS
.ToBoolean(fSuppressTopSpace),
1568
rgfslinevariant[breakIndex].fForceBroken =
PTS
.FromBoolean(textBreakpoint.IsTruncated);
1572
rgfslinevariant[breakIndex].fReformatNeighborsAsLastLine =
PTS
.False;
1583
fserr =
PTS
.fserrCallbackException;
1590
fserr =
PTS
.fserrCallbackException;
1617
out
PTS
.FSFLRES fsflres, // OUT: result of formatting
1625
int fserr =
PTS
.fserrNone;
1629
PTS
.ValidateHandle(para);
1631
PTS
.ValidateHandle(paraClient);
1633
PTS
.ToBoolean(fAllowHyphenation),
PTS
.ToBoolean(fClearOnLeft),
PTS
.ToBoolean(fClearOnRight),
PTS
.ToBoolean(fTreatAsFirstInPara),
PTS
.ToBoolean(fTreatAsLastInPara),
1634
PTS
.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres,
1641
fsflres = default(
PTS
.FSFLRES);
1643
fserr =
PTS
.fserrCallbackException;
1648
fsflres = default(
PTS
.FSFLRES);
1650
fserr =
PTS
.fserrCallbackException;
1661
return
PTS
.fserrNone;
1668
int fserr =
PTS
.fserrNone;
1672
PTS
.ValidateHandle(lineBreakRecord);
1679
fserr =
PTS
.fserrCallbackException;
1685
fserr =
PTS
.fserrCallbackException;
1693
int fserr =
PTS
.fserrNone;
1697
PTS
.ValidateHandle(lineBreakRecord);
1703
fserr =
PTS
.fserrCallbackException;
1708
fserr =
PTS
.fserrCallbackException;
1721
return
PTS
.fserrNotImplemented;
1729
int fserr =
PTS
.fserrNone;
1735
PTS
.ValidateHandle(line);
1748
fserr =
PTS
.fserrCallbackException;
1754
fserr =
PTS
.fserrCallbackException;
1766
int fserr =
PTS
.fserrNone;
1770
PTS
.ValidateHandle(para);
1777
fserr =
PTS
.fserrCallbackException;
1783
fserr =
PTS
.fserrCallbackException;
1794
int fserr =
PTS
.fserrNone;
1798
PTS
.ValidateHandle(para);
1805
fserr =
PTS
.fserrCallbackException;
1811
fserr =
PTS
.fserrCallbackException;
1822
return
PTS
.fserrNotImplemented;
1832
int fserr =
PTS
.fserrNone;
1836
PTS
.ValidateHandle(para);
1837
fInterruptFormatting =
PTS
.FromBoolean(para.InterruptFormatting(dcp, vr));
1841
fInterruptFormatting =
PTS
.False;
1843
fserr =
PTS
.fserrCallbackException;
1847
fInterruptFormatting =
PTS
.False;
1849
fserr =
PTS
.fserrCallbackException;
1872
out
PTS
.FSKCLEAR fskclear, // OUT: kclear after paragraph
1881
fFound =
PTS
.False;
1884
fskclear =
PTS
.FSKCLEAR.fskclearNone;
1885
return
PTS
.fserrNone;
1905
PTS
.FSKCLEAR fskclear, // IN: kclear after paragraph
1914
return
PTS
.fserrNone;
1922
return
PTS
.fserrNotImplemented;
1931
int fserr =
PTS
.fserrNone;
1935
PTS
.ValidateHandle(para);
1941
return
PTS
.fserrNone;
1947
fserr =
PTS
.fserrCallbackException;
1953
fserr =
PTS
.fserrCallbackException;
1969
int fserr =
PTS
.fserrNone;
1973
PTS
.ValidateHandle(para);
1987
rgidobj[objectIndex] =
PTS
.fsidobjFigure;
1999
fEndOfParagraph =
PTS
.False;
2004
fEndOfParagraph =
PTS
.False;
2006
fserr =
PTS
.fserrCallbackException;
2011
fEndOfParagraph =
PTS
.False;
2013
fserr =
PTS
.fserrCallbackException;
2028
int fserr =
PTS
.fserrNone;
2032
PTS
.ValidateHandle(para);
2039
PTS
.ValidateHandle(lineBreakpoint);
2055
return
PTS
.fserrNone;
2061
fserr =
PTS
.fserrCallbackException;
2067
fserr =
PTS
.fserrCallbackException;
2086
int fserr =
PTS
.fserrNone;
2090
PTS
.ValidateHandle(para);
2104
rgidobj[objectIndex] =
PTS
.fsidobjFigure;
2121
fserr =
PTS
.fserrCallbackException;
2127
fserr =
PTS
.fserrCallbackException;
2135
out
PTS
.FSKCHANGE fskchObject) // OUT: kind of change for figure
2137
int fserr =
PTS
.fserrNone;
2141
PTS
.ValidateHandle(para);
2147
fskchObject = default(
PTS
.FSKCHANGE);
2149
fserr =
PTS
.fserrCallbackException;
2153
fskchObject = default(
PTS
.FSKCHANGE);
2155
fserr =
PTS
.fserrCallbackException;
2169
int fserr =
PTS
.fserrNone;
2175
PTS
.ValidateHandle(line);
2177
PTS
.ValidateHandle(paraFigure);
2191
fserr =
PTS
.fserrCallbackException;
2197
fserr =
PTS
.fserrCallbackException;
2208
out
PTS
.FSFLOATERPROPS fsfloaterprops)// OUT: properties of the floater
2210
int fserr =
PTS
.fserrNone;
2214
PTS
.ValidateHandle(para);
2219
fsfloaterprops = new
PTS
.FSFLOATERPROPS();
2221
fserr =
PTS
.fserrCallbackException;
2225
fsfloaterprops = new
PTS
.FSFLOATERPROPS();
2227
fserr =
PTS
.fserrCallbackException;
2245
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
2247
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting
2252
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
2256
int fserr =
PTS
.fserrNone;
2260
PTS
.ValidateHandle(para);
2262
PTS
.ValidateHandle(paraClient);
2270
fsfmtr = new
PTS
.FSFMTR(); pfsFloatContent = pbrkrecpara = IntPtr.Zero; durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2272
fserr =
PTS
.fserrCallbackException;
2276
fsfmtr = new
PTS
.FSFMTR(); pfsFloatContent = pbrkrecpara = IntPtr.Zero; durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2278
fserr =
PTS
.fserrCallbackException;
2291
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
2295
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
2299
int fserr =
PTS
.fserrNone;
2303
PTS
.ValidateHandle(para);
2305
PTS
.ValidateHandle(paraClient);
2312
fsfmtrbl = default(
PTS
.FSFMTRBL);
2313
pfsFloatContent = IntPtr.Zero; durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2315
fserr =
PTS
.fserrCallbackException;
2319
fsfmtrbl = default(
PTS
.FSFMTRBL);
2320
pfsFloatContent = IntPtr.Zero; durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2322
fserr =
PTS
.fserrCallbackException;
2335
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
2338
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
2342
int fserr =
PTS
.fserrNone;
2346
PTS
.ValidateHandle(para);
2348
PTS
.ValidateHandle(paraClient);
2355
fsfmtrbl = default(
PTS
.FSFMTRBL);
2356
durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2358
fserr =
PTS
.fserrCallbackException;
2362
fsfmtrbl = default(
PTS
.FSFMTRBL);
2363
durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2365
fserr =
PTS
.fserrCallbackException;
2379
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
2383
int fserr =
PTS
.fserrNone;
2387
PTS
.ValidateHandle(para);
2389
PTS
.ValidateHandle(paraClient);
2397
fserr =
PTS
.fserrCallbackException;
2403
fserr =
PTS
.fserrCallbackException;
2416
return
PTS
.fserrNone;
2420
return
PTS
.FsClearUpdateInfoInSubpage(Context, pfsFloaterContent);
2426
out
PTS
.FSCOMPRESULT fscmpr) // OUT: result of comparison
2434
fscmpr =
PTS
.FSCOMPRESULT.fscmprChangeInside;
2435
return
PTS
.fserrNone;
2439
fscmpr =
PTS
.FSCOMPRESULT.fscmprChangeInside;
2440
return
PTS
.fserrNone;
2446
fscmpr =
PTS
.FSCOMPRESULT.fscmprNoChange;
2447
return
PTS
.fserrNone;
2451
fscmpr =
PTS
.FSCOMPRESULT.fscmprChangeInside;
2452
return
PTS
.fserrNone;
2456
return
PTS
.FsCompareSubpages(Context, pfsFloaterContentOld, pfsFloaterContentNew, out fscmpr);
2472
return
PTS
.fserrNone;
2475
return
PTS
.FsDestroySubpage(Context, pfsFloaterContent);
2492
return
PTS
.FsDuplicateSubpageBreakRecord(Context, pfsbrkFloaterContent, out pfsbrkFloaterContentDup);
2508
return
PTS
.FsDestroySubpageBreakRecord(Context, pfsbrkFloaterContent);
2535
return
PTS
.fserrNone;
2539
return
PTS
.FsGetSubpageColumnBalancingInfo(Context, pfsFloaterContent,
2553
return
PTS
.fserrNone;
2556
return
PTS
.FsGetNumberSubpageFootnotes(Context, pfsFloaterContent, out cftn);
2563
ref
PTS
.FSFTNINFO fsftninf, // IN/OUT: array of footnote info
2568
return
PTS
.fserrNone;
2581
return
PTS
.fserrNone;
2585
return
PTS
.FsTransferDisplayInfoSubpage(PtsContext.Context, pfsFloaterContentOld, pfsFloaterContentNew);
2595
int fserr =
PTS
.fserrNone;
2599
PTS
.ValidateHandle(para);
2604
PTS
.ValidateHandle(mcs);
2612
fserr =
PTS
.fserrCallbackException;
2618
fserr =
PTS
.fserrCallbackException;
2631
int fserr =
PTS
.fserrNone;
2635
PTS
.ValidateHandle(para);
2640
PTS
.ValidateHandle(mcs);
2648
fserr =
PTS
.fserrCallbackException;
2654
fserr =
PTS
.fserrCallbackException;
2671
return
PTS
.fserrNone;
2677
return
PTS
.fserrNone;
2692
ref
PTS
.FSRECT fsrcToFill, // IN: rectangle to fill
2694
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
2695
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
2699
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting the paragraph
2703
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
2705
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
2709
int fserr =
PTS
.fserrNone;
2710
fBreakInsidePossible =
PTS
.False;
2714
PTS
.ValidateHandle(para);
2716
PTS
.ValidateHandle(paraClient);
2721
PTS
.ValidateHandle(mcs);
2729
fsfmtr = new
PTS
.FSFMTR(); pfspara = pbrkrecpara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = 0; fsbbox = new
PTS
.FSBBOX();
2730
fskclearOut = default(
PTS
.FSKCLEAR);
2732
fserr =
PTS
.fserrCallbackException;
2736
fsfmtr = new
PTS
.FSFMTR(); pfspara = pbrkrecpara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = 0; fsbbox = new
PTS
.FSBBOX();
2737
fskclearOut = default(
PTS
.FSKCLEAR);
2739
fserr =
PTS
.fserrCallbackException;
2756
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
2758
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
2761
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
2763
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
2767
int fserr =
PTS
.fserrNone;
2771
PTS
.ValidateHandle(para);
2773
PTS
.ValidateHandle(paraClient);
2778
PTS
.ValidateHandle(mcs);
2785
fsfmtrbl = default(
PTS
.FSFMTRBL);
2786
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
2787
fskclearOut = default(
PTS
.FSKCLEAR);
2789
fserr =
PTS
.fserrCallbackException;
2793
fsfmtrbl = default(
PTS
.FSFMTRBL);
2794
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
2795
fskclearOut = default(
PTS
.FSKCLEAR);
2797
fserr =
PTS
.fserrCallbackException;
2814
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
2816
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
2818
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
2820
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
2824
int fserr =
PTS
.fserrNone;
2828
PTS
.ValidateHandle(para);
2830
PTS
.ValidateHandle(paraClient);
2835
PTS
.ValidateHandle(mcs);
2843
fsfmtrbl = default(
PTS
.FSFMTRBL);
2844
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
2845
fskclearOut = default(
PTS
.FSKCLEAR);
2847
fserr =
PTS
.fserrCallbackException;
2851
fsfmtrbl = default(
PTS
.FSFMTRBL);
2852
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
2853
fskclearOut = default(
PTS
.FSKCLEAR);
2855
fserr =
PTS
.fserrCallbackException;
2867
int fserr =
PTS
.fserrNone;
2871
PTS
.ValidateHandle(paraClient);
2872
PTS
.Validate(
PTS
.FsSynchronizeBottomlessSubtrack(Context, pfspara, pfsgeom, fswdir, dvrShift), PtsContext);
2877
fserr =
PTS
.fserrCallbackException;
2882
fserr =
PTS
.fserrCallbackException;
2893
out
PTS
.FSCOMPRESULT fscmpr, // OUT: comparison result
2896
return
PTS
.FsCompareSubtrack(Context, pfsparaOld, pfsparaNew, fswdir, out fscmpr, out dvrShifted);
2902
return
PTS
.FsClearUpdateInfoInSubtrack(Context, pfspara);
2908
return
PTS
.FsDestroySubtrack(Context, pfspara);
2916
return
PTS
.FsDuplicateSubtrackBreakRecord(Context, pfsbrkrecparaOrig, out pfsbrkrecparaDup);
2923
return
PTS
.FsDestroySubtrackBreakRecord(Context, pfsobjbrk);
2933
return
PTS
.FsGetSubtrackColumnBalancingInfo(Context, pfspara, fswdir,
2941
return
PTS
.FsGetNumberSubtrackFootnotes(Context, pfspara, out nftn);
2948
PTS
.FSFTNINFO* pfsftninf, // IN/OUT: array of footnote info
2953
return
PTS
.fserrNotImplemented;
2959
out
PTS
.FSBBOX pfsbbox) // OUT: output BBox
2962
pfsbbox = new
PTS
.FSBBOX();
2963
return
PTS
.fserrNone;
2970
return
PTS
.FsTransferDisplayInfoSubtrack(Context, pfsparaOld, pfsparaNew);
2986
return
PTS
.fserrNone;
2992
return
PTS
.fserrNone;
3007
ref
PTS
.FSRECT fsrcToFill, // IN: rectangle to fill
3009
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
3010
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
3014
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting the paragraph
3018
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
3020
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
3024
int fserr =
PTS
.fserrNone;
3025
fBreakInsidePossible =
PTS
.False;
3029
PTS
.ValidateHandle(para);
3031
PTS
.ValidateHandle(paraClient);
3036
PTS
.ValidateHandle(mcs);
3044
fsfmtr = new
PTS
.FSFMTR(); pfspara = pbrkrecpara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = 0; fsbbox = new
PTS
.FSBBOX();
3045
fskclearOut = default(
PTS
.FSKCLEAR);
3047
fserr =
PTS
.fserrCallbackException;
3051
fsfmtr = new
PTS
.FSFMTR(); pfspara = pbrkrecpara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = 0; fsbbox = new
PTS
.FSBBOX();
3052
fskclearOut = default(
PTS
.FSKCLEAR);
3054
fserr =
PTS
.fserrCallbackException;
3070
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
3072
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
3075
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
3077
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
3081
int fserr =
PTS
.fserrNone;
3085
PTS
.ValidateHandle(para);
3087
PTS
.ValidateHandle(paraClient);
3092
PTS
.ValidateHandle(mcs);
3100
fsfmtrbl = default(
PTS
.FSFMTRBL);
3101
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3102
fskclearOut = default(
PTS
.FSKCLEAR);
3104
fserr =
PTS
.fserrCallbackException;
3108
fsfmtrbl = default(
PTS
.FSFMTRBL);
3109
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3110
fskclearOut = default(
PTS
.FSKCLEAR);
3112
fserr =
PTS
.fserrCallbackException;
3129
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
3131
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
3133
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
3135
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
3139
int fserr =
PTS
.fserrNone;
3143
PTS
.ValidateHandle(para);
3145
PTS
.ValidateHandle(paraClient);
3150
PTS
.ValidateHandle(mcs);
3158
fsfmtrbl = default(
PTS
.FSFMTRBL);
3159
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3160
fskclearOut = default(
PTS
.FSKCLEAR);
3162
fserr =
PTS
.fserrCallbackException;
3166
fsfmtrbl = default(
PTS
.FSFMTRBL);
3167
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3168
fskclearOut = default(
PTS
.FSKCLEAR);
3170
fserr =
PTS
.fserrCallbackException;
3182
return
PTS
.fserrNone;
3191
out
PTS
.FSCOMPRESULT fscmpr, // OUT: comparison result
3195
return
PTS
.FsCompareSubpages(Context, pfsparaOld, pfsparaNew, out fscmpr);
3200
return
PTS
.FsClearUpdateInfoInSubpage(Context, pfspara);
3206
return
PTS
.FsDestroySubpage(Context, pfspara);
3214
return
PTS
.FsDuplicateSubpageBreakRecord(Context, pfsbrkrecparaOrig, out pfsbrkrecparaDup);
3221
return
PTS
.FsDestroySubpageBreakRecord(Context, pfsobjbrk);
3231
return
PTS
.FsGetSubpageColumnBalancingInfo(Context, pfspara, out fswdir,
3239
return
PTS
.FsGetNumberSubpageFootnotes(Context, pfspara, out nftn);
3247
PTS
.FSFTNINFO* pfsftninf, // IN/OUT: array of footnote info
3250
return
PTS
.FsGetSubpageFootnoteInfo(Context, pfspara, nftn, iftnFirst, out fswdir, pfsftninf, out iftnLim);
3258
out
PTS
.FSBBOX pfsbbox) // OUT: output BBox
3261
pfsbbox = new
PTS
.FSBBOX();
3262
return
PTS
.fserrNone;
3269
return
PTS
.FsTransferDisplayInfoSubpage(Context, pfsparaOld, pfsparaNew);
3279
out
PTS
.FSTABLEOBJPROPS fstableobjprops)// OUT:
3281
int fserr =
PTS
.fserrNone;
3285
PTS
.ValidateHandle(para);
3291
fstableobjprops = new
PTS
.FSTABLEOBJPROPS();
3293
fserr =
PTS
.fserrCallbackException;
3297
fstableobjprops = new
PTS
.FSTABLEOBJPROPS();
3299
fserr =
PTS
.fserrCallbackException;
3311
int fserr =
PTS
.fserrNone;
3315
PTS
.ValidateHandle(paraClient);
3323
fserr =
PTS
.fserrCallbackException;
3329
fserr =
PTS
.fserrCallbackException;
3344
int fserr =
PTS
.fserrNone;
3348
PTS
.ValidateHandle(paraClient);
3357
fserr =
PTS
.fserrCallbackException;
3364
fserr =
PTS
.fserrCallbackException;
3376
int fserr =
PTS
.fserrNone;
3380
PTS
.ValidateHandle(para);
3388
fserr =
PTS
.fserrCallbackException;
3394
fserr =
PTS
.fserrCallbackException;
3405
int fserr =
PTS
.fserrNone;
3409
PTS
.ValidateHandle(para);
3418
fserr =
PTS
.fserrCallbackException;
3425
fserr =
PTS
.fserrCallbackException;
3437
int fserr =
PTS
.fserrNone;
3441
PTS
.ValidateHandle(para);
3450
fserr =
PTS
.fserrCallbackException;
3457
fserr =
PTS
.fserrCallbackException;
3468
int fserr =
PTS
.fserrNone;
3472
PTS
.ValidateHandle(para);
3481
fserr =
PTS
.fserrCallbackException;
3488
fserr =
PTS
.fserrCallbackException;
3500
int fserr =
PTS
.fserrNone;
3504
PTS
.ValidateHandle(para);
3513
fserr =
PTS
.fserrCallbackException;
3520
fserr =
PTS
.fserrCallbackException;
3530
int fserr =
PTS
.fserrNone;
3534
PTS
.ValidateHandle(para);
3543
fserr =
PTS
.fserrCallbackException;
3550
fserr =
PTS
.fserrCallbackException;
3561
int fserr =
PTS
.fserrNone;
3565
PTS
.ValidateHandle(para);
3574
fserr =
PTS
.fserrCallbackException;
3581
fserr =
PTS
.fserrCallbackException;
3593
int fserr =
PTS
.fserrNone;
3597
PTS
.ValidateHandle(para);
3612
fserr =
PTS
.fserrCallbackException;
3621
fserr =
PTS
.fserrCallbackException;
3632
int fserr =
PTS
.fserrNone;
3636
PTS
.ValidateHandle(para);
3649
fserr =
PTS
.fserrCallbackException;
3657
fserr =
PTS
.fserrCallbackException;
3665
out
PTS
.FSKCHANGE fskch, // OUT:
3668
int fserr =
PTS
.fserrNone;
3672
PTS
.ValidateHandle(para);
3675
PTS
.ValidateHandle(rowParagraph);
3681
fskch = default(
PTS
.FSKCHANGE);
3684
fserr =
PTS
.fserrCallbackException;
3688
fskch = default(
PTS
.FSKCHANGE);
3691
fserr =
PTS
.fserrCallbackException;
3700
out
PTS
.FSKCHANGE fskchCell) // OUT:
3702
int fserr =
PTS
.fserrNone;
3706
PTS
.ValidateHandle(cellParagraph);
3713
fskchCell = default(
PTS
.FSKCHANGE);
3715
fserr =
PTS
.fserrCallbackException;
3720
fskchCell = default(
PTS
.FSKCHANGE);
3722
fserr =
PTS
.fserrCallbackException;
3730
out
PTS
.FSKTABLEHEIGHTDISTRIBUTION tabledistr) // OUT:
3732
int fserr =
PTS
.fserrNone;
3736
PTS
.ValidateHandle(para);
3742
tabledistr =
PTS
.FSKTABLEHEIGHTDISTRIBUTION.fskdistributeUnchanged;
3744
fserr =
PTS
.fserrCallbackException;
3748
tabledistr =
PTS
.FSKTABLEHEIGHTDISTRIBUTION.fskdistributeUnchanged;
3750
fserr =
PTS
.fserrCallbackException;
3758
out
PTS
.FSTABLEROWPROPS rowprops) // OUT:
3760
int fserr =
PTS
.fserrNone;
3764
PTS
.ValidateHandle(rowParagraph);
3770
rowprops = new
PTS
.FSTABLEROWPROPS();
3772
fserr =
PTS
.fserrCallbackException;
3776
rowprops = new
PTS
.FSTABLEROWPROPS();
3778
fserr =
PTS
.fserrCallbackException;
3788
PTS
.FSTABLEKCELLMERGE* rgkcellmerge) // IN/OUT:
3790
int fserr =
PTS
.fserrNone;
3794
PTS
.ValidateHandle(rowParagraph);
3801
fserr =
PTS
.fserrCallbackException;
3806
fserr =
PTS
.fserrCallbackException;
3817
int fserr =
PTS
.fserrNone;
3821
PTS
.ValidateHandle(rowParagraph);
3829
fserr =
PTS
.fserrCallbackException;
3835
fserr =
PTS
.fserrCallbackException;
3849
int fserr =
PTS
.fserrNone;
3853
PTS
.ValidateHandle(rowParagraph);
3867
fserr =
PTS
.fserrCallbackException;
3874
fserr =
PTS
.fserrCallbackException;
3890
out
PTS
.FSFMTR pfmtr, // OUT:
3895
int fserr =
PTS
.fserrNone;
3899
PTS
.ValidateHandle(cellParagraph);
3902
PTS
.ValidateHandle(tableParaClient);
3910
pfmtr = new
PTS
.FSFMTR();
3915
fserr =
PTS
.fserrCallbackException;
3919
pfmtr = new
PTS
.FSFMTR();
3924
fserr =
PTS
.fserrCallbackException;
3933
out
PTS
.FSFMTRBL fmtrbl, // OUT:
3937
int fserr =
PTS
.fserrNone;
3941
PTS
.ValidateHandle(cellParagraph);
3944
PTS
.ValidateHandle(tableParaClient);
3955
fmtrbl = default(
PTS
.FSFMTRBL);
3959
fserr =
PTS
.fserrCallbackException;
3963
fmtrbl = default(
PTS
.FSFMTRBL);
3967
fserr =
PTS
.fserrCallbackException;
3978
out
PTS
.FSFMTRBL fmtrbl, // IN:
3981
int fserr =
PTS
.fserrNone;
3985
PTS
.ValidateHandle(cellParagraph);
3988
PTS
.ValidateHandle(cellParaClient);
3991
PTS
.ValidateHandle(tableParaClient);
4002
fmtrbl = default(
PTS
.FSFMTRBL);
4005
fserr =
PTS
.fserrCallbackException;
4009
fmtrbl = default(
PTS
.FSFMTRBL);
4012
fserr =
PTS
.fserrCallbackException;
4020
out
PTS
.FSCOMPRESULT fscmpr) // IN:OUT: cell object
4022
fscmpr =
PTS
.FSCOMPRESULT.fscmprChangeInside;
4023
return (
PTS
.fserrNone);
4031
return (
PTS
.fserrNone);
4042
int fserr =
PTS
.fserrNone;
4046
PTS
.ValidateHandle(cellParagraph);
4049
PTS
.ValidateHandle(cellParaClient);
4052
PTS
.ValidateHandle(tableParaClient);
4065
fserr =
PTS
.fserrCallbackException;
4070
fserr =
PTS
.fserrCallbackException;
4080
return
PTS
.FsDuplicateSubpageBreakRecord(Context, pfsbrkcell, out ppfsbrkcellDup);
4087
return
PTS
.FsDestroySubpageBreakRecord(Context, pfsbrkcell);
4092
int fserr =
PTS
.fserrNone;
4104
fserr =
PTS
.fserrCallbackException;
4109
fserr =
PTS
.fserrCallbackException;
4117
int fserr =
PTS
.fserrNone;
4121
PTS
.ValidateHandle(cellParaClient);
4130
fserr =
PTS
.fserrCallbackException;
4136
fserr =
PTS
.fserrCallbackException;
4145
int fserr =
PTS
.fserrNone;
4149
PTS
.ValidateHandle(cellParaClient);
4157
fserr =
PTS
.fserrCallbackException;
4163
fserr =
PTS
.fserrCallbackException;
4172
int fserr =
PTS
.fserrNone;
4176
PTS
.ValidateHandle(paraClientOld);
4178
PTS
.ValidateHandle(paraClientNew);
4184
fserr =
PTS
.fserrCallbackException;
4189
fserr =
PTS
.fserrCallbackException;
MS\Internal\PtsHost\PtsPage.cs (113)
209
PTS
.FSPOINT pt = TextDpi.ToTextPoint(p);
294
PTS
.FSFMTRBL formattingResult;
296
int fserr =
PTS
.FsCreatePageBottomless(PtsContext.Context, _section.Handle, out formattingResult, out ptsPage);
297
if (fserr !=
PTS
.fserrNone)
301
PTS
.ValidateAndTrace(fserr, PtsContext);
320
if(formattingResult ==
PTS
.FSFMTRBL.fmtrblInterrupted)
347
PTS
.FSFMTRBL formattingResult;
348
int fserr =
PTS
.FsUpdateBottomlessPage(PtsContext.Context, _ptsPage, _section.Handle, out formattingResult);
349
if (fserr !=
PTS
.fserrNone)
355
PTS
.ValidateAndTrace(fserr, PtsContext);
369
if(formattingResult ==
PTS
.FSFMTRBL.fmtrblInterrupted)
395
PTS
.FSFMTR formattingResult;
398
int fserr =
PTS
.FsCreatePageFinite(PtsContext.Context, brIn, _section.Handle, out formattingResult, out ptsPage, out brOut);
399
if (fserr !=
PTS
.fserrNone)
404
PTS
.ValidateAndTrace(fserr, PtsContext);
456
PTS
.FSFMTR formattingResult;
458
int fserr =
PTS
.FsUpdateFinitePage(PtsContext.Context, _ptsPage, brIn,
461
if (fserr !=
PTS
.fserrNone)
467
PTS
.ValidateAndTrace(fserr, PtsContext);
503
PTS
.FSPAGEDETAILS pageDetails;
504
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
511
if (
PTS
.ToBoolean(pageDetails.fSimple))
517
PtsHelper.ArrangeTrack(PtsContext, ref pageDetails.u.simple.trackdescr,
PTS
.FlowDirectionToFswdir(_section.StructuralCache.PageFlowDirection));
533
PTS
.FSSECTIONDESCRIPTION[] arraySectionDesc;
548
internal void UpdateViewport(ref
PTS
.FSRECT viewport)
553
PTS
.FSPAGEDETAILS pageDetails;
554
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
560
if (
PTS
.ToBoolean(pageDetails.fSimple))
578
PTS
.FSSECTIONDESCRIPTION[] arraySectionDesc;
599
PTS
.Validate(
PTS
.FsClearUpdateInfoInPage(PtsContext.Context, _ptsPage), PtsContext);
744
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(new Rect(_section.StructuralCache.CurrentFormatContext.PageSize));
766
PTS
.FSRECT rect = GetRect();
767
PTS
.FSBBOX bbox = GetBoundingBox();
770
if (!FinitePage &&
PTS
.ToBoolean(bbox.fDefined))
778
if (
PTS
.ToBoolean(bbox.fDefined))
817
private
PTS
.FSRECT GetRect()
819
PTS
.FSRECT rect;
827
rect = new
PTS
.FSRECT();
832
PTS
.FSPAGEDETAILS pageDetails;
833
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
839
if (
PTS
.ToBoolean(pageDetails.fSimple))
862
private
PTS
.FSBBOX GetBoundingBox()
864
PTS
.FSBBOX bbox = new
PTS
.FSBBOX();
876
PTS
.FSPAGEDETAILS pageDetails;
877
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
883
if (
PTS
.ToBoolean(pageDetails.fSimple))
905
private void ArrangeSection(ref
PTS
.FSSECTIONDESCRIPTION sectionDesc)
908
PTS
.FSSECTIONDETAILS sectionDetails;
909
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
914
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
928
PTS
.FSTRACKDESCRIPTION [] arrayColumnDesc;
953
private void UpdateViewportSection(ref
PTS
.FSSECTIONDESCRIPTION sectionDesc, ref
PTS
.FSRECT viewport)
956
PTS
.FSSECTIONDETAILS sectionDetails;
957
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
962
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
976
PTS
.FSTRACKDESCRIPTION [] arrayColumnDesc;
1002
PTS
.FSPAGEDETAILS pageDetails;
1003
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
1006
if (pageDetails.fskupd ==
PTS
.FSKUPDATE.fskupdNoChange) { return; }
1007
ErrorHandler.Assert(pageDetails.fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
1026
if (
PTS
.ToBoolean(pageDetails.fSimple))
1030
PTS
.FSKUPDATE fskupd = pageDetails.u.simple.trackdescr.fsupdinf.fskupd;
1031
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
1036
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
1065
PTS
.FSSECTIONDESCRIPTION [] arraySectionDesc;
1103
PTS
.FSKUPDATE fskupdInherited,
1104
ref
PTS
.FSSECTIONDESCRIPTION sectionDesc)
1106
PTS
.FSKUPDATE fskupd = sectionDesc.fsupdinf.fskupd;
1107
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
1111
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
1114
if (fskupd ==
PTS
.FSKUPDATE.fskupdNoChange) { return; }
1119
PTS
.FSSECTIONDETAILS sectionDetails;
1120
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
1125
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
1139
PTS
.FSTRACKDESCRIPTION [] arrayColumnDesc;
1150
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
1184
private IInputElement InputHitTestPage(
PTS
.FSPOINT pt)
1201
PTS
.FSPAGEDETAILS pageDetails;
1202
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
1208
if (
PTS
.ToBoolean(pageDetails.fSimple))
1229
PTS
.FSSECTIONDESCRIPTION [] arraySectionDesc;
1260
PTS
.FSPAGEDETAILS pageDetails;
1261
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
1265
if (
PTS
.ToBoolean(pageDetails.fSimple))
1283
PTS
.FSSECTIONDESCRIPTION[] arraySectionDesc;
1316
PTS
.FSPOINT pt,
1317
ref
PTS
.FSSECTIONDESCRIPTION sectionDesc)
1322
PTS
.FSSECTIONDETAILS sectionDetails;
1323
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
1328
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
1342
PTS
.FSTRACKDESCRIPTION [] arrayColumnDesc;
1377
ref
PTS
.FSSECTIONDESCRIPTION sectionDesc)
1380
PTS
.FSSECTIONDETAILS sectionDetails;
1381
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
1389
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
1403
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
1542
internal
PTS
.FSRECT PageRect { get { return _pageRect; } set { _pageRect = value; } }
1580
private
PTS
.FSRECT _pageRect;
MS\Internal\PtsHost\RowParagraph.cs (19)
72
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
91
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
96
fskch =
PTS
.FSKCHANGE.fskchNew;
106
out
PTS
.FSTABLEROWPROPS rowprops) // OUT:
109
PTS
.FSKROWHEIGHTRESTRICTION fskrowheight;
126
rowprops = new
PTS
.FSTABLEROWPROPS();
128
rowprops.fskrowbreak =
PTS
.FSKROWBREAKRESTRICTION.fskrowbreakAnywhere;
174
fInterrupt =
PTS
.False;
202
PTS
.ValidateHandle(cellParaClient);
219
PTS
.FSTABLEKCELLMERGE* rgkcellmerge)
240
rgkcellmerge[i] =
PTS
.FSTABLEKCELLMERGE.fskcellmergeNo;
264
?
PTS
.FSTABLEKCELLMERGE.fskcellmergeNo
265
:
PTS
.FSTABLEKCELLMERGE.fskcellmergeFirst;
270
?
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast
271
:
PTS
.FSTABLEKCELLMERGE.fskcellmergeMiddle;
276
rgkcellmerge[i] =
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast;
326
internal void GetRowHeight(out
PTS
.FSKROWHEIGHTRESTRICTION fskrowheight, out int dvrAboveBelow)
334
fskrowheight =
PTS
.FSKROWHEIGHTRESTRICTION.fskrowheightNatural;
339
fskrowheight =
PTS
.FSKROWHEIGHTRESTRICTION.fskrowheightExactNoBreak;
MS\Internal\PtsHost\RunClient.cs (4)
206
internal ParagraphBreakRun(int length,
PTS
.FSFLRES breakReason) : base(length)
211
internal readonly
PTS
.FSFLRES BreakReason;
219
internal LineBreakRun(int length,
PTS
.FSFLRES breakReason) : base(length)
224
internal readonly
PTS
.FSFLRES BreakReason;
MS\Internal\PtsHost\Section.cs (18)
76
fSkip =
PTS
.False;
106
ref
PTS
.FSRECT fsrcMargin)
122
fswdir =
PTS
.FlowDirectionToFswdir(StructuralCache.PageFlowDirection);
125
fHeaderFooterAtTopBottom =
PTS
.False;
154
out
PTS
.FSKALIGNPAGE fskal,
158
fJustify =
PTS
.False;
159
fCancelAtLastColumn =
PTS
.False;
160
fskal =
PTS
.FSKALIGNPAGE.fskalpgTop;
176
fSuccess =
PTS
.False;
221
fNewPage =
PTS
.False; // Since only one section is supported, don't force page break before.
222
fswdir =
PTS
.FlowDirectionToFswdir((FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.FlowDirectionProperty));
223
fApplyColumnBalancing =
PTS
.False;
283
fHeaderPresent =
PTS
.False;
284
fHardMargin =
PTS
.False;
327
fFooterPresent =
PTS
.False;
328
fHardMargin =
PTS
.False;
352
PTS
.FSCOLUMNINFO* pfscolinfo,
380
fEndnotesPresent =
PTS
.False;
MS\Internal\PtsHost\SectionVisual.cs (1)
40
internal void DrawColumnRules(ref
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc, double columnVStart, double columnHeight, ColumnPropertiesGroup columnProperties)
MS\Internal\PtsHost\StructuralCache.cs (7)
759
internal
PTS
.FSRECT PageRect { get { return new
PTS
.FSRECT(new Rect(0, 0, PageWidth, PageHeight)); } }
764
internal
PTS
.FSRECT PageMarginRect { get { return new
PTS
.FSRECT(new Rect(PageMargin.Left, PageMargin.Top,
806
internal void PushNewPageData(PageContext pageContext,
PTS
.FSRECT columnRect, bool finitePage)
843
internal
PTS
.FSRECT ColumnRect { get { return _currentArrangeInfo.ColumnRect; } }
854
internal
PTS
.FSRECT ColumnRect;
MS\Internal\PtsHost\SubpageParaClient.cs (75)
49
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, _paraHandle));
68
PTS
.FSSUBPAGEDETAILS subpageDetails;
69
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
105
if (
PTS
.ToBoolean(subpageDetails.fSimple))
107
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.simple.trackdescr.fsrc);
121
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.complex.fsrc);
128
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
150
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
170
pt = new
PTS
.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v);
173
PTS
.FSSUBPAGEDETAILS subpageDetails;
174
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
180
if (
PTS
.ToBoolean(subpageDetails.fSimple))
191
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
230
PTS
.FSSUBPAGEDETAILS subpageDetails;
231
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
237
if (
PTS
.ToBoolean(subpageDetails.fSimple))
249
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
279
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
282
PTS
.FSSUBPAGEDETAILS subpageDetails;
283
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
314
if (
PTS
.ToBoolean(subpageDetails.fSimple))
317
PTS
.FSKUPDATE fskupd = subpageDetails.u.simple.trackdescr.fsupdinf.fskupd;
318
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
323
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
348
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
354
PTS
.FSKUPDATE fskupd = fskupdInherited;
355
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
356
Debug.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdNoChange);
378
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
402
pageContentVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
403
floatingElementsVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
405
PTS
.FSRECT clipRect = new
PTS
.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
414
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
417
PTS
.FSSUBPAGEDETAILS subpageDetails;
418
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
420
PTS
.FSRECT viewportSubpage = new
PTS
.FSRECT();
431
if (
PTS
.ToBoolean(subpageDetails.fSimple))
443
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
475
PTS
.FSSUBPAGEDETAILS subpageDetails;
476
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
482
if (
PTS
.ToBoolean(subpageDetails.fSimple))
496
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
546
PTS
.FSSUBPAGEDETAILS subpageDetails;
547
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
553
if (
PTS
.ToBoolean(subpageDetails.fSimple))
556
PTS
.FSTRACKDETAILS trackDetails;
557
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
576
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
582
PTS
.FSTRACKDETAILS trackDetails;
583
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[i].pfstrack, out trackDetails));
610
PTS
.FSTRACKDETAILS trackDetails;
611
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, pfstrack, out trackDetails));
616
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
623
PTS
.ValidateHandle(paraClient);
643
PTS
.FSTRACKDETAILS trackDetails;
644
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, pfstrack, out trackDetails));
650
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
658
PTS
.ValidateHandle(paraClient);
708
internal
PTS
.FSRECT ContentRect { get { return _contentRect; } }
710
private
PTS
.FSRECT _contentRect;
711
private
PTS
.FSRECT _paddingRect;
MS\Internal\PtsHost\SubpageParagraph.cs (81)
75
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
115
ref
PTS
.FSRECT fsrcToFill, // IN: rectangle to fill
117
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
118
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
120
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting the paragraph
124
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
126
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
129
uint fswdirSubpage =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
136
PTS
.FSRECT fsrcSubpageMargin;
137
PTS
.FSCOLUMNINFO [] columnInfoCollection;
154
fsrcSubpageMargin = new
PTS
.FSRECT();
160
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
172
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
173
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFill, fswdirSubpage, out fsrcToFill));
182
if (
PTS
.ToBoolean(fSuppressTopSpace))
210
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
211
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
222
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
224
PTS
.Validate(
PTS
.FsCreateSubpageFinite(PtsContext.Context, pbrkrecIn, fBRFromPreviousPage, _mainTextSegment.Handle,
226
ref fsrcSubpageMargin, cColumns, rgColumnInfo,
PTS
.False,
227
0, null, null, 0, null, null,
PTS
.FromBoolean(false),
234
fskclearOut =
PTS
.FSKCLEAR.fskclearNone;
236
if (
PTS
.ToBoolean(fsbbox.fDefined))
254
PTS
.ValidateHandle(mcsSubpage);
259
if (fsfmtr.kstop >=
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace) // No progress or collision
268
if (fsfmtr.kstop ==
PTS
.FSFMTRKSTOP.fmtrGoalReached)
290
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
291
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubpage, ref pageRect, ref fsbbox, fswdir, out fsbbox));
319
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
321
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
324
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
326
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
335
PTS
.FSCOLUMNINFO[] columnInfoCollection;
336
uint fswdirSubpage =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
345
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
354
PTS
.FSRECT fsrcToFillSubpage = new
PTS
.FSRECT(urTrack, 0, durTrack, 0);
355
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
356
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubpage, fswdirSubpage, out fsrcToFillSubpage));
384
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
385
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
397
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
399
PTS
.Validate(
PTS
.FsCreateSubpageBottomless(PtsContext.Context, _mainTextSegment.Handle, fSuppressTopSpace,
401
cColumns, rgColumnInfo, 0, null, null, 0, null, null,
PTS
.FromBoolean(_isInterruptible),
408
fskclearOut =
PTS
.FSKCLEAR.fskclearNone;
410
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
418
PTS
.ValidateHandle(mcsSubpage);
432
if (
PTS
.ToBoolean(fsbbox.fDefined))
460
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
461
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubpage, ref pageRect, ref fsbbox, fswdir, out fsbbox));
481
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
483
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
485
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
487
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
496
PTS
.FSCOLUMNINFO[] columnInfoCollection;
497
uint fswdirSubpage =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
505
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
514
PTS
.FSRECT fsrcToFillSubpage = new
PTS
.FSRECT(urTrack, 0, durTrack, 0);
515
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
516
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubpage, fswdirSubpage, out fsrcToFillSubpage));
544
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
545
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
556
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
558
PTS
.Validate(
PTS
.FsUpdateBottomlessSubpage(PtsContext.Context, pfspara, _mainTextSegment.Handle, fSuppressTopSpace,
560
cColumns, rgColumnInfo, 0, null, null, 0, null, null,
PTS
.FromBoolean(true),
567
fskclearOut =
PTS
.FSKCLEAR.fskclearNone;
569
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
577
PTS
.ValidateHandle(mcsSubpage);
591
if (
PTS
.ToBoolean(fsbbox.fDefined))
619
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
620
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubpage, ref pageRect, ref fsbbox, fswdir, out fsbbox));
MS\Internal\PtsHost\TableParaClient.cs (159)
67
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
68
PTS
.FSKUPDATE fskupdTable;
69
PTS
.FSRECT rect;
74
|| fskupdTable ==
PTS
.FSKUPDATE.fskupdNoChange
75
|| fskupdTable ==
PTS
.FSKUPDATE.fskupdShifted )
90
PTS
.FSRECT pageRect = _pageContext.PageRect;
92
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ParentFlowDirection), ref pageRect, ref _rect,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out _rect));
103
PTS
.FSKUPDATE fskupdRow;
104
PTS
.FSKUPDATE[] arrayUpdate;
106
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
108
fskupdRow = (arrayTableRowDesc[iR].fsupdinf.fskupd !=
PTS
.FSKUPDATE.fskupdInherited)
112
if (fskupdRow ==
PTS
.FSKUPDATE.fskupdNoChange)
134
&& ( arrayTableCellMerge[iC] ==
PTS
.FSTABLEKCELLMERGE.fskcellmergeMiddle
135
|| arrayTableCellMerge[iC] ==
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast ) )
173
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
175
Invariant.Assert( fskupdInherited !=
PTS
.FSKUPDATE.fskupdInherited );
178
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
179
PTS
.FSKUPDATE fskupdTable;
180
PTS
.FSRECT rect;
198
if (fskupdTable ==
PTS
.FSKUPDATE.fskupdInherited)
203
if (fskupdTable ==
PTS
.FSKUPDATE.fskupdNoChange)
209
if (fskupdTable ==
PTS
.FSKUPDATE.fskupdShifted)
211
fskupdTable =
PTS
.FSKUPDATE.fskupdNew;
215
if (fskupdTable ==
PTS
.FSKUPDATE.fskupdNew)
238
PTS
.FSKUPDATE fskupdRow;
242
fskupdRow = (arrayTableRowDesc[iR].fsupdinf.fskupd !=
PTS
.FSKUPDATE.fskupdInherited)
257
if (fskupdRow ==
PTS
.FSKUPDATE.fskupdNew)
274
if ( fskupdRow ==
PTS
.FSKUPDATE.fskupdNew
275
|| fskupdRow ==
PTS
.FSKUPDATE.fskupdChangeInside )
316
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
321
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
322
PTS
.FSKUPDATE fskupdTable;
323
PTS
.FSRECT rectTable;
329
PTS
.FSKUPDATE[] arrayUpdate;
331
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
359
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
365
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
366
PTS
.FSKUPDATE fskupdTable;
367
PTS
.FSRECT rectTable;
377
PTS
.FSKUPDATE[] arrayUpdate;
379
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
396
PTS
.FSRECT rect = cellParaClient.Rect;
444
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
445
PTS
.FSKUPDATE fskupdTable;
446
PTS
.FSRECT rectTable;
453
PTS
.FSKUPDATE[] arrayUpdate;
455
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
509
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
510
PTS
.FSKUPDATE fskupdTable;
511
PTS
.FSRECT rectTable;
525
PTS
.FSTABLEROWDETAILS tableRowDetails;
527
PTS
.Validate(
PTS
.FsQueryTableObjRowDetails(
532
if (tableRowDetails.fskboundaryAbove !=
PTS
.FSKTABLEROWBOUNDARY.fsktablerowboundaryBreak)
543
PTS
.FSKUPDATE[] arrayUpdate;
545
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
564
if (tableRowDetails.fskboundaryBelow !=
PTS
.FSKTABLEROWBOUNDARY.fsktablerowboundaryBreak)
604
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
605
PTS
.FSKUPDATE fskupdTable;
606
PTS
.FSRECT rectTable;
618
PTS
.FSKUPDATE[] arrayUpdate;
620
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
637
PTS
.FSRECT rect = cpc.Rect;
693
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
694
PTS
.FSKUPDATE fskupdTable;
695
PTS
.FSRECT rectTable;
730
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
731
PTS
.FSKUPDATE fskupdTable;
732
PTS
.FSRECT rectTable;
739
PTS
.FSKUPDATE[] arrayUpdate;
741
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
753
(arrayTableCellMerge[iC] !=
PTS
.FSTABLEKCELLMERGE.fskcellmergeMiddle &&
754
arrayTableCellMerge[iC] !=
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast)
825
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
826
PTS
.FSKUPDATE fskupdTable;
827
PTS
.FSRECT rectTable;
835
PTS
.FSKUPDATE[] arrayUpdate;
837
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
894
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
895
PTS
.FSKUPDATE fskupdTable;
896
PTS
.FSRECT rectTable;
902
PTS
.FSKUPDATE[] arrayUpdate;
904
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
948
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
949
PTS
.FSKUPDATE fskupdTable;
950
PTS
.FSRECT rectTable;
959
PTS
.FSKUPDATE[] arrayUpdate;
961
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1029
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
1030
PTS
.FSKUPDATE fskupdTable;
1031
PTS
.FSRECT rectTable;
1038
PTS
.FSKUPDATE[] arrayUpdate;
1040
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1123
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
1124
PTS
.FSKUPDATE fskupdTable;
1125
PTS
.FSRECT rectTable;
1216
int ret =
PTS
.True;
1332
private unsafe void UpdateChunkInfo(
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc)
1334
PTS
.FSTABLEROWDETAILS tableRowDetails;
1339
PTS
.Validate(
PTS
.FsQueryTableObjRowDetails(
1344
_isFirstChunk = (tableRowDetails.fskboundaryAbove ==
PTS
.FSKTABLEROWBOUNDARY.fsktablerowboundaryOuter) &&
1349
PTS
.Validate(
PTS
.FsQueryTableObjRowDetails(
1354
_isLastChunk = (tableRowDetails.fskboundaryBelow ==
PTS
.FSKTABLEROWBOUNDARY.fsktablerowboundaryOuter) &&
1367
out
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc,
1368
out
PTS
.FSKUPDATE fskupdTable,
1369
out
PTS
.FSRECT rect)
1371
PTS
.FSTABLEOBJDETAILS tableObjDetails;
1372
PTS
.FSTABLEDETAILS tableDetails;
1374
PTS
.Validate(
PTS
.FsQueryTableObjDetails(
1383
PTS
.Validate(
PTS
.FsQueryTableObjTableProperDetails(
1395
arrayTableRowDesc = new
PTS
.FSTABLEROWDESCRIPTION[tableDetails.cRows];
1397
fixed (
PTS
.FSTABLEROWDESCRIPTION * rgTableRowDesc = arrayTableRowDesc)
1401
PTS
.Validate(
PTS
.FsQueryTableObjRowList(
1424
out
PTS
.FSKUPDATE[] arrayUpdate,
1425
out
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge)
1427
PTS
.FSTABLEROWDETAILS tableRowDetails;
1429
PTS
.Validate(
PTS
.FsQueryTableObjRowDetails(
1434
arrayUpdate = new
PTS
.FSKUPDATE[tableRowDetails.cCells];
1436
arrayTableCellMerge = new
PTS
.FSTABLEKCELLMERGE[tableRowDetails.cCells];
1440
fixed (
PTS
.FSKUPDATE * rgUpdate = arrayUpdate)
1444
fixed (
PTS
.FSTABLEKCELLMERGE * rgTableCellMerge = arrayTableCellMerge)
1448
PTS
.Validate(
PTS
.FsQueryTableObjCellList(
1527
PTS
.FSKUPDATE fskupdRow,
1530
PTS
.FSKUPDATE[] arrayUpdate;
1532
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1549
PTS
.FSKUPDATE fskupdCell;
1554
|| arrayTableCellMerge[iC] ==
PTS
.FSTABLEKCELLMERGE.fskcellmergeMiddle
1555
|| arrayTableCellMerge[iC] ==
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast )
1560
fskupdCell = (arrayUpdate[iC] !=
PTS
.FSKUPDATE.fskupdInherited)
1564
if (fskupdCell !=
PTS
.FSKUPDATE.fskupdNoChange)
1571
if ( fskupdCell ==
PTS
.FSKUPDATE.fskupdNew
1634
PTS
.FSKUPDATE fskupdRow,
1637
PTS
.FSKUPDATE[] arrayUpdate;
1639
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1667
PTS
.FSKUPDATE fskupdCell;
1676
fskupdCell = (arrayUpdate[iC] !=
PTS
.FSKUPDATE.fskupdInherited)
1693
PTS
.FSKUPDATE fskupdCell;
1704
if (fskupdCell !=
PTS
.FSKUPDATE.fskupdNoChange)
1709
if (fskupdCell ==
PTS
.FSKUPDATE.fskupdNew)
1800
private double GetActualRowHeight(
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, int rowIndex, MbpInfo mbpInfo)
1827
private void DrawRowGroupBackgrounds(DrawingContext dc,
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, Rect tableContentRect, MbpInfo mbpInfo)
1884
private void DrawRowBackgrounds(DrawingContext dc,
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, Rect tableContentRect, MbpInfo mbpInfo)
2017
int ptsNoWidthChanges =
PTS
.True;
2399
if (_calculatedColumns[i].PtsWidthChanged ==
PTS
.True)
2401
ptsNoWidthChanges =
PTS
.False;
2413
private
PTS
.FSRECT GetTableContentRect(MbpInfo mbpInfo)
2418
return new
PTS
.FSRECT(_rect.u + mbpInfo.BPLeft,
2448
internal
PTS
.FSKUPDATE fskupdCell;
2462
private
PTS
.FSRECT _columnRect;
MS\Internal\PtsHost\TableParagraph.cs (30)
116
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
121
fspap.fKeepWithNext =
PTS
.False;
122
fspap.fBreakPageBefore =
PTS
.False;
123
fspap.fBreakColumnBefore =
PTS
.False;
150
out
PTS
.FSTABLEOBJPROPS fstableobjprops)// OUT: properties of the table
152
fstableobjprops = new
PTS
.FSTABLEOBJPROPS();
154
fstableobjprops.fskclear =
PTS
.FSKCLEAR.fskclearNone;
155
fstableobjprops.ktablealignment =
PTS
.FSKTABLEOBJALIGNMENT.fsktableobjAlignLeft;
156
fstableobjprops.fFloat =
PTS
.False;
157
fstableobjprops.fskwr =
PTS
.FSKWRAP.fskwrBoth;
158
fstableobjprops.fDelayNoProgress =
PTS
.False;
163
fstableobjprops.fswdirTable =
PTS
.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty));
202
fFound =
PTS
.False;
219
fFound =
PTS
.False;
234
fFound =
PTS
.False;
251
fFound =
PTS
.False;
287
fFound =
PTS
.True;
292
fFound =
PTS
.False;
362
fFound =
PTS
.True;
367
fFound =
PTS
.False;
385
fHeaderChanged =
PTS
.False;
386
fRepeatedHeaderChanged =
PTS
.False;
387
fFooterChanged =
PTS
.False;
388
fRepeatedFooterChanged =
PTS
.False;
403
fFound =
PTS
.True;
404
fChangeFirst =
PTS
.True;
415
out
PTS
.FSKTABLEHEIGHTDISTRIBUTION tabledistr) // OUT: height distribution kind
417
tabledistr =
PTS
.FSKTABLEHEIGHTDISTRIBUTION.fskdistributeUnchanged;
424
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
429
fskch =
PTS
.FSKCHANGE.fskchNew;
MS\Internal\PtsHost\TextParaClient.cs (402)
53
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
56
PTS
.FSTEXTDETAILS textDetails;
57
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
67
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
104
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
131
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
138
PTS
.FSRECT pageRect = _pageContext.PageRect;
146
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
149
PTS
.FSTEXTDETAILS textDetails;
150
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
151
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
169
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
175
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
178
PTS
.ValidateHandle(paraClient);
189
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
194
PTS
.FSTEXTDETAILS textDetails;
195
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
201
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
203
PTS
.FSPOINT localPoint = pt;
213
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
229
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
253
PTS
.FSTEXTDETAILS textDetails;
254
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
260
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
265
PTS
.FSATTACHEDOBJECTDESCRIPTION[] arrayAttachedObjectDesc;
270
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
273
PTS
.ValidateHandle(paraClient);
290
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
304
PTS
.FSRECT pageRect = _pageContext.PageRect;
308
PTS
.FSRECT rectTransform = new
PTS
.FSRECT(rectangles[index]);
309
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectTransform,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectTransform));
318
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
345
PTS
.FSTEXTDETAILS textDetails;
346
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
352
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
356
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
371
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
386
PTS
.FSTEXTDETAILS textDetails;
387
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
390
if ( textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull
394
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
402
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
405
PTS
.ValidateHandle(paraClient);
424
PTS
.FSTEXTDETAILS textDetails;
425
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
428
if ( textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull
431
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
439
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
442
PTS
.ValidateHandle(paraClient);
458
PTS
.FSTEXTDETAILS textDetails;
462
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
464
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
484
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc = null;
517
PTS
.FSTEXTDETAILS textDetails;
518
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
529
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
533
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
536
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
543
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
560
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
567
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
571
PTS
.FSLINEELEMENT[] arrayLineElement;
577
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
602
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
632
PTS
.FSTEXTDETAILS textDetails;
633
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
635
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
640
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
685
PTS
.FSTEXTDETAILS textDetails;
686
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
692
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
698
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
713
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
720
PTS
.FSRECT pageRect = _pageContext.PageRect;
721
PTS
.FSRECT rectTransform = new
PTS
.FSRECT(rect);
722
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectTransform,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectTransform));
763
PTS
.FSTEXTDETAILS textDetails;
764
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
770
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
774
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
794
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
831
PTS
.FSTEXTDETAILS textDetails;
832
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
838
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
842
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
857
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
881
PTS
.FSTEXTDETAILS textDetails;
882
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
888
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
892
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
907
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
924
PTS
.FSTEXTDETAILS textDetails;
925
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
931
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
935
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
950
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
971
PTS
.FSTEXTDETAILS textDetails;
972
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
988
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
992
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
995
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
1002
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1020
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
1027
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
1031
PTS
.FSLINEELEMENT [] arrayLineElement;
1037
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
1064
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
1108
PTS
.FSTEXTDETAILS textDetails;
1109
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
1115
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
1123
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
1138
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
1174
PTS
.FSTEXTDETAILS textDetails;
1175
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
1176
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
1192
PTS
.FSTEXTDETAILS textDetails;
1193
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
1194
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
1238
PTS
.FSTEXTDETAILS textDetails;
1239
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
1245
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
1251
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
1254
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
1259
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1280
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
1285
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
1288
PTS
.FSLINEELEMENT[] arrayLineElement;
1293
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
1316
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
1323
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
1326
PTS
.ValidateHandle(paraClient);
1330
PTS
.FSFLOATERDETAILS floaterDetails;
1331
PTS
.Validate(
PTS
.FsQueryFloaterDetails(PtsContext.Context, attachedObjectDesc.pfspara, out floaterDetails));
1332
PTS
.FSRECT rectFloater = floaterDetails.fsrcFloater;
1336
PTS
.FSRECT pageRect = _pageContext.PageRect;
1337
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectFloater,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectFloater));
1340
((FloaterParaClient)paraClient).ArrangeFloater(rectFloater, _rect,
PTS
.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
1344
PTS
.FSFIGUREDETAILS figureDetails;
1345
PTS
.Validate(
PTS
.FsQueryFigureObjectDetails(PtsContext.Context, attachedObjectDesc.pfspara, out figureDetails));
1346
PTS
.FSRECT rectFigure = figureDetails.fsrcFlowAround;
1350
PTS
.FSRECT pageRect = _pageContext.PageRect;
1351
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectFigure,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectFigure));
1354
((FigureParaClient)paraClient).ArrangeFigure(rectFigure, _rect,
PTS
.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
1366
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
1384
private void SyncUpdateDeferredLineVisuals(VisualCollection lineVisuals, ref
PTS
.FSTEXTDETAILSFULL textDetails, bool ignoreUpdateInfo)
1386
Debug.Assert(!
PTS
.ToBoolean(textDetails.fLinesComposite));
1390
if (!
PTS
.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo ||
1398
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
1470
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1515
private ReadOnlyCollection<LineResult> LineResultsFromSimpleLines(ref
PTS
.FSTEXTDETAILSFULL textDetails)
1517
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1523
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
1531
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1540
PTS
.FSRECT pageRect = _pageContext.PageRect;
1541
PTS
.FSRECT rectTransform = new
PTS
.FSRECT(lbox);
1542
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectTransform,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectTransform));
1567
private ReadOnlyCollection<LineResult> LineResultsFromCompositeLines(ref
PTS
.FSTEXTDETAILSFULL textDetails)
1569
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1575
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
1583
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
1587
PTS
.FSLINEELEMENT [] arrayLineElement;
1592
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
1601
PTS
.FSRECT pageRect = _pageContext.PageRect;
1602
PTS
.FSRECT rectTransform = new
PTS
.FSRECT(lbox);
1603
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectTransform,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectTransform));
1634
ref
PTS
.FSTEXTDETAILSFULL textDetails,
1638
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1644
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
1650
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1661
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1668
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
1722
ref
PTS
.FSTEXTDETAILSFULL textDetails,
1726
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1732
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
1738
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
1742
PTS
.FSLINEELEMENT [] arrayLineElement;
1747
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
1758
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
1765
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
1816
ref
PTS
.FSTEXTDETAILSFULL textDetails,
1819
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1827
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
1841
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[lineIndex];
1923
ref
PTS
.FSTEXTDETAILSFULL textDetails,
1926
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1934
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
1939
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[lineIndex];
1946
PTS
.FSLINEELEMENT[] arrayLineElement;
1951
PTS
.FSLINEELEMENT elemDesc = arrayLineElement[elemIndex];
2064
ref
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc,
2072
Rect lineRect = new
PTS
.FSRECT(lineDesc.urBBox, lineDesc.vrStart, lineDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).FromTextDpi();
2103
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2108
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2175
ref
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc,
2177
ref
PTS
.FSLINEELEMENT elemDesc,
2183
Rect elementRect = new
PTS
.FSRECT(elemDesc.urBBox, lineDesc.vrStart, elemDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).FromTextDpi();
2214
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(elemDesc.fClearOnLeft),
PTS
.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2219
TextParagraph.FormatLineCore(line, elemDesc.pfsbreakreclineclient, ctx, elemDesc.dcpFirst, elemDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), elemDesc.dcpFirst);
2324
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2331
PTS
.FSATTACHEDOBJECTDESCRIPTION[] arrayAttachedObjectDesc;
2336
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
2339
PTS
.ValidateHandle(objectParaClient);
2366
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2368
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2374
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
2382
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
2431
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2438
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2458
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2460
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2466
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
2474
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
2481
PTS
.FSLINEELEMENT[] arrayLineElement;
2486
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
2555
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2562
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
2584
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2586
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2592
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
2601
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
2634
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2641
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2709
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2711
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2717
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
2726
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
2730
PTS
.FSLINEELEMENT [] arrayLineElement;
2735
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
2800
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2807
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
2874
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2876
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2882
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
2891
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
2916
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2923
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2966
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2968
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2974
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
2983
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
2987
PTS
.FSLINEELEMENT[] arrayLineElement;
2992
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);
3093
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3095
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3101
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
3107
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3114
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3121
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3146
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3148
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3154
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
3160
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
3164
PTS
.FSLINEELEMENT[] arrayLineElement;
3169
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3176
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3183
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3206
ref
PTS
.FSTEXTDETAILSFULL textDetails,
3209
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3218
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
3222
if (!
PTS
.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo)
3230
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3233
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3241
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3275
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3278
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3286
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3315
private bool IntersectsWithRectOnV(ref
PTS
.FSRECT rect)
3324
private bool ContainedInRectOnV(ref
PTS
.FSRECT rect)
3333
private ContainerVisual CreateLineVisual(ref
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc, int cpTextParaStart)
3335
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3343
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3362
ref
PTS
.FSTEXTDETAILSFULL textDetails,
3363
ref
PTS
.FSRECT viewport)
3367
Debug.Assert(!
PTS
.ToBoolean(textDetails.fLinesComposite));
3389
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
3405
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[lineIndex];
3420
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[lineIndex];
3446
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3466
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3506
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3580
ref
PTS
.FSTEXTDETAILSFULL textDetails,
3583
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3589
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
3593
if (!
PTS
.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo)
3601
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
3619
PTS
.FSLINEELEMENT [] arrayLineElement;
3624
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3627
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3635
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3670
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
3688
PTS
.FSLINEELEMENT [] arrayLineElement;
3693
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3696
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3704
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3734
PTS
.FSKUPDATE fskupdInherited,
3738
PTS
.FSKUPDATE fskupd;
3745
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
3754
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
3757
PTS
.ValidateHandle(paraClient);
3760
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
3765
if(fskupd !=
PTS
.FSKUPDATE.fskupdNoChange)
3777
PTS
.FSPOINT pt,
3778
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3780
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3789
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
3795
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3800
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3811
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3838
private bool IsDeferredVisualCreationSupported(ref
PTS
.FSTEXTDETAILSFULL textDetails)
3843
if(
PTS
.ToBoolean(textDetails.fLinesComposite))
3860
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3862
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3877
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
3883
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3899
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc,
3928
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3935
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3957
PTS
.FSPOINT pt,
3958
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3960
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3969
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
3975
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
3983
PTS
.FSLINEELEMENT [] arrayLineElement;
3988
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3991
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4002
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
4040
ref
PTS
.FSTEXTDETAILSFULL textDetails)
4042
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
4054
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
4060
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
4081
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc,
4102
PTS
.FSLINEELEMENT[] arrayLineElement;
4107
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
4127
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4134
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
MS\Internal\PtsHost\TextParagraph.cs (27)
105
ref
PTS
.FSPAP fspap)
109
fspap.fKeepWithNext =
PTS
.False;
110
fspap.fBreakPageBefore =
PTS
.False;
111
fspap.fBreakColumnBefore =
PTS
.False;
114
fspap.idobj =
PTS
.fsidobjText;
147
ref
PTS
.FSTXTPROPS fstxtprops)
151
fstxtprops.fswdir =
PTS
.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty));
153
fstxtprops.fKeepTogether =
PTS
.FromBoolean(DynamicPropertyReader.GetKeepTogether(Element));
156
fstxtprops.fDropCap =
PTS
.False;
157
fstxtprops.fVerticalGrid =
PTS
.False;
158
fstxtprops.fOptimizeParagraph =
PTS
.FromBoolean(IsOptimalParagraph);
160
fstxtprops.fAvoidHyphenationAtTrackBottom =
PTS
.False;
161
fstxtprops.fAvoidHyphenationOnLastChainElement =
PTS
.False;
513
out
PTS
.FSFLRES fsflres,
563
fForcedBroken =
PTS
.FromBoolean(line.IsTruncated);
570
fReformatNeighborsAsLastLine =
PTS
.False;
699
out
PTS
.FSFLRES fsflres,
747
fForcedBroken =
PTS
.FromBoolean(line.IsTruncated);
754
fReformatNeighborsAsLastLine =
PTS
.False;
980
figurePara.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
1003
floaterPara.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
1143
internal override void SetUpdateInfo(
PTS
.FSKCHANGE fskch, bool stopAsking)
1147
if (fskch ==
PTS
.FSKCHANGE.fskchInside)
1338
PTS
.ValidateHandle(lineBreakRecord);
1398
internal void UpdateTextContentRangeFromAttachedObjects(TextContentRange textContentRange, int dcpFirst, int dcpLast,
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc)
1428
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObject = arrayAttachedObjectDesc[index];
1432
PTS
.ValidateHandle(paraClient);
MS\Internal\PtsHost\UIElementParaClient.cs (11)
59
PTS
.FSFLOATERDETAILS floaterDetails;
60
PTS
.Validate(
PTS
.FsQueryFloaterDetails(PtsContext.Context, _paraHandle, out floaterDetails));
70
PTS
.FSRECT pageRect = _pageContext.PageRect;
71
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ParentFlowDirection), ref pageRect, ref _rect,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out _rect));
98
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
125
uiElementIsland.Offset = new
PTS
.FSVECTOR(_rect.u + mbp.BPLeft, _rect.v + mbp.BPTop).FromTextDpi();
163
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
MS\Internal\PtsHost\UIElementParagraph.cs (49)
145
out
PTS
.FSFLOATERPROPS fsfloaterprops) // OUT: properties of the floater
147
fsfloaterprops = new
PTS
.FSFLOATERPROPS();
148
fsfloaterprops.fFloat =
PTS
.False; // Floater
149
fsfloaterprops.fskclear =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
152
fsfloaterprops.fskfloatalignment =
PTS
.FSKFLOATALIGNMENT.fskfloatalignMin;
153
fsfloaterprops.fskwr =
PTS
.FSKWRAP.fskwrNone;
156
fsfloaterprops.fDelayNoProgress =
PTS
.True;
173
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
175
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting
180
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
187
if (fAtMaxWidth ==
PTS
.False && fEmptyOk ==
PTS
.True)
192
fsfmtr = new
PTS
.FSFMTR();
193
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
194
fsfmtr.fContainsItemThatStoppedBeforeFootnote =
PTS
.False;
195
fsfmtr.fForcedProgress =
PTS
.False;
196
fsbbox = new
PTS
.FSBBOX();
197
fsbbox.fDefined =
PTS
.False;
205
fsfmtr.fForcedProgress =
PTS
.FromBoolean(fAtMaxWidth ==
PTS
.False);
219
fsbbox.fsrc = new
PTS
.FSRECT();
226
if (dvrAvailable < dvrFloaterHeight && fEmptyOk ==
PTS
.True)
230
fsfmtr = new
PTS
.FSFMTR();
231
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
232
fsbbox = new
PTS
.FSBBOX();
233
fsbbox.fDefined =
PTS
.False;
240
fsbbox.fDefined =
PTS
.True;
245
Invariant.Assert(fEmptyOk ==
PTS
.False);
246
fsfmtr.fForcedProgress =
PTS
.True;
248
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrGoalReached;
253
fsfmtr.fContainsItemThatStoppedBeforeFootnote =
PTS
.False;
267
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
271
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
278
if (fAtMaxWidth ==
PTS
.False)
285
fsfmtrbl =
PTS
.FSFMTRBL.fmtrblInterrupted;
286
fsbbox = new
PTS
.FSBBOX();
287
fsbbox.fDefined =
PTS
.False;
302
fsfmtrbl =
PTS
.FSFMTRBL.fmtrblGoalReached;
303
fsbbox.fDefined =
PTS
.True;
312
fsbbox.fsrc = new
PTS
.FSRECT();
315
fsbbox.fDefined =
PTS
.True;
317
fsfmtrbl =
PTS
.FSFMTRBL.fmtrblGoalReached;
335
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
338
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
383
private void FormatUIElement(int durAvailable, out
PTS
.FSBBOX fsbbox)
409
fsbbox.fsrc = new
PTS
.FSRECT();
412
fsbbox.fDefined =
PTS
.True;
436
fsbbox.fsrc = new
PTS
.FSRECT();
439
fsbbox.fDefined =
PTS
.True;
MS\Internal\PtsHost\UpdateRecord.cs (2)
29
ChangeType =
PTS
.FSKCHANGE.fskchNone;
72
internal
PTS
.FSKCHANGE ChangeType;
MS\Internal\PtsTable\CalculatedColumn.cs (1)
68
internal int PtsWidthChanged { get { return (
PTS
.FromBoolean(!CheckFlags(Flags.ValidWidth))); } }
MS\Internal\Text\TextDpi.cs (7)
69
internal static
PTS
.FSPOINT ToTextPoint(Point point)
71
PTS
.FSPOINT fspoint = new
PTS
.FSPOINT();
80
internal static
PTS
.FSVECTOR ToTextSize(Size size)
82
PTS
.FSVECTOR fsvector = new
PTS
.FSVECTOR();
91
internal static Rect FromTextRect(
PTS
.FSRECT fsrect)
System\Windows\Documents\Block.cs (2)
487
double maxLineHeight = Math.Min(1000000,
PTS
.MaxFontSize);
531
double maxThickness = Math.Min(1000000,
PTS
.MaxPageSize);
System\Windows\Documents\Figure.cs (1)
298
double maxOffset = Math.Min(1000000,
PTS
.MaxPageSize);
System\Windows\Documents\Floater.cs (1)
132
double maxWidth = Math.Min(1000000,
PTS
.MaxPageSize);
System\Windows\Documents\FlowDocument.cs (5)
1529
double maxSize = Math.Min(1000000,
PTS
.MaxPageSize);
1544
double maxSize = Math.Min(1000000,
PTS
.MaxPageSize);
1559
double maxSize = Math.Min(1000000,
PTS
.MaxPageSize);
1580
double maxRuleWidth = Math.Min(1000000,
PTS
.MaxPageSize);
1591
double maxGap = Math.Min(1000000,
PTS
.MaxPageSize);
System\Windows\Documents\List.cs (1)
327
double maxOffset = Math.Min(1000000,
PTS
.MaxPageSize);
System\Windows\Documents\Paragraph.cs (3)
289
const int maxLines =
PTS
.Restrictions.tscLineInParaRestriction;
296
const int maxLines =
PTS
.Restrictions.tscLineInParaRestriction;
303
double maxIndent = Math.Min(1000000,
PTS
.MaxPageSize);
System\Windows\Documents\Table.cs (1)
378
double maxSpacing = Math.Min(1000000,
PTS
.MaxPageSize);
System\Windows\Documents\TableCell.cs (1)
558
const int maxSpan =
PTS
.Restrictions.tscTableColumnsRestriction;
System\Windows\Documents\TableColumn.cs (1)
197
double maxPixel = Math.Min(1000000,
PTS
.MaxPageSize);
System\Windows\Documents\TextElement.cs (1)
1605
double maxFontSize = Math.Min(1000000,
PTS
.MaxFontSize);
System\Windows\Documents\TextRangeEdit.cs (2)
2346
new DoublePropertyRange (Paragraph.TextIndentProperty, -Math.Min(1000000,
PTS
.MaxPageSize), Math.Min(1000000,
PTS
.MaxPageSize))
System\Windows\FigureLength.cs (2)
99
double maxColumns =
PTS
.Restrictions.tscColumnRestriction;
100
double maxPixel = Math.Min(1000000,
PTS
.MaxPageSize);