2658 references to PTS
PresentationFramework (2658)
MS\Internal\Documents\ColumnResult.cs (2)
45
internal ColumnResult(FlowDocumentPage page, ref
PTS
.FSTRACKDESCRIPTION trackDesc, Vector contentOffset)
64
internal ColumnResult(BaseParaClient subpage, ref
PTS
.FSTRACKDESCRIPTION trackDesc, Vector contentOffset)
MS\Internal\Documents\FlowDocumentFormatter.cs (2)
133
PTS
.FSRECT fsrectViewport = new
PTS
.FSRECT(viewport);
MS\Internal\PtsHost\BaseParaClient.cs (7)
70
internal void Arrange(IntPtr pfspara,
PTS
.FSRECT rcPara, int dvrTopSpace, uint fswdirParent)
87
_flowDirectionParent =
PTS
.FswdirToFlowDirection(fswdirParent);
120
internal virtual IInputElement InputHitTest(
PTS
.FSPOINT pt)
158
internal virtual void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited) { }
164
internal virtual void UpdateViewport(ref
PTS
.FSRECT viewport) { }
219
internal
PTS
.FSRECT Rect { get { return _rect; } }
267
protected
PTS
.FSRECT _rect;
MS\Internal\PtsHost\BaseParagraph.cs (13)
49
_changeType =
PTS
.FSKCHANGE.fskchNone;
75
out
PTS
.FSKCHANGE fskch,
79
fNoFurtherChanges =
PTS
.FromBoolean(_stopAsking);
125
ref
PTS
.FSPAP fspap);
157
internal virtual void SetUpdateInfo(
PTS
.FSKCHANGE fskch, bool stopAsking)
168
_changeType =
PTS
.FSKCHANGE.fskchNone;
220
protected void GetParaProperties(ref
PTS
.FSPAP fspap, bool ignoreElementProps)
224
fspap.fKeepWithNext =
PTS
.FromBoolean(DynamicPropertyReader.GetKeepWithNext(_element));
226
fspap.fBreakPageBefore = _element is Block ?
PTS
.FromBoolean(StructuralCache.CurrentFormatContext.FinitePage && ((Block)_element).BreakPageBefore) :
PTS
.FromBoolean(false);
228
fspap.fBreakColumnBefore = _element is Block ?
PTS
.FromBoolean(((Block)_element).BreakColumnBefore) :
PTS
.FromBoolean(false);
287
protected
PTS
.FSKCHANGE _changeType;
MS\Internal\PtsHost\CellParaClient.cs (45)
78
internal void Arrange(int du, int dv,
PTS
.FSRECT rcTable, FlowDirection tableFlowDirection, PageContext pageContext)
100
PTS
.FSRECT pageRect = pageContext.PageRect;
102
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(PageFlowDirection), ref pageRect, ref rcTable,
PTS
.FlowDirectionToFswdir(tableFlowDirection), out rcTable));
112
PTS
.FSRECT pageRect = pageContext.PageRect;
114
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(tableFlowDirection), ref pageRect, ref _rect,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out _rect));
125
PTS
.Validate(
PTS
.FsClearUpdateInfoInSubpage(PtsContext.Context, _paraHandle), PtsContext);
134
ValidateVisual(
PTS
.FSKUPDATE.fskupdNew);
150
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
151
out
PTS
.FSFMTR fsfmtr, out int dvrUsed, out IntPtr breakRecordOut)
154
PTS
.FSBBOX fsbbox;
156
PTS
.FSKCLEAR fskclearOut;
158
PTS
.FSPAP fspap;
166
fspap = new
PTS
.FSPAP();
169
PTS
.FSRECT rectCell;
171
rectCell = new
PTS
.FSRECT();
182
PTS
.FromBoolean(true),
184
PTS
.FromBoolean(isEmptyOk),
185
PTS
.FromBoolean(suppressTopSpace),
189
PTS
.FSKCLEAR.fskclearNone,
203
PTS
.ValidateHandle(mcs);
218
internal void FormatCellBottomless(uint fswdir, double width, out
PTS
.FSFMTRBL fmtrbl, out int dvrUsed)
221
PTS
.FSBBOX fsbbox;
223
PTS
.FSKCLEAR fskclearOut;
226
PTS
.FSPAP fspap;
234
fspap = new
PTS
.FSPAP();
237
CellParagraph.FormatParaBottomless(this,
PTS
.FromBoolean(false),
239
0, null,
PTS
.FSKCLEAR.fskclearNone,
240
PTS
.FromBoolean(true),
253
PTS
.ValidateHandle(mcs);
270
internal void UpdateBottomlessCell(uint fswdir, double width, out
PTS
.FSFMTRBL fmtrbl, out int dvrUsed)
273
PTS
.FSKCLEAR fskclearOut;
274
PTS
.FSBBOX fsbbox;
278
PTS
.FSPAP fspap;
280
fspap = new
PTS
.FSPAP();
284
PTS
.FromBoolean(false),
288
PTS
.FSKCLEAR.fskclearNone,
289
PTS
.FromBoolean(true),
300
PTS
.ValidateHandle(mcs);
MS\Internal\PtsHost\CellParagraph.cs (14)
63
out
PTS
.FSFMTR pfmtr, // OUT:
86
PTS
.ToBoolean(fEmptyOK),
88
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA.fsksuppresshardbreakbeforefirstparaNone,
96
if(pfmtr.kstop ==
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace)
105
if (
PTS
.ToBoolean(fEmptyOK))
110
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(cellParaClient.PtsContext.Context, pfsbrkcellOut), cellParaClient.PtsContext);
115
pfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
120
pfmtr.fForcedProgress =
PTS
.True;
136
out
PTS
.FSFMTRBL fmtrbl, // OUT:
167
out
PTS
.FSFMTRBL fmtrbl, // OUT:
208
out
PTS
.FSKCHANGE fskchCell) // OUT:
211
fWidthChanged =
PTS
.True;
212
fskchCell =
PTS
.FSKCHANGE.fskchNew;
MS\Internal\PtsHost\ContainerParaClient.cs (39)
52
PTS
.FSSUBTRACKDETAILS subtrackDetails;
53
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
69
uint fswdirSubtrack =
PTS
.FlowDirectionToFswdir(_flowDirection);
75
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
89
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
94
PTS
.FSSUBTRACKDETAILS subtrackDetails;
95
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
104
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
147
PTS
.FSSUBTRACKDETAILS subtrackDetails;
148
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
156
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
179
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
182
PTS
.FSSUBTRACKDETAILS subtrackDetails;
183
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
202
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
220
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
223
PTS
.FSSUBTRACKDETAILS subtrackDetails;
224
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
230
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
271
PTS
.FSSUBTRACKDETAILS subtrackDetails;
272
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
277
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
296
PTS
.ValidateHandle(paraClient);
330
PTS
.FSSUBTRACKDETAILS subtrackDetails;
331
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
342
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
349
PTS
.ValidateHandle(paraClient);
380
PTS
.FSSUBTRACKDETAILS subtrackDetails;
381
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
389
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
393
PTS
.ValidateHandle(paraClient);
MS\Internal\PtsHost\ContainerParagraph.cs (95)
109
_ur.SyncPara.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNone, _ur.Next == null);
149
_firstChild.SetUpdateInfo(
PTS
.FSKCHANGE.fskchInside, false);
166
_firstChild.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
177
fSuccessful =
PTS
.FromBoolean(_firstChild != null);
215
_ur.SyncPara.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNone, _ur.Next == null);
230
prevParagraph.Next.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNone, false);
235
Debug.Assert(_ur.ChangeType ==
PTS
.FSKCHANGE.fskchInside); // Inconsistent UpdateRecord data
237
prevParagraph.Next.SetUpdateInfo(
PTS
.FSKCHANGE.fskchInside, false);
257
if (_changeType ==
PTS
.FSKCHANGE.fskchInside)
259
nextParagraph.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
267
fFound =
PTS
.True;
273
fFound =
PTS
.False;
306
fFound =
PTS
.FromBoolean(_ur != null);
307
fChangeFirst =
PTS
.FromBoolean((_ur != null) && (_firstChild == null || _firstChild == _ur.FirstPara));
308
if (
PTS
.ToBoolean(fFound) && !
PTS
.ToBoolean(fChangeFirst))
324
if (_ur.ChangeType ==
PTS
.FSKCHANGE.fskchNew)
335
if (
PTS
.ToBoolean(fFound))
337
_ur.InProcessing =
PTS
.ToBoolean(fChangeFirst);
338
_changeType =
PTS
.FSKCHANGE.fskchInside;
363
out
PTS
.FSKCHANGE fskch) // OUT: kind of change
408
para.SetUpdateInfo(
PTS
.FSKCHANGE.fskchInside, false);
413
para.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
422
para.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
427
_changeType =
PTS
.FSKCHANGE.fskchInside;
437
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
472
ref
PTS
.FSRECT fsrcToFill, // IN: rectangle to fill
474
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
475
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
477
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting the paragraph
481
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
483
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
486
uint fswdirSubtrack =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
509
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
514
PTS
.FSRECT fsrcToFillSubtrack = fsrcToFill;
519
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
521
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubtrack, fswdirSubtrack, out fsrcToFillSubtrack));
522
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFill, fswdirSubtrack, out fsrcToFill));
535
if (
PTS
.ToBoolean(fSuppressTopSpace))
550
PTS
.Validate(
PTS
.FsFormatSubtrackFinite(PtsContext.Context, pbrkrecIn, fBRFromPreviousPage, this.Handle, iArea,
566
if (dvrSubTrackTopSpace >
PTS
.dvBottomUndefined / 2)
577
if (fsfmtr.kstop >=
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace) // No progress or collision
587
PTS
.ValidateHandle(mcsContainer);
591
if (fsfmtr.kstop ==
PTS
.FSFMTRKSTOP.fmtrGoalReached)
620
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
621
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubtrack, ref pageRect, ref fsbbox, fswdir, out fsbbox));
641
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
643
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
646
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
648
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
652
uint fswdirSubtrack =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
662
if (
PTS
.ToBoolean(fSuppressTopSpace))
669
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
673
PTS
.FSRECT fsrcToFillSubtrack = new
PTS
.FSRECT(urTrack, 0, durTrack, 0);
674
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
675
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubtrack, fswdirSubtrack, out fsrcToFillSubtrack));
693
PTS
.Validate(
PTS
.FsFormatSubtrackBottomless(PtsContext.Context, this.Handle, iArea,
709
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
717
PTS
.ValidateHandle(mcsContainer);
749
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
750
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubtrack, ref pageRect, ref fsbbox, fswdir, out fsbbox));
772
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
774
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
776
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
778
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
782
uint fswdirSubtrack =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
792
if (
PTS
.ToBoolean(fSuppressTopSpace))
799
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
803
PTS
.FSRECT fsrcToFillSubtrack = new
PTS
.FSRECT(urTrack, 0, durTrack, 0);
804
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
805
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubtrack, fswdirSubtrack, out fsrcToFillSubtrack));
823
PTS
.Validate(
PTS
.FsUpdateBottomlessSubtrack(PtsContext.Context, pfspara, this.Handle, iArea,
839
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
847
PTS
.ValidateHandle(mcsContainer);
879
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
880
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubtrack, ref pageRect, ref fsbbox, fswdir, out fsbbox));
1182
else if (ur.SyncPara == ur.Next.FirstPara && ur.Next.ChangeType ==
PTS
.FSKCHANGE.fskchNew)
1205
if (ur.ChangeType ==
PTS
.FSKCHANGE.fskchInside)
1235
if (_ur.FirstPara == _firstChild && _ur.ChangeType ==
PTS
.FSKCHANGE.fskchNew)
1291
ur.ChangeType =
PTS
.FSKCHANGE.fskchNew;
1295
ur.ChangeType =
PTS
.FSKCHANGE.fskchInside;
1299
ur.ChangeType =
PTS
.FSKCHANGE.fskchNew;
1307
|| (dcpPara + para.LastFormatCch == ur.Dtr.StartIndex + ur.Dtr.PositionsRemoved && ur.ChangeType !=
PTS
.FSKCHANGE.fskchNew))
MS\Internal\PtsHost\EmbeddedObject.cs (1)
108
Para.SetUpdateInfo(
PTS
.FSKCHANGE.fskchInside, false);
MS\Internal\PtsHost\FigureParaClient.cs (84)
49
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, SubpageHandle), PtsContext);
71
PTS
.FSSUBPAGEDETAILS subpageDetails;
72
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
98
if (
PTS
.ToBoolean(subpageDetails.fSimple))
100
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.simple.trackdescr.fsrc);
113
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.complex.fsrc);
120
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
141
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
144
PTS
.FSSUBPAGEDETAILS subpageDetails;
145
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
147
PTS
.FSRECT viewportSubpage = new
PTS
.FSRECT();
158
if (
PTS
.ToBoolean(subpageDetails.fSimple))
170
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
191
internal void ArrangeFigure(
PTS
.FSRECT rcFigure,
PTS
.FSRECT rcHostPara, uint fswdirParent, PageContext pageContext)
207
_flowDirectionParent =
PTS
.FswdirToFlowDirection(fswdirParent);
218
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
236
PTS
.FSSUBPAGEDETAILS subpageDetails;
237
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
243
pt = new
PTS
.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v);
249
if (
PTS
.ToBoolean(subpageDetails.fSimple))
260
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
300
PTS
.FSSUBPAGEDETAILS subpageDetails;
301
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
307
if (
PTS
.ToBoolean(subpageDetails.fSimple))
319
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
348
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
351
fskupdInherited =
PTS
.FSKUPDATE.fskupdNew;
354
PTS
.FSSUBPAGEDETAILS subpageDetails;
355
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
386
if (
PTS
.ToBoolean(subpageDetails.fSimple))
389
PTS
.FSKUPDATE fskupd = subpageDetails.u.simple.trackdescr.fsupdinf.fskupd;
390
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
395
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
420
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
426
PTS
.FSKUPDATE fskupd = fskupdInherited;
427
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
428
Debug.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdNoChange);
450
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
475
pageContentVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
476
floatingElementsVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
478
PTS
.FSRECT clipRect = new
PTS
.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
500
PTS
.FSSUBPAGEDETAILS subpageDetails;
501
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
507
if (
PTS
.ToBoolean(subpageDetails.fSimple))
521
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
561
PTS
.FSSUBPAGEDETAILS subpageDetails;
562
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
571
if (
PTS
.ToBoolean(subpageDetails.fSimple))
575
PTS
.FSTRACKDETAILS trackDetails;
576
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
584
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
591
PTS
.ValidateHandle(paraClient);
610
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
615
PTS
.FSTRACKDETAILS trackDetails;
616
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
624
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
631
PTS
.ValidateHandle(paraClient);
660
PTS
.FSSUBPAGEDETAILS subpageDetails;
661
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
667
if (
PTS
.ToBoolean(subpageDetails.fSimple))
670
PTS
.FSTRACKDETAILS trackDetails;
671
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
690
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
695
PTS
.FSTRACKDETAILS trackDetails;
696
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
774
internal
PTS
.FSRECT ContentRect { get { return _contentRect; } }
795
private
PTS
.FSRECT _contentRect;
796
private
PTS
.FSRECT _paddingRect;
MS\Internal\PtsHost\FigureParagraph.cs (76)
83
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
86
fspap.idobj =
PTS
.fsidobjFigure;
121
out
PTS
.FSFIGUREPROPS fsfigprops, // OUT: figure attributes
131
uint fswdirPara =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
134
PTS
.FSBBOX fsbbox;
137
PTS
.FSCOLUMNINFO[] columnInfoCollection;
174
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
180
PTS
.FSFMTR fsfmtr;
182
PTS
.FSRECT marginRect = new
PTS
.FSRECT(0, 0, subpageWidth, subpageHeight);
184
CreateSubpageFiniteHelper(PtsContext, IntPtr.Zero,
PTS
.False, _mainTextSegment.Handle, IntPtr.Zero,
PTS
.False,
PTS
.True,
186
cColumns, columnInfoCollection,
PTS
.False,
192
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(PtsContext.Context, brParaOut));
201
if(
PTS
.ToBoolean(fsbbox.fDefined))
209
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFigureContent), PtsContext);
214
PTS
.ValidateHandle(mcs);
223
PTS
.FSFMTR fsfmtr;
225
PTS
.FSRECT marginRect = new
PTS
.FSRECT(0, 0, subpageWidth, subpageHeight);
227
CreateSubpageFiniteHelper(PtsContext, IntPtr.Zero,
PTS
.False, _mainTextSegment.Handle, IntPtr.Zero,
PTS
.False,
PTS
.True,
229
cColumns, columnInfoCollection,
PTS
.False,
235
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(PtsContext.Context, brParaOut));
254
PTS
.ValidateHandle(mcs);
270
fsfigprops.fskrefU = (
PTS
.FSKREF)(((int)horzAnchor) / 3);
271
fsfigprops.fskrefV = (
PTS
.FSKREF)(((int)vertAnchor) / 3);
272
fsfigprops.fskalfU = (
PTS
.FSKALIGNFIG)(((int)horzAnchor) % 3);
273
fsfigprops.fskalfV = (
PTS
.FSKALIGNFIG)(((int)vertAnchor) % 3);
276
if (!
PTS
.ToBoolean(fInTextLine))
278
if (fsfigprops.fskrefU ==
PTS
.FSKREF.fskrefChar)
280
fsfigprops.fskrefU =
PTS
.FSKREF.fskrefMargin;
281
fsfigprops.fskalfU =
PTS
.FSKALIGNFIG.fskalfMin;
283
if (fsfigprops.fskrefV ==
PTS
.FSKREF.fskrefChar)
285
fsfigprops.fskrefV =
PTS
.FSKREF.fskrefMargin;
286
fsfigprops.fskalfV =
PTS
.FSKALIGNFIG.fskalfMin;
291
fsfigprops.fskwrap =
PTS
.WrapDirectionToFskwrap(element.WrapDirection);
292
fsfigprops.fNonTextPlane =
PTS
.False;
293
fsfigprops.fAllowOverlap =
PTS
.False;
294
fsfigprops.fDelayable =
PTS
.FromBoolean(element.CanDelayPlacement);
313
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
327
ref
PTS
.FSRECT fsrcPage, // IN: page rectangle
328
ref
PTS
.FSRECT fsrcMargin, // IN: rectangle within page margins
329
ref
PTS
.FSRECT fsrcTrack, // IN: track rectangle
330
ref
PTS
.FSRECT fsrcFigurePreliminary,// IN: prelim figure rect calculated from figure props
334
out
PTS
.FSRECT fsrcFlow, // OUT: FlowAround rectangle
335
out
PTS
.FSRECT fsrcOverlap, // OUT: Overlap rectangle
336
out
PTS
.FSBBOX fsbbox, // OUT: bbox
337
out
PTS
.FSRECT fsrcSearch) // OUT: search area for overlap
352
!
PTS
.ToBoolean(fMustPosition)) // Can delay placement is handled by figure properties.
354
fPushToNextTrack =
PTS
.True;
358
fPushToNextTrack =
PTS
.False;
410
fsbbox = new
PTS
.FSBBOX();
411
fsbbox.fDefined =
PTS
.True;
500
ref
PTS
.FSRECT rcMargin, // IN: rectangle within subpage margins
502
PTS
.FSCOLUMNINFO[] columnInfoCollection, // IN: array of column info
504
out
PTS
.FSFMTR fsfmtr, // OUT: why formatting was stopped
508
out
PTS
.FSBBOX fsBBox, // OUT: subpage bbox
518
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
520
PTS
.Validate(
PTS
.FsCreateSubpageFinite(ptsContext.Context, brParaIn, fFromPreviousPage, nSeg,
522
ref rcMargin, cColumns, rgColumnInfo,
PTS
.False,
523
0, null, null, 0, null, null,
PTS
.False,
524
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA.fsksuppresshardbreakbeforefirstparaNone,
534
private int CalculateParagraphToColumnOffset(FigureHorizontalAnchor horizontalAnchor,
PTS
.FSRECT fsrcInColumn)
656
private
PTS
.FSRECT CalculateSearchArea(FigureHorizontalAnchor horizAnchor, FigureVerticalAnchor vertAnchor, ref
PTS
.FSRECT fsrcPage, ref
PTS
.FSRECT fsrcMargin, ref
PTS
.FSRECT fsrcTrack, ref
PTS
.FSRECT fsrcFigurePreliminary)
658
PTS
.FSRECT fsrcSearch;
MS\Internal\PtsHost\FloaterBaseParaClient.cs (2)
61
internal virtual void ArrangeFloater(
PTS
.FSRECT rcFloater,
PTS
.FSRECT rcHostPara, uint fswdirParent, PageContext pageContext)
MS\Internal\PtsHost\FloaterBaseParagraph.cs (13)
71
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
74
fskch =
PTS
.FSKCHANGE.fskchNew;
75
fNoFurtherChanges =
PTS
.FromBoolean(_stopAsking);
82
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
109
out
PTS
.FSFLOATERPROPS fsfloaterprops); // OUT: properties of the floater
122
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
144
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
146
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting
151
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
165
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
169
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
184
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
187
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
MS\Internal\PtsHost\FloaterParaClient.cs (84)
73
PTS
.FSSUBPAGEDETAILS subpageDetails;
74
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
82
if (
PTS
.ToBoolean(subpageDetails.fSimple))
84
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.simple.trackdescr.fsrc);
97
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.complex.fsrc);
104
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
125
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
128
PTS
.FSSUBPAGEDETAILS subpageDetails;
129
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
131
PTS
.FSRECT viewportSubpage = new
PTS
.FSRECT();
142
if (
PTS
.ToBoolean(subpageDetails.fSimple))
154
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
176
internal override void ArrangeFloater(
PTS
.FSRECT rcFloater,
PTS
.FSRECT rcHostPara, uint fswdirParent, PageContext pageContext)
195
_flowDirectionParent =
PTS
.FswdirToFlowDirection(fswdirParent);
222
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
240
PTS
.FSSUBPAGEDETAILS subpageDetails;
241
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
247
pt = new
PTS
.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v);
253
if (
PTS
.ToBoolean(subpageDetails.fSimple))
264
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
304
PTS
.FSSUBPAGEDETAILS subpageDetails;
305
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
311
if (
PTS
.ToBoolean(subpageDetails.fSimple))
323
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
354
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
357
fskupdInherited =
PTS
.FSKUPDATE.fskupdNew;
360
PTS
.FSSUBPAGEDETAILS subpageDetails;
361
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
392
if (
PTS
.ToBoolean(subpageDetails.fSimple))
395
PTS
.FSKUPDATE fskupd = subpageDetails.u.simple.trackdescr.fsupdinf.fskupd;
396
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
401
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
426
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
432
PTS
.FSKUPDATE fskupd = fskupdInherited;
433
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
434
Debug.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdNoChange);
456
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
481
pageContentVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
482
floatingElementsVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
484
PTS
.FSRECT clipRect = new
PTS
.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
506
PTS
.FSSUBPAGEDETAILS subpageDetails;
507
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
513
if (
PTS
.ToBoolean(subpageDetails.fSimple))
527
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
568
PTS
.FSSUBPAGEDETAILS subpageDetails;
569
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
578
if (
PTS
.ToBoolean(subpageDetails.fSimple))
582
PTS
.FSTRACKDETAILS trackDetails;
583
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
592
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
599
PTS
.ValidateHandle(paraClient);
618
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
623
PTS
.FSTRACKDETAILS trackDetails;
624
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
632
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
639
PTS
.ValidateHandle(paraClient);
668
PTS
.FSSUBPAGEDETAILS subpageDetails;
669
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
675
if (
PTS
.ToBoolean(subpageDetails.fSimple))
678
PTS
.FSTRACKDETAILS trackDetails;
679
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
698
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
703
PTS
.FSTRACKDETAILS trackDetails;
704
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[0].pfstrack, out trackDetails));
782
internal
PTS
.FSRECT ContentRect { get { return _contentRect; } }
807
private bool IsFloaterHorizontallyCentered(
PTS
.FSRECT rcFloater,
PTS
.FSRECT rcHostPara)
829
private
PTS
.FSRECT _contentRect;
830
private
PTS
.FSRECT _paddingRect;
MS\Internal\PtsHost\FloaterParagraph.cs (90)
52
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
57
fskch =
PTS
.FSKCHANGE.fskchNew;
125
out
PTS
.FSFLOATERPROPS fsfloaterprops) // OUT: properties of the floater
127
fsfloaterprops = new
PTS
.FSFLOATERPROPS();
128
fsfloaterprops.fFloat =
PTS
.True; // Floater
129
fsfloaterprops.fskclear =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
135
fsfloaterprops.fskfloatalignment =
PTS
.FSKFLOATALIGNMENT.fskfloatalignMax;
138
fsfloaterprops.fskfloatalignment =
PTS
.FSKFLOATALIGNMENT.fskfloatalignCenter;
142
fsfloaterprops.fskfloatalignment =
PTS
.FSKFLOATALIGNMENT.fskfloatalignMin;
147
fsfloaterprops.fskwr =
PTS
.WrapDirectionToFskwrap(WrapDirection);
150
fsfloaterprops.fDelayNoProgress =
PTS
.True;
167
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
169
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting
174
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
178
uint fswdirPara =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
183
PTS
.FSRECT fsrcSubpageMargin;
184
PTS
.FSCOLUMNINFO[] columnInfoCollection;
193
if (IsFloaterRejected(
PTS
.ToBoolean(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable)))
197
fsfmtr = new
PTS
.FSFMTR();
198
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
199
fsfmtr.fContainsItemThatStoppedBeforeFootnote =
PTS
.False;
200
fsfmtr.fForcedProgress =
PTS
.False;
201
fsbbox = new
PTS
.FSBBOX();
202
fsbbox.fDefined =
PTS
.False;
214
if (dvrAvailable >
PTS
.dvBottomUndefined / 2)
216
dvrAvailable = Math.Min(dvrAvailable,
PTS
.dvBottomUndefined / 2);
217
fEmptyOk =
PTS
.False;
236
fsrcSubpageMargin = new
PTS
.FSRECT();
242
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
248
footnoteRejector, fEmptyOk,
PTS
.True, fswdir, subpageWidth, subpageHeight,
249
ref fsrcSubpageMargin, cColumns, columnInfoCollection,
PTS
.False, fsksuppresshardbreakbeforefirstparaIn,
254
if (fsfmtr.kstop >=
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace) // No progress or collision
269
if (
PTS
.ToBoolean(fsbbox.fDefined))
277
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFloatContent), PtsContext);
282
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(PtsContext.Context, pbrkrecOut), PtsContext);
288
PTS
.ValidateHandle(mcs);
298
footnoteRejector, fEmptyOk,
PTS
.True, fswdir, subpageWidth, subpageHeight,
299
ref fsrcSubpageMargin, cColumns, columnInfoCollection,
PTS
.False, fsksuppresshardbreakbeforefirstparaIn,
313
PTS
.ValidateHandle(mcs);
333
fsbbox.fDefined =
PTS
.True;
340
if(
PTS
.ToBoolean(fEmptyOk))
345
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFloatContent), PtsContext);
350
PTS
.Validate(
PTS
.FsDestroySubpageBreakRecord(PtsContext.Context, pbrkrecOut), PtsContext);
354
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
358
fsfmtr.fForcedProgress =
PTS
.True;
378
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
382
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
386
uint fswdirPara =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
393
PTS
.FSCOLUMNINFO[] columnInfoCollection;
400
if (IsFloaterRejected(
PTS
.ToBoolean(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable)))
406
fsfmtrbl =
PTS
.FSFMTRBL.fmtrblInterrupted;
407
fsbbox = new
PTS
.FSBBOX();
408
fsbbox.fDefined =
PTS
.False;
425
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
431
CreateSubpageBottomlessHelper(PtsContext, _mainTextSegment.Handle,
PTS
.True,
437
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
445
if (
PTS
.ToBoolean(fsbbox.fDefined))
453
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFloatContent), PtsContext);
458
PTS
.ValidateHandle(mcs);
465
CreateSubpageBottomlessHelper(PtsContext, _mainTextSegment.Handle,
PTS
.True,
481
PTS
.ValidateHandle(mcs);
495
(durFloaterWidth > durAvailable && !
PTS
.ToBoolean(fAtMaxWidth))
501
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, pfsFloatContent), PtsContext);
545
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
548
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
552
fsfmtrbl = default(
PTS
.FSFMTRBL);
553
durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
699
ref
PTS
.FSRECT rcMargin, // IN: rectangle within subpage margins
701
PTS
.FSCOLUMNINFO[] columnInfoCollection, // IN: array of column info
703
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
705
out
PTS
.FSFMTR fsfmtr, // OUT: why formatting was stopped
709
out
PTS
.FSBBOX fsBBox, // OUT: subpage bbox
719
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
721
PTS
.Validate(
PTS
.FsCreateSubpageFinite(ptsContext.Context, brParaIn, fFromPreviousPage, nSeg,
723
ref rcMargin, cColumns, rgColumnInfo,
PTS
.False,
724
0, null, null, 0, null, null,
PTS
.False,
747
PTS
.FSCOLUMNINFO[] columnInfoCollection, // IN: array of column info
748
out
PTS
.FSFMTRBL pfsfmtr, // OUT: why formatting was stopped
751
out
PTS
.FSBBOX pfsBBox, // OUT: subpage bbox
762
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
764
PTS
.Validate(
PTS
.FsCreateSubpageBottomless(ptsContext.Context, nSeg, fSuppressTopSpace,
766
cColumns, rgColumnInfo, 0, null, null, 0, null, null,
PTS
.False,
MS\Internal\PtsHost\FlowDocumentPage.cs (30)
438
PTS
.FSPAGEDETAILS pageDetails;
439
PTS
.Validate(
PTS
.FsQueryPageDetails(StructuralCache.PtsContext.Context, _ptsPage.PageHandle, out pageDetails));
445
if (
PTS
.ToBoolean(pageDetails.fSimple))
448
PTS
.FSTRACKDETAILS trackDetails;
449
PTS
.Validate(
PTS
.FsQueryTrackDetails(StructuralCache.PtsContext.Context, pageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
468
PTS
.FSSECTIONDESCRIPTION[] arraySectionDesc;
472
PTS
.FSSECTIONDETAILS sectionDetails;
473
PTS
.Validate(
PTS
.FsQuerySectionDetails(StructuralCache.PtsContext.Context, arraySectionDesc[0].pfssection, out sectionDetails));
478
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
491
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
497
PTS
.FSTRACKDESCRIPTION columnDesc = arrayColumnDesc[i];
502
PTS
.FSTRACKDETAILS trackDetails;
503
PTS
.Validate(
PTS
.FsQueryTrackDetails(StructuralCache.PtsContext.Context, columnDesc.pfstrack, out trackDetails));
542
PTS
.FSTRACKDETAILS trackDetails;
543
PTS
.Validate(
PTS
.FsQueryTrackDetails(StructuralCache.PtsContext.Context, pfstrack, out trackDetails));
549
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
557
PTS
.ValidateHandle(paraClient);
577
PTS
.FSTRACKDETAILS trackDetails;
578
PTS
.Validate(
PTS
.FsQueryTrackDetails(StructuralCache.PtsContext.Context, pfstrack, out trackDetails));
586
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
593
PTS
.ValidateHandle(paraClient);
625
internal void UpdateViewport(ref
PTS
.FSRECT viewport, bool drawBackground)
650
PTS
.FSRECT contentViewportTextDpi = new
PTS
.FSRECT(contentViewport);
MS\Internal\PtsHost\Line.cs (4)
177
run = new ParagraphBreakRun(_syntheticCharacterLength,
PTS
.FSFLRES.fsflrEndOfParagraph);
935
internal
PTS
.FSFLRES FormattingResult
939
PTS
.FSFLRES formatResult =
PTS
.FSFLRES.fsflrOutOfSpace;
MS\Internal\PtsHost\LineBase.cs (2)
169
run = new LineBreakRun(cch,
PTS
.FSFLRES.fsflrSoftBreak);
263
run = new ParagraphBreakRun(_syntheticCharacterLength,
PTS
.FSFLRES.fsflrEndOfParagraph);
MS\Internal\PtsHost\ListMarkerLine.cs (1)
59
return new ParagraphBreakRun(1,
PTS
.FSFLRES.fsflrEndOfParagraph);
MS\Internal\PtsHost\ListParaClient.cs (7)
47
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
50
PTS
.FSSUBTRACKDETAILS subtrackDetails;
51
PTS
.Validate(
PTS
.FsQuerySubtrackDetails(PtsContext.Context, _paraHandle, out subtrackDetails));
60
uint fswdir =
PTS
.FlowDirectionToFswdir((FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty));
72
PTS
.FSPARADESCRIPTION [] arrayParaDesc;
88
PTS
.ValidateHandle(listItemParaClient);
MS\Internal\PtsHost\OptimalTextSource.cs (4)
125
run = new ParagraphBreakRun(_syntheticCharacterLength,
PTS
.FSFLRES.fsflrEndOfParagraph);
199
internal
PTS
.FSFLRES GetFormatResultForBreakpoint(int dcp, TextBreakpoint textBreakpoint)
202
PTS
.FSFLRES formatResult =
PTS
.FSFLRES.fsflrOutOfSpace;
MS\Internal\PtsHost\Pts.cs (5)
190
return (
PTS
.FSKWRAP)((int)wrapDirection);
229
case
PTS
.fswdirWS:
248
fswdir =
PTS
.fswdirWS;
251
fswdir =
PTS
.fswdirES;
3311
PTS
.FSFTNINFO* rgFootnoteInfo, // IN/OUT: array of footnote info
MS\Internal\PtsHost\PtsCache.cs (195)
261
PTS
.Validate(
PTS
.GetFloaterHandlerInfo(ref _contextPool[index].FloaterInit, pobjectinfo));
280
PTS
.Validate(
PTS
.GetTableObjHandlerInfo(ref _contextPool[index].TableobjInit, pobjectinfo));
332
PTS
.IgnoreError(
PTS
.DestroyDocContext(_contextPool[index].PtsHost.Context));
334
PTS
.IgnoreError(
PTS
.DestroyInstalledObjectsInfo(_contextPool[index].InstalledObjects));
407
PTS
.Validate(
PTS
.DestroyDocContext(_contextPool[index].PtsHost.Context));
409
PTS
.Validate(
PTS
.DestroyInstalledObjectsInfo(_contextPool[index].InstalledObjects));
470
PTS
.Validate(
PTS
.CreateDocContext(ref _contextPool[index].ContextInfo, out context));
483
private unsafe void InitGenericInfo(PtsHost ptsHost, IntPtr clientData, IntPtr installedObjects, int installedObjectsCount, ref
PTS
.FSCONTEXTINFO contextInfo)
486
Invariant.Assert(((int)
PTS
.FSKREF.fskrefPage) == 0);
487
Invariant.Assert(((int)
PTS
.FSKREF.fskrefMargin) == 1);
488
Invariant.Assert(((int)
PTS
.FSKREF.fskrefParagraph) == 2);
489
Invariant.Assert(((int)
PTS
.FSKREF.fskrefChar) == 3);
490
Invariant.Assert(((int)
PTS
.FSKALIGNFIG.fskalfMin) == 0);
491
Invariant.Assert(((int)
PTS
.FSKALIGNFIG.fskalfCenter) == 1);
492
Invariant.Assert(((int)
PTS
.FSKALIGNFIG.fskalfMax) == 2);
493
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrNone) == ((int)WrapDirection.None));
494
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrLeft) == ((int)WrapDirection.Left));
495
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrRight) == ((int)WrapDirection.Right));
496
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrBoth) == ((int)WrapDirection.Both));
497
Invariant.Assert(((int)
PTS
.FSKWRAP.fskwrLargest) == 4);
498
Invariant.Assert(((int)
PTS
.FSKCLEAR.fskclearNone) == 0);
499
Invariant.Assert(((int)
PTS
.FSKCLEAR.fskclearLeft) == 1);
500
Invariant.Assert(((int)
PTS
.FSKCLEAR.fskclearRight) == 2);
501
Invariant.Assert(((int)
PTS
.FSKCLEAR.fskclearBoth) == 3);
505
contextInfo.fsffi =
PTS
.fsffiUseTextQuickLoop
514
|
PTS
.fsffiAvalonDisableOptimalInChains;
519
contextInfo.pfnAssertFailed = new
PTS
.AssertFailed(ptsHost.AssertFailed);
521
contextInfo.fscbk.cbkfig.pfnGetFigureProperties = new
PTS
.GetFigureProperties(ptsHost.GetFigureProperties);
522
contextInfo.fscbk.cbkfig.pfnGetFigurePolygons = new
PTS
.GetFigurePolygons(ptsHost.GetFigurePolygons);
523
contextInfo.fscbk.cbkfig.pfnCalcFigurePosition = new
PTS
.CalcFigurePosition(ptsHost.CalcFigurePosition);
525
contextInfo.fscbk.cbkgen.pfnFSkipPage = new
PTS
.FSkipPage(ptsHost.FSkipPage);
526
contextInfo.fscbk.cbkgen.pfnGetPageDimensions = new
PTS
.GetPageDimensions(ptsHost.GetPageDimensions);
527
contextInfo.fscbk.cbkgen.pfnGetNextSection = new
PTS
.GetNextSection(ptsHost.GetNextSection);
528
contextInfo.fscbk.cbkgen.pfnGetSectionProperties = new
PTS
.GetSectionProperties(ptsHost.GetSectionProperties);
529
contextInfo.fscbk.cbkgen.pfnGetJustificationProperties = new
PTS
.GetJustificationProperties(ptsHost.GetJustificationProperties);
530
contextInfo.fscbk.cbkgen.pfnGetMainTextSegment = new
PTS
.GetMainTextSegment(ptsHost.GetMainTextSegment);
531
contextInfo.fscbk.cbkgen.pfnGetHeaderSegment = new
PTS
.GetHeaderSegment(ptsHost.GetHeaderSegment);
532
contextInfo.fscbk.cbkgen.pfnGetFooterSegment = new
PTS
.GetFooterSegment(ptsHost.GetFooterSegment);
533
contextInfo.fscbk.cbkgen.pfnUpdGetSegmentChange = new
PTS
.UpdGetSegmentChange(ptsHost.UpdGetSegmentChange);
534
contextInfo.fscbk.cbkgen.pfnGetSectionColumnInfo = new
PTS
.GetSectionColumnInfo(ptsHost.GetSectionColumnInfo);
535
contextInfo.fscbk.cbkgen.pfnGetSegmentDefinedColumnSpanAreaInfo = new
PTS
.GetSegmentDefinedColumnSpanAreaInfo(ptsHost.GetSegmentDefinedColumnSpanAreaInfo);
536
contextInfo.fscbk.cbkgen.pfnGetHeightDefinedColumnSpanAreaInfo = new
PTS
.GetHeightDefinedColumnSpanAreaInfo(ptsHost.GetHeightDefinedColumnSpanAreaInfo);
537
contextInfo.fscbk.cbkgen.pfnGetFirstPara = new
PTS
.GetFirstPara(ptsHost.GetFirstPara);
538
contextInfo.fscbk.cbkgen.pfnGetNextPara = new
PTS
.GetNextPara(ptsHost.GetNextPara);
539
contextInfo.fscbk.cbkgen.pfnUpdGetFirstChangeInSegment = new
PTS
.UpdGetFirstChangeInSegment(ptsHost.UpdGetFirstChangeInSegment);
540
contextInfo.fscbk.cbkgen.pfnUpdGetParaChange = new
PTS
.UpdGetParaChange(ptsHost.UpdGetParaChange);
541
contextInfo.fscbk.cbkgen.pfnGetParaProperties = new
PTS
.GetParaProperties(ptsHost.GetParaProperties);
542
contextInfo.fscbk.cbkgen.pfnCreateParaclient = new
PTS
.CreateParaclient(ptsHost.CreateParaclient);
543
contextInfo.fscbk.cbkgen.pfnTransferDisplayInfo = new
PTS
.TransferDisplayInfo(ptsHost.TransferDisplayInfo);
544
contextInfo.fscbk.cbkgen.pfnDestroyParaclient = new
PTS
.DestroyParaclient(ptsHost.DestroyParaclient);
545
contextInfo.fscbk.cbkgen.pfnFInterruptFormattingAfterPara = new
PTS
.FInterruptFormattingAfterPara(ptsHost.FInterruptFormattingAfterPara);
546
contextInfo.fscbk.cbkgen.pfnGetEndnoteSeparators = new
PTS
.GetEndnoteSeparators(ptsHost.GetEndnoteSeparators);
547
contextInfo.fscbk.cbkgen.pfnGetEndnoteSegment = new
PTS
.GetEndnoteSegment(ptsHost.GetEndnoteSegment);
548
contextInfo.fscbk.cbkgen.pfnGetNumberEndnoteColumns = new
PTS
.GetNumberEndnoteColumns(ptsHost.GetNumberEndnoteColumns);
549
contextInfo.fscbk.cbkgen.pfnGetEndnoteColumnInfo = new
PTS
.GetEndnoteColumnInfo(ptsHost.GetEndnoteColumnInfo);
550
contextInfo.fscbk.cbkgen.pfnGetFootnoteSeparators = new
PTS
.GetFootnoteSeparators(ptsHost.GetFootnoteSeparators);
551
contextInfo.fscbk.cbkgen.pfnFFootnoteBeneathText = new
PTS
.FFootnoteBeneathText(ptsHost.FFootnoteBeneathText);
552
contextInfo.fscbk.cbkgen.pfnGetNumberFootnoteColumns = new
PTS
.GetNumberFootnoteColumns(ptsHost.GetNumberFootnoteColumns);
553
contextInfo.fscbk.cbkgen.pfnGetFootnoteColumnInfo = new
PTS
.GetFootnoteColumnInfo(ptsHost.GetFootnoteColumnInfo);
554
contextInfo.fscbk.cbkgen.pfnGetFootnoteSegment = new
PTS
.GetFootnoteSegment(ptsHost.GetFootnoteSegment);
555
contextInfo.fscbk.cbkgen.pfnGetFootnotePresentationAndRejectionOrder = new
PTS
.GetFootnotePresentationAndRejectionOrder(ptsHost.GetFootnotePresentationAndRejectionOrder);
556
contextInfo.fscbk.cbkgen.pfnFAllowFootnoteSeparation = new
PTS
.FAllowFootnoteSeparation(ptsHost.FAllowFootnoteSeparation);
561
contextInfo.fscbk.cbkobj.pfnDuplicateMcsclient = new
PTS
.DuplicateMcsclient(ptsHost.DuplicateMcsclient);
562
contextInfo.fscbk.cbkobj.pfnDestroyMcsclient = new
PTS
.DestroyMcsclient(ptsHost.DestroyMcsclient);
563
contextInfo.fscbk.cbkobj.pfnFEqualMcsclient = new
PTS
.FEqualMcsclient(ptsHost.FEqualMcsclient);
564
contextInfo.fscbk.cbkobj.pfnConvertMcsclient = new
PTS
.ConvertMcsclient(ptsHost.ConvertMcsclient);
565
contextInfo.fscbk.cbkobj.pfnGetObjectHandlerInfo = new
PTS
.GetObjectHandlerInfo(ptsHost.GetObjectHandlerInfo);
567
contextInfo.fscbk.cbktxt.pfnCreateParaBreakingSession = new
PTS
.CreateParaBreakingSession(ptsHost.CreateParaBreakingSession);
568
contextInfo.fscbk.cbktxt.pfnDestroyParaBreakingSession = new
PTS
.DestroyParaBreakingSession(ptsHost.DestroyParaBreakingSession);
569
contextInfo.fscbk.cbktxt.pfnGetTextProperties = new
PTS
.GetTextProperties(ptsHost.GetTextProperties);
570
contextInfo.fscbk.cbktxt.pfnGetNumberFootnotes = new
PTS
.GetNumberFootnotes(ptsHost.GetNumberFootnotes);
571
contextInfo.fscbk.cbktxt.pfnGetFootnotes = new
PTS
.GetFootnotes(ptsHost.GetFootnotes);
572
contextInfo.fscbk.cbktxt.pfnFormatDropCap = new
PTS
.FormatDropCap(ptsHost.FormatDropCap);
573
contextInfo.fscbk.cbktxt.pfnGetDropCapPolygons = new
PTS
.GetDropCapPolygons(ptsHost.GetDropCapPolygons);
574
contextInfo.fscbk.cbktxt.pfnDestroyDropCap = new
PTS
.DestroyDropCap(ptsHost.DestroyDropCap);
575
contextInfo.fscbk.cbktxt.pfnFormatBottomText = new
PTS
.FormatBottomText(ptsHost.FormatBottomText);
576
contextInfo.fscbk.cbktxt.pfnFormatLine = new
PTS
.FormatLine(ptsHost.FormatLine);
577
contextInfo.fscbk.cbktxt.pfnFormatLineForced = new
PTS
.FormatLineForced(ptsHost.FormatLineForced);
578
contextInfo.fscbk.cbktxt.pfnFormatLineVariants = new
PTS
.FormatLineVariants(ptsHost.FormatLineVariants);
579
contextInfo.fscbk.cbktxt.pfnReconstructLineVariant = new
PTS
.ReconstructLineVariant(ptsHost.ReconstructLineVariant);
580
contextInfo.fscbk.cbktxt.pfnDestroyLine = new
PTS
.DestroyLine(ptsHost.DestroyLine);
581
contextInfo.fscbk.cbktxt.pfnDuplicateLineBreakRecord = new
PTS
.DuplicateLineBreakRecord(ptsHost.DuplicateLineBreakRecord);
582
contextInfo.fscbk.cbktxt.pfnDestroyLineBreakRecord = new
PTS
.DestroyLineBreakRecord(ptsHost.DestroyLineBreakRecord);
583
contextInfo.fscbk.cbktxt.pfnSnapGridVertical = new
PTS
.SnapGridVertical(ptsHost.SnapGridVertical);
584
contextInfo.fscbk.cbktxt.pfnGetDvrSuppressibleBottomSpace = new
PTS
.GetDvrSuppressibleBottomSpace(ptsHost.GetDvrSuppressibleBottomSpace);
585
contextInfo.fscbk.cbktxt.pfnGetDvrAdvance = new
PTS
.GetDvrAdvance(ptsHost.GetDvrAdvance);
586
contextInfo.fscbk.cbktxt.pfnUpdGetChangeInText = new
PTS
.UpdGetChangeInText(ptsHost.UpdGetChangeInText);
587
contextInfo.fscbk.cbktxt.pfnUpdGetDropCapChange = new
PTS
.UpdGetDropCapChange(ptsHost.UpdGetDropCapChange);
588
contextInfo.fscbk.cbktxt.pfnFInterruptFormattingText = new
PTS
.FInterruptFormattingText(ptsHost.FInterruptFormattingText);
589
contextInfo.fscbk.cbktxt.pfnGetTextParaCache = new
PTS
.GetTextParaCache(ptsHost.GetTextParaCache);
590
contextInfo.fscbk.cbktxt.pfnSetTextParaCache = new
PTS
.SetTextParaCache(ptsHost.SetTextParaCache);
591
contextInfo.fscbk.cbktxt.pfnGetOptimalLineDcpCache = new
PTS
.GetOptimalLineDcpCache(ptsHost.GetOptimalLineDcpCache);
592
contextInfo.fscbk.cbktxt.pfnGetNumberAttachedObjectsBeforeTextLine = new
PTS
.GetNumberAttachedObjectsBeforeTextLine(ptsHost.GetNumberAttachedObjectsBeforeTextLine);
593
contextInfo.fscbk.cbktxt.pfnGetAttachedObjectsBeforeTextLine = new
PTS
.GetAttachedObjectsBeforeTextLine(ptsHost.GetAttachedObjectsBeforeTextLine);
594
contextInfo.fscbk.cbktxt.pfnGetNumberAttachedObjectsInTextLine = new
PTS
.GetNumberAttachedObjectsInTextLine(ptsHost.GetNumberAttachedObjectsInTextLine);
595
contextInfo.fscbk.cbktxt.pfnGetAttachedObjectsInTextLine = new
PTS
.GetAttachedObjectsInTextLine(ptsHost.GetAttachedObjectsInTextLine);
596
contextInfo.fscbk.cbktxt.pfnUpdGetAttachedObjectChange = new
PTS
.UpdGetAttachedObjectChange(ptsHost.UpdGetAttachedObjectChange);
597
contextInfo.fscbk.cbktxt.pfnGetDurFigureAnchor = new
PTS
.GetDurFigureAnchor(ptsHost.GetDurFigureAnchor);
608
private unsafe void InitInstalledObjectsInfo(PtsHost ptsHost, ref
PTS
.FSIMETHODS subtrackParaInfo, ref
PTS
.FSIMETHODS subpageParaInfo, out IntPtr installedObjects, out int installedObjectsCount)
611
subtrackParaInfo.pfnCreateContext = new
PTS
.ObjCreateContext(ptsHost.SubtrackCreateContext);
612
subtrackParaInfo.pfnDestroyContext = new
PTS
.ObjDestroyContext(ptsHost.SubtrackDestroyContext);
613
subtrackParaInfo.pfnFormatParaFinite = new
PTS
.ObjFormatParaFinite(ptsHost.SubtrackFormatParaFinite);
614
subtrackParaInfo.pfnFormatParaBottomless = new
PTS
.ObjFormatParaBottomless(ptsHost.SubtrackFormatParaBottomless);
615
subtrackParaInfo.pfnUpdateBottomlessPara = new
PTS
.ObjUpdateBottomlessPara(ptsHost.SubtrackUpdateBottomlessPara);
616
subtrackParaInfo.pfnSynchronizeBottomlessPara = new
PTS
.ObjSynchronizeBottomlessPara(ptsHost.SubtrackSynchronizeBottomlessPara);
617
subtrackParaInfo.pfnComparePara = new
PTS
.ObjComparePara(ptsHost.SubtrackComparePara);
618
subtrackParaInfo.pfnClearUpdateInfoInPara = new
PTS
.ObjClearUpdateInfoInPara(ptsHost.SubtrackClearUpdateInfoInPara);
619
subtrackParaInfo.pfnDestroyPara = new
PTS
.ObjDestroyPara(ptsHost.SubtrackDestroyPara);
620
subtrackParaInfo.pfnDuplicateBreakRecord = new
PTS
.ObjDuplicateBreakRecord(ptsHost.SubtrackDuplicateBreakRecord);
621
subtrackParaInfo.pfnDestroyBreakRecord = new
PTS
.ObjDestroyBreakRecord(ptsHost.SubtrackDestroyBreakRecord);
622
subtrackParaInfo.pfnGetColumnBalancingInfo = new
PTS
.ObjGetColumnBalancingInfo(ptsHost.SubtrackGetColumnBalancingInfo);
623
subtrackParaInfo.pfnGetNumberFootnotes = new
PTS
.ObjGetNumberFootnotes(ptsHost.SubtrackGetNumberFootnotes);
624
subtrackParaInfo.pfnGetFootnoteInfo = new
PTS
.ObjGetFootnoteInfo(ptsHost.SubtrackGetFootnoteInfo);
626
subtrackParaInfo.pfnShiftVertical = new
PTS
.ObjShiftVertical(ptsHost.SubtrackShiftVertical);
627
subtrackParaInfo.pfnTransferDisplayInfoPara = new
PTS
.ObjTransferDisplayInfoPara(ptsHost.SubtrackTransferDisplayInfoPara);
630
subpageParaInfo.pfnCreateContext = new
PTS
.ObjCreateContext(ptsHost.SubpageCreateContext);
631
subpageParaInfo.pfnDestroyContext = new
PTS
.ObjDestroyContext(ptsHost.SubpageDestroyContext);
632
subpageParaInfo.pfnFormatParaFinite = new
PTS
.ObjFormatParaFinite(ptsHost.SubpageFormatParaFinite);
633
subpageParaInfo.pfnFormatParaBottomless = new
PTS
.ObjFormatParaBottomless(ptsHost.SubpageFormatParaBottomless);
634
subpageParaInfo.pfnUpdateBottomlessPara = new
PTS
.ObjUpdateBottomlessPara(ptsHost.SubpageUpdateBottomlessPara);
635
subpageParaInfo.pfnSynchronizeBottomlessPara = new
PTS
.ObjSynchronizeBottomlessPara(ptsHost.SubpageSynchronizeBottomlessPara);
636
subpageParaInfo.pfnComparePara = new
PTS
.ObjComparePara(ptsHost.SubpageComparePara);
637
subpageParaInfo.pfnClearUpdateInfoInPara = new
PTS
.ObjClearUpdateInfoInPara(ptsHost.SubpageClearUpdateInfoInPara);
638
subpageParaInfo.pfnDestroyPara = new
PTS
.ObjDestroyPara(ptsHost.SubpageDestroyPara);
639
subpageParaInfo.pfnDuplicateBreakRecord = new
PTS
.ObjDuplicateBreakRecord(ptsHost.SubpageDuplicateBreakRecord);
640
subpageParaInfo.pfnDestroyBreakRecord = new
PTS
.ObjDestroyBreakRecord(ptsHost.SubpageDestroyBreakRecord);
641
subpageParaInfo.pfnGetColumnBalancingInfo = new
PTS
.ObjGetColumnBalancingInfo(ptsHost.SubpageGetColumnBalancingInfo);
642
subpageParaInfo.pfnGetNumberFootnotes = new
PTS
.ObjGetNumberFootnotes(ptsHost.SubpageGetNumberFootnotes);
643
subpageParaInfo.pfnGetFootnoteInfo = new
PTS
.ObjGetFootnoteInfo(ptsHost.SubpageGetFootnoteInfo);
644
subpageParaInfo.pfnShiftVertical = new
PTS
.ObjShiftVertical(ptsHost.SubpageShiftVertical);
645
subpageParaInfo.pfnTransferDisplayInfoPara = new
PTS
.ObjTransferDisplayInfoPara(ptsHost.SubpageTransferDisplayInfoPara);
648
PTS
.Validate(
PTS
.CreateInstalledObjectsInfo(ref subtrackParaInfo, ref subpageParaInfo, out installedObjects, out installedObjectsCount));
656
private unsafe void InitFloaterObjInfo(PtsHost ptsHost, ref
PTS
.FSFLOATERINIT floaterInit)
658
floaterInit.fsfloatercbk.pfnGetFloaterProperties = new
PTS
.GetFloaterProperties(ptsHost.GetFloaterProperties);
659
floaterInit.fsfloatercbk.pfnFormatFloaterContentFinite = new
PTS
.FormatFloaterContentFinite(ptsHost.FormatFloaterContentFinite);
660
floaterInit.fsfloatercbk.pfnFormatFloaterContentBottomless = new
PTS
.FormatFloaterContentBottomless(ptsHost.FormatFloaterContentBottomless);
661
floaterInit.fsfloatercbk.pfnUpdateBottomlessFloaterContent = new
PTS
.UpdateBottomlessFloaterContent(ptsHost.UpdateBottomlessFloaterContent);
662
floaterInit.fsfloatercbk.pfnGetFloaterPolygons = new
PTS
.GetFloaterPolygons(ptsHost.GetFloaterPolygons);
663
floaterInit.fsfloatercbk.pfnClearUpdateInfoInFloaterContent = new
PTS
.ClearUpdateInfoInFloaterContent(ptsHost.ClearUpdateInfoInFloaterContent);
664
floaterInit.fsfloatercbk.pfnCompareFloaterContents = new
PTS
.CompareFloaterContents(ptsHost.CompareFloaterContents);
665
floaterInit.fsfloatercbk.pfnDestroyFloaterContent = new
PTS
.DestroyFloaterContent(ptsHost.DestroyFloaterContent);
666
floaterInit.fsfloatercbk.pfnDuplicateFloaterContentBreakRecord = new
PTS
.DuplicateFloaterContentBreakRecord(ptsHost.DuplicateFloaterContentBreakRecord);
667
floaterInit.fsfloatercbk.pfnDestroyFloaterContentBreakRecord = new
PTS
.DestroyFloaterContentBreakRecord(ptsHost.DestroyFloaterContentBreakRecord);
668
floaterInit.fsfloatercbk.pfnGetFloaterContentColumnBalancingInfo = new
PTS
.GetFloaterContentColumnBalancingInfo(ptsHost.GetFloaterContentColumnBalancingInfo);
669
floaterInit.fsfloatercbk.pfnGetFloaterContentNumberFootnotes = new
PTS
.GetFloaterContentNumberFootnotes(ptsHost.GetFloaterContentNumberFootnotes);
670
floaterInit.fsfloatercbk.pfnGetFloaterContentFootnoteInfo = new
PTS
.GetFloaterContentFootnoteInfo(ptsHost.GetFloaterContentFootnoteInfo);
671
floaterInit.fsfloatercbk.pfnTransferDisplayInfoInFloaterContent = new
PTS
.TransferDisplayInfoInFloaterContent(ptsHost.TransferDisplayInfoInFloaterContent);
672
floaterInit.fsfloatercbk.pfnGetMCSClientAfterFloater = new
PTS
.GetMCSClientAfterFloater(ptsHost.GetMCSClientAfterFloater);
673
floaterInit.fsfloatercbk.pfnGetDvrUsedForFloater = new
PTS
.GetDvrUsedForFloater(ptsHost.GetDvrUsedForFloater);
681
private unsafe void InitTableObjInfo(PtsHost ptsHost, ref
PTS
.FSTABLEOBJINIT tableobjInit)
684
tableobjInit.tableobjcbk.pfnGetTableProperties = new
PTS
.GetTableProperties(ptsHost.GetTableProperties);
685
tableobjInit.tableobjcbk.pfnAutofitTable = new
PTS
.AutofitTable(ptsHost.AutofitTable);
686
tableobjInit.tableobjcbk.pfnUpdAutofitTable = new
PTS
.UpdAutofitTable(ptsHost.UpdAutofitTable);
687
tableobjInit.tableobjcbk.pfnGetMCSClientAfterTable = new
PTS
.GetMCSClientAfterTable(ptsHost.GetMCSClientAfterTable);
691
tableobjInit.tablecbkfetch.pfnGetFirstHeaderRow = new
PTS
.GetFirstHeaderRow(ptsHost.GetFirstHeaderRow);
692
tableobjInit.tablecbkfetch.pfnGetNextHeaderRow = new
PTS
.GetNextHeaderRow(ptsHost.GetNextHeaderRow);
693
tableobjInit.tablecbkfetch.pfnGetFirstFooterRow = new
PTS
.GetFirstFooterRow(ptsHost.GetFirstFooterRow);
694
tableobjInit.tablecbkfetch.pfnGetNextFooterRow = new
PTS
.GetNextFooterRow(ptsHost.GetNextFooterRow);
695
tableobjInit.tablecbkfetch.pfnGetFirstRow = new
PTS
.GetFirstRow(ptsHost.GetFirstRow);
696
tableobjInit.tablecbkfetch.pfnGetNextRow = new
PTS
.GetNextRow(ptsHost.GetNextRow);
697
tableobjInit.tablecbkfetch.pfnUpdFChangeInHeaderFooter = new
PTS
.UpdFChangeInHeaderFooter(ptsHost.UpdFChangeInHeaderFooter);
698
tableobjInit.tablecbkfetch.pfnUpdGetFirstChangeInTable = new
PTS
.UpdGetFirstChangeInTable(ptsHost.UpdGetFirstChangeInTable);
699
tableobjInit.tablecbkfetch.pfnUpdGetRowChange = new
PTS
.UpdGetRowChange(ptsHost.UpdGetRowChange);
700
tableobjInit.tablecbkfetch.pfnUpdGetCellChange = new
PTS
.UpdGetCellChange(ptsHost.UpdGetCellChange);
701
tableobjInit.tablecbkfetch.pfnGetDistributionKind = new
PTS
.GetDistributionKind(ptsHost.GetDistributionKind);
702
tableobjInit.tablecbkfetch.pfnGetRowProperties = new
PTS
.GetRowProperties(ptsHost.GetRowProperties);
703
tableobjInit.tablecbkfetch.pfnGetCells = new
PTS
.GetCells(ptsHost.GetCells);
704
tableobjInit.tablecbkfetch.pfnFInterruptFormattingTable = new
PTS
.FInterruptFormattingTable(ptsHost.FInterruptFormattingTable);
705
tableobjInit.tablecbkfetch.pfnCalcHorizontalBBoxOfRow = new
PTS
.CalcHorizontalBBoxOfRow(ptsHost.CalcHorizontalBBoxOfRow);
708
tableobjInit.tablecbkcell.pfnFormatCellFinite = new
PTS
.FormatCellFinite(ptsHost.FormatCellFinite);
709
tableobjInit.tablecbkcell.pfnFormatCellBottomless = new
PTS
.FormatCellBottomless(ptsHost.FormatCellBottomless);
710
tableobjInit.tablecbkcell.pfnUpdateBottomlessCell = new
PTS
.UpdateBottomlessCell(ptsHost.UpdateBottomlessCell);
711
tableobjInit.tablecbkcell.pfnCompareCells = new
PTS
.CompareCells(ptsHost.CompareCells);
712
tableobjInit.tablecbkcell.pfnClearUpdateInfoInCell = new
PTS
.ClearUpdateInfoInCell(ptsHost.ClearUpdateInfoInCell);
713
tableobjInit.tablecbkcell.pfnSetCellHeight = new
PTS
.SetCellHeight(ptsHost.SetCellHeight);
714
tableobjInit.tablecbkcell.pfnDestroyCell = new
PTS
.DestroyCell(ptsHost.DestroyCell);
715
tableobjInit.tablecbkcell.pfnDuplicateCellBreakRecord = new
PTS
.DuplicateCellBreakRecord(ptsHost.DuplicateCellBreakRecord);
716
tableobjInit.tablecbkcell.pfnDestroyCellBreakRecord = new
PTS
.DestroyCellBreakRecord(ptsHost.DestroyCellBreakRecord);
717
tableobjInit.tablecbkcell.pfnGetCellNumberFootnotes = new
PTS
.GetCellNumberFootnotes(ptsHost.GetCellNumberFootnotes);
720
tableobjInit.tablecbkcell.pfnGetCellMinColumnBalancingStep = new
PTS
.GetCellMinColumnBalancingStep(ptsHost.GetCellMinColumnBalancingStep);
721
tableobjInit.tablecbkcell.pfnTransferDisplayInfoCell = new
PTS
.TransferDisplayInfoCell(ptsHost.TransferDisplayInfoCell);
796
internal
PTS
.FSCONTEXTINFO ContextInfo;
797
internal
PTS
.FSIMETHODS SubtrackParaInfo;
798
internal
PTS
.FSIMETHODS SubpageParaInfo;
799
internal
PTS
.FSFLOATERINIT FloaterInit;
800
internal
PTS
.FSTABLEOBJINIT TableobjInit;
MS\Internal\PtsHost\PtsContext.cs (8)
89
PTS
.Validate(
PTS
.FsDestroyPageBreakRecord(_ptsHost.Context, (IntPtr)_pageBreakRecords[index]));
107
PTS
.Validate(
PTS
.FsDestroyPage(_ptsHost.Context, (IntPtr)_pages[index]));
494
PTS
.Validate(
PTS
.FsDestroyPage(_ptsHost.Context, ptsPage));
528
PTS
.Validate(
PTS
.FsDestroyPageBreakRecord(_ptsHost.Context, br));
MS\Internal\PtsHost\PtsHelper.cs (117)
125
ref
PTS
.FSTRACKDESCRIPTION trackDesc,
132
PTS
.FSTRACKDETAILS trackDetails;
133
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
139
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
153
PTS
.FSRECT rcTrackContent,
154
PTS
.FSPARADESCRIPTION [] arrayParaDesc,
165
PTS
.ValidateHandle(paraClient);
170
uint fswdirPage =
PTS
.FlowDirectionToFswdir(paraClient.PageFlowDirection);
174
PTS
.FSRECT pageRect = paraClient.Paragraph.StructuralCache.CurrentArrangeContext.PageContext.PageRect;
175
PTS
.Validate(
PTS
.FsTransformRectangle(fswdirTrack, ref pageRect, ref rcTrackContent, fswdirPage, out rcTrackContent));
181
PTS
.FSRECT rcPara = rcTrackContent;
206
PTS
.FSKUPDATE fskupdInherited,
207
ref
PTS
.FSTRACKDESCRIPTION trackDesc)
209
PTS
.FSKUPDATE fskupd = trackDesc.fsupdinf.fskupd;
210
if (trackDesc.fsupdinf.fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
216
if (fskupd ==
PTS
.FSKUPDATE.fskupdNoChange) { return; }
217
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
223
PTS
.FSTRACKDETAILS trackDetails;
224
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
230
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
252
PTS
.FSKUPDATE fskupdInherited,
253
PTS
.FSPARADESCRIPTION [] arrayParaDesc)
262
PTS
.ValidateHandle(paraClient);
265
PTS
.FSKUPDATE fskupd = arrayParaDesc[index].fsupdinf.fskupd;
266
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
270
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
295
if(fskupd ==
PTS
.FSKUPDATE.fskupdChangeInside || fskupd ==
PTS
.FSKUPDATE.fskupdShifted)
318
ref
PTS
.FSTRACKDESCRIPTION trackDesc,
319
ref
PTS
.FSRECT viewport)
325
PTS
.FSTRACKDETAILS trackDetails;
326
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
332
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
346
PTS
.FSPARADESCRIPTION [] arrayParaDesc,
347
ref
PTS
.FSRECT viewport)
353
PTS
.ValidateHandle(paraClient);
375
PTS
.FSPOINT pt,
376
ref
PTS
.FSTRACKDESCRIPTION trackDesc)
384
PTS
.FSTRACKDETAILS trackDetails;
385
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
392
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
408
PTS
.FSPOINT pt,
409
ref
PTS
.FSRECT rcTrack, // track's rectangle
410
PTS
.FSPARADESCRIPTION [] arrayParaDesc)
417
PTS
.ValidateHandle(paraClient);
450
ref
PTS
.FSTRACKDESCRIPTION trackDesc)
461
PTS
.FSTRACKDETAILS trackDetails;
462
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, trackDesc.pfstrack, out trackDetails));
469
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
489
PTS
.FSPARADESCRIPTION[] arrayParaDesc)
496
PTS
.ValidateHandle(paraClient);
551
ref
PTS
.FSPAGEDETAILS pageDetails,
552
out
PTS
.FSSECTIONDESCRIPTION [] arraySectionDesc)
554
arraySectionDesc = new
PTS
.FSSECTIONDESCRIPTION [pageDetails.u.complex.cSections];
556
fixed (
PTS
.FSSECTIONDESCRIPTION* rgSectionDesc = arraySectionDesc)
558
PTS
.Validate(
PTS
.FsQueryPageSectionList(ptsContext.Context, page, pageDetails.u.complex.cSections,
570
ref
PTS
.FSSUBPAGEDETAILS subpageDetails,
571
out
PTS
.FSTRACKDESCRIPTION [] arrayTrackDesc)
573
arrayTrackDesc = new
PTS
.FSTRACKDESCRIPTION [subpageDetails.u.complex.cBasicColumns];
575
fixed (
PTS
.FSTRACKDESCRIPTION* rgTrackDesc = arrayTrackDesc)
577
PTS
.Validate(
PTS
.FsQuerySubpageBasicColumnList(ptsContext.Context, subpage, subpageDetails.u.complex.cBasicColumns,
589
ref
PTS
.FSSECTIONDETAILS sectionDetails,
590
out
PTS
.FSTRACKDESCRIPTION [] arrayTrackDesc)
596
arrayTrackDesc = new
PTS
.FSTRACKDESCRIPTION[sectionDetails.u.withpagenotes.cBasicColumns];
599
fixed (
PTS
.FSTRACKDESCRIPTION* rgTrackDesc = arrayTrackDesc)
601
PTS
.Validate(
PTS
.FsQuerySectionBasicColumnList(ptsContext.Context, section, sectionDetails.u.withpagenotes.cBasicColumns,
613
ref
PTS
.FSTRACKDETAILS trackDetails,
614
out
PTS
.FSPARADESCRIPTION [] arrayParaDesc)
616
arrayParaDesc = new
PTS
.FSPARADESCRIPTION [trackDetails.cParas];
618
fixed (
PTS
.FSPARADESCRIPTION* rgParaDesc = arrayParaDesc)
620
PTS
.Validate(
PTS
.FsQueryTrackParaList(ptsContext.Context, track, trackDetails.cParas,
632
ref
PTS
.FSSUBTRACKDETAILS subtrackDetails,
633
out
PTS
.FSPARADESCRIPTION [] arrayParaDesc)
635
arrayParaDesc = new
PTS
.FSPARADESCRIPTION [subtrackDetails.cParas];
637
fixed (
PTS
.FSPARADESCRIPTION* rgParaDesc = arrayParaDesc)
639
PTS
.Validate(
PTS
.FsQuerySubtrackParaList(ptsContext.Context, subtrack, subtrackDetails.cParas,
651
ref
PTS
.FSTEXTDETAILSFULL textDetails,
652
out
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc)
654
arrayLineDesc = new
PTS
.FSLINEDESCRIPTIONSINGLE [textDetails.cLines];
656
fixed (
PTS
.FSLINEDESCRIPTIONSINGLE* rgLineDesc = arrayLineDesc)
658
PTS
.Validate(
PTS
.FsQueryLineListSingle(ptsContext.Context, para, textDetails.cLines,
670
ref
PTS
.FSTEXTDETAILSFULL textDetails,
671
out
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc)
673
arrayLineDesc = new
PTS
.FSLINEDESCRIPTIONCOMPOSITE [textDetails.cLines];
675
fixed (
PTS
.FSLINEDESCRIPTIONCOMPOSITE* rgLineDesc = arrayLineDesc)
677
PTS
.Validate(
PTS
.FsQueryLineListComposite(ptsContext.Context, para, textDetails.cLines,
688
ref
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc,
689
out
PTS
.FSLINEELEMENT [] arrayLineElement)
691
arrayLineElement = new
PTS
.FSLINEELEMENT [lineDesc.cElements];
693
fixed (
PTS
.FSLINEELEMENT* rgLineElement = arrayLineElement)
695
PTS
.Validate(
PTS
.FsQueryLineCompositeElementList(ptsContext.Context, lineDesc.pline, lineDesc.cElements,
708
out
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc)
710
arrayAttachedObjectDesc = new
PTS
.FSATTACHEDOBJECTDESCRIPTION [cAttachedObject];
712
fixed (
PTS
.FSATTACHEDOBJECTDESCRIPTION* rgAttachedObjectDesc = arrayAttachedObjectDesc)
714
PTS
.Validate(
PTS
.FsQueryAttachedObjectList(ptsContext.Context, para, cAttachedObject, rgAttachedObjectDesc, out attachedObjectCount));
737
PTS
.FSTRACKDETAILS trackDetails;
738
PTS
.Validate(
PTS
.FsQueryTrackDetails(ptsContext.Context, pfstrack, out trackDetails));
744
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
752
PTS
.ValidateHandle(paraClient);
838
return Math.Max(1, Math.Min(
PTS
.Restrictions.tscColumnRestriction-1, columns)); // at least 1 column is required
900
PTS
.FSCOLUMNINFO* pfscolinfo,
MS\Internal\PtsHost\PtsHost.cs (691)
150
out
PTS
.FSFIGUREPROPS fsfigprops, // OUT: figure attributes
158
int fserr =
PTS
.fserrNone;
162
PTS
.ValidateHandle(para);
164
PTS
.ValidateHandle(paraClient);
171
dur = dvr = cPolygons = cVertices = 0; fsfigprops = new
PTS
.FSFIGUREPROPS();
174
fserr =
PTS
.fserrCallbackException;
178
dur = dvr = cPolygons = cVertices = 0; fsfigprops = new
PTS
.FSFIGUREPROPS();
181
fserr =
PTS
.fserrCallbackException;
195
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
199
int fserr =
PTS
.fserrNone;
203
PTS
.ValidateHandle(para);
205
PTS
.ValidateHandle(paraClient);
213
fserr =
PTS
.fserrCallbackException;
219
fserr =
PTS
.fserrCallbackException;
229
ref
PTS
.FSRECT fsrcPage, // IN: page rectangle
230
ref
PTS
.FSRECT fsrcMargin, // IN: rectangle within page margins
231
ref
PTS
.FSRECT fsrcTrack, // IN: track rectangle
232
ref
PTS
.FSRECT fsrcFigurePreliminary,// IN: prelim figure rect calculated from figure props
236
out
PTS
.FSRECT fsrcFlow, // OUT: FlowAround rectangle
237
out
PTS
.FSRECT fsrcOverlap, // OUT: Overlap rectangle
238
out
PTS
.FSBBOX fsbbox, // OUT: bbox
239
out
PTS
.FSRECT fsrcSearch) // OUT: search area for overlap
241
int fserr =
PTS
.fserrNone;
245
PTS
.ValidateHandle(para);
247
PTS
.ValidateHandle(paraClient);
254
fPushToNextTrack = 0; fsrcFlow = fsrcOverlap = fsrcSearch = new
PTS
.FSRECT(); fsbbox = new
PTS
.FSBBOX();
256
fserr =
PTS
.fserrCallbackException;
260
fPushToNextTrack = 0; fsrcFlow = fsrcOverlap = fsrcSearch = new
PTS
.FSRECT(); fsbbox = new
PTS
.FSBBOX();
262
fserr =
PTS
.fserrCallbackException;
275
int fserr =
PTS
.fserrNone;
279
PTS
.ValidateHandle(section);
286
fserr =
PTS
.fserrCallbackException;
292
fserr =
PTS
.fserrCallbackException;
303
ref
PTS
.FSRECT fsrcMargin) // OUT: rectangle within page margins
305
int fserr =
PTS
.fserrNone;
309
PTS
.ValidateHandle(section);
317
fserr =
PTS
.fserrCallbackException;
323
fserr =
PTS
.fserrCallbackException;
333
int fserr =
PTS
.fserrNone;
337
PTS
.ValidateHandle(section);
344
fserr =
PTS
.fserrCallbackException;
350
fserr =
PTS
.fserrCallbackException;
364
int fserr =
PTS
.fserrNone;
368
PTS
.ValidateHandle(section);
377
fserr =
PTS
.fserrCallbackException;
384
fserr =
PTS
.fserrCallbackException;
395
out
PTS
.FSKALIGNPAGE fskal, // OUT: kind of vertical alignment for the page
399
int fserr =
PTS
.fserrNone;
403
PTS
.ValidateHandle(section);
410
fskal = default(
PTS
.FSKALIGNPAGE);
412
fserr =
PTS
.fserrCallbackException;
417
fskal = default(
PTS
.FSKALIGNPAGE);
419
fserr =
PTS
.fserrCallbackException;
428
int fserr =
PTS
.fserrNone;
432
PTS
.ValidateHandle(section);
439
fserr =
PTS
.fserrCallbackException;
445
fserr =
PTS
.fserrCallbackException;
462
int fserr =
PTS
.fserrNone;
466
PTS
.ValidateHandle(section);
474
fserr =
PTS
.fserrCallbackException;
480
fserr =
PTS
.fserrCallbackException;
497
int fserr =
PTS
.fserrNone;
501
PTS
.ValidateHandle(section);
509
fserr =
PTS
.fserrCallbackException;
515
fserr =
PTS
.fserrCallbackException;
522
out
PTS
.FSKCHANGE fskch) // OUT: kind of change
524
int fserr =
PTS
.fserrNone;
528
PTS
.ValidateHandle(segment);
533
fskch = default(
PTS
.FSKCHANGE);
535
fserr =
PTS
.fserrCallbackException;
539
fskch = default(
PTS
.FSKCHANGE);
541
fserr =
PTS
.fserrCallbackException;
551
PTS
.FSCOLUMNINFO* fscolinfo, // OUT: array of the colinfo structures
554
int fserr =
PTS
.fserrNone;
558
PTS
.ValidateHandle(section);
565
fserr =
PTS
.fserrCallbackException;
571
fserr =
PTS
.fserrCallbackException;
586
return
PTS
.fserrNotImplemented;
598
return
PTS
.fserrNotImplemented;
607
int fserr =
PTS
.fserrNone;
611
PTS
.ValidateHandle((object)segment);
618
fserr =
PTS
.fserrCallbackException;
624
fserr =
PTS
.fserrCallbackException;
635
int fserr =
PTS
.fserrNone;
639
PTS
.ValidateHandle((object)segment);
641
PTS
.ValidateHandle(currentParagraph);
648
fserr =
PTS
.fserrCallbackException;
654
fserr =
PTS
.fserrCallbackException;
665
int fserr =
PTS
.fserrNone;
669
PTS
.ValidateHandle(segment);
676
fserr =
PTS
.fserrCallbackException;
682
fserr =
PTS
.fserrCallbackException;
689
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
692
int fserr =
PTS
.fserrNone;
696
PTS
.ValidateHandle(para);
701
fskch = default(
PTS
.FSKCHANGE);
704
fserr =
PTS
.fserrCallbackException;
708
fskch = default(
PTS
.FSKCHANGE);
711
fserr =
PTS
.fserrCallbackException;
718
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
720
int fserr =
PTS
.fserrNone;
724
PTS
.ValidateHandle(para);
730
fserr =
PTS
.fserrCallbackException;
735
fserr =
PTS
.fserrCallbackException;
744
int fserr =
PTS
.fserrNone;
748
PTS
.ValidateHandle(para);
755
fserr =
PTS
.fserrCallbackException;
761
fserr =
PTS
.fserrCallbackException;
770
int fserr =
PTS
.fserrNone;
774
PTS
.ValidateHandle(paraClientOld);
776
PTS
.ValidateHandle(paraClientNew);
782
fserr =
PTS
.fserrCallbackException;
787
fserr =
PTS
.fserrCallbackException;
795
int fserr =
PTS
.fserrNone;
799
PTS
.ValidateHandle(paraClient);
805
fserr =
PTS
.fserrCallbackException;
810
fserr =
PTS
.fserrCallbackException;
821
fInterruptFormatting =
PTS
.False;
822
return
PTS
.fserrNone;
831
int fserr =
PTS
.fserrNone;
835
PTS
.ValidateHandle(section);
842
fserr =
PTS
.fserrCallbackException;
848
fserr =
PTS
.fserrCallbackException;
858
int fserr =
PTS
.fserrNone;
862
PTS
.ValidateHandle(section);
869
fserr =
PTS
.fserrCallbackException;
875
fserr =
PTS
.fserrCallbackException;
886
return
PTS
.fserrNotImplemented;
893
PTS
.FSCOLUMNINFO* fscolinfoEndnote, // OUT: array of the colinfo structures
898
return
PTS
.fserrNotImplemented;
909
return
PTS
.fserrNotImplemented;
918
return
PTS
.fserrNotImplemented;
927
return
PTS
.fserrNotImplemented;
934
PTS
.FSCOLUMNINFO* fscolinfoFootnote,// OUT: array of the colinfo structures
939
return
PTS
.fserrNotImplemented;
948
return
PTS
.fserrNotImplemented;
962
return
PTS
.fserrNotImplemented;
971
return
PTS
.fserrNotImplemented;
981
int fserr =
PTS
.fserrNone;
985
PTS
.ValidateHandle(mcs);
992
fserr =
PTS
.fserrCallbackException;
998
fserr =
PTS
.fserrCallbackException;
1006
int fserr =
PTS
.fserrNone;
1010
PTS
.ValidateHandle(mcs);
1016
fserr =
PTS
.fserrCallbackException;
1021
fserr =
PTS
.fserrCallbackException;
1031
int fserr =
PTS
.fserrNone;
1034
fEqual =
PTS
.FromBoolean(pmcsclient1 == pmcsclient2);
1041
PTS
.ValidateHandle(mcs1);
1043
PTS
.ValidateHandle(mcs2);
1044
fEqual =
PTS
.FromBoolean(mcs1.IsEqual(mcs2));
1050
fserr =
PTS
.fserrCallbackException;
1056
fserr =
PTS
.fserrCallbackException;
1070
int fserr =
PTS
.fserrNone;
1074
PTS
.ValidateHandle(para);
1076
PTS
.ValidateHandle(paraClient);
1081
PTS
.ValidateHandle(mcs);
1083
para.CollapseMargin(paraClient, mcs, fswdir,
PTS
.ToBoolean(fSuppressTopSpace), out dvr);
1089
fserr =
PTS
.fserrCallbackException;
1095
fserr =
PTS
.fserrCallbackException;
1104
int fserr =
PTS
.fserrNone;
1123
fserr =
PTS
.fserrCallbackException;
1128
fserr =
PTS
.fserrCallbackException;
1149
int fserr =
PTS
.fserrNone;
1153
PTS
.ValidateHandle(para);
1156
PTS
.ValidateHandle(paraClient);
1162
PTS
.ValidateHandle(lineBreakRecord);
1170
fParagraphJustified =
PTS
.FromBoolean(isParagraphJustified);
1176
fParagraphJustified =
PTS
.False;
1179
fserr =
PTS
.fserrCallbackException;
1184
fParagraphJustified =
PTS
.False;
1187
fserr =
PTS
.fserrCallbackException;
1195
int fserr =
PTS
.fserrNone;
1198
PTS
.ValidateHandle(optimalBreakSession);
1208
ref
PTS
.FSTXTPROPS fstxtprops) // OUT: text paragraph properties
1210
int fserr =
PTS
.fserrNone;
1214
PTS
.ValidateHandle(para);
1220
fserr =
PTS
.fserrCallbackException;
1225
fserr =
PTS
.fserrCallbackException;
1236
int fserr =
PTS
.fserrNone;
1240
PTS
.ValidateHandle(para);
1247
fserr =
PTS
.fserrCallbackException;
1253
fserr =
PTS
.fserrCallbackException;
1269
return
PTS
.fserrNotImplemented;
1289
return
PTS
.fserrNotImplemented;
1300
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
1306
return
PTS
.fserrNotImplemented;
1313
return
PTS
.fserrNotImplemented;
1324
int fserr =
PTS
.fserrNone;
1328
PTS
.ValidateHandle(para);
1332
PTS
.ValidateHandle(line);
1346
fserr =
PTS
.fserrCallbackException;
1352
fserr =
PTS
.fserrCallbackException;
1379
out
PTS
.FSFLRES fsflres, // OUT: result of formatting
1387
int fserr =
PTS
.fserrNone;
1391
PTS
.ValidateHandle(para);
1393
PTS
.ValidateHandle(paraClient);
1395
PTS
.ToBoolean(fAllowHyphenation),
PTS
.ToBoolean(fClearOnLeft),
PTS
.ToBoolean(fClearOnRight),
PTS
.ToBoolean(fTreatAsFirstInPara),
PTS
.ToBoolean(fTreatAsLastInPara),
1396
PTS
.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres,
1403
fsflres = default(
PTS
.FSFLRES);
1405
fserr =
PTS
.fserrCallbackException;
1410
fsflres = default(
PTS
.FSFLRES);
1412
fserr =
PTS
.fserrCallbackException;
1438
out
PTS
.FSFLRES fsflres, // OUT: result of formatting
1445
int fserr =
PTS
.fserrNone;
1450
PTS
.ValidateHandle(para);
1452
PTS
.ValidateHandle(paraClient);
1454
true/*fAllowHyphenation*/,
PTS
.ToBoolean(fClearOnLeft),
PTS
.ToBoolean(fClearOnRight),
PTS
.ToBoolean(fTreatAsFirstInPara),
PTS
.ToBoolean(fTreatAsLastInPara),
1455
PTS
.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBrokenIgnore, out fsflres,
1462
fsflres = default(
PTS
.FSFLRES);
1464
fserr =
PTS
.fserrCallbackException;
1469
fsflres = default(
PTS
.FSFLRES);
1471
fserr =
PTS
.fserrCallbackException;
1491
PTS
.FSLINEVARIANT* rgfslinevariant, // OUT: pre-allocatedarray for line variants
1495
int fserr =
PTS
.fserrNone;
1500
PTS
.ValidateHandle(optimalBreakSession);
1507
PTS
.ValidateHandle(lineBreakRecord);
1522
PTS
.ToBoolean(fAllowHyphenation),
1523
PTS
.ToBoolean(fClearOnLeft),
1524
PTS
.ToBoolean(fClearOnRight),
1525
PTS
.ToBoolean(fTreatAsFirstInPara),
1526
PTS
.ToBoolean(fTreatAsLastInPara),
1527
PTS
.ToBoolean(fSuppressTopSpace),
1573
rgfslinevariant[breakIndex].fForceBroken =
PTS
.FromBoolean(textBreakpoint.IsTruncated);
1577
rgfslinevariant[breakIndex].fReformatNeighborsAsLastLine =
PTS
.False;
1588
fserr =
PTS
.fserrCallbackException;
1595
fserr =
PTS
.fserrCallbackException;
1622
out
PTS
.FSFLRES fsflres, // OUT: result of formatting
1630
int fserr =
PTS
.fserrNone;
1634
PTS
.ValidateHandle(para);
1636
PTS
.ValidateHandle(paraClient);
1638
PTS
.ToBoolean(fAllowHyphenation),
PTS
.ToBoolean(fClearOnLeft),
PTS
.ToBoolean(fClearOnRight),
PTS
.ToBoolean(fTreatAsFirstInPara),
PTS
.ToBoolean(fTreatAsLastInPara),
1639
PTS
.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres,
1646
fsflres = default(
PTS
.FSFLRES);
1648
fserr =
PTS
.fserrCallbackException;
1653
fsflres = default(
PTS
.FSFLRES);
1655
fserr =
PTS
.fserrCallbackException;
1666
return
PTS
.fserrNone;
1673
int fserr =
PTS
.fserrNone;
1677
PTS
.ValidateHandle(lineBreakRecord);
1684
fserr =
PTS
.fserrCallbackException;
1690
fserr =
PTS
.fserrCallbackException;
1698
int fserr =
PTS
.fserrNone;
1702
PTS
.ValidateHandle(lineBreakRecord);
1708
fserr =
PTS
.fserrCallbackException;
1713
fserr =
PTS
.fserrCallbackException;
1726
return
PTS
.fserrNotImplemented;
1734
int fserr =
PTS
.fserrNone;
1740
PTS
.ValidateHandle(line);
1753
fserr =
PTS
.fserrCallbackException;
1759
fserr =
PTS
.fserrCallbackException;
1771
int fserr =
PTS
.fserrNone;
1775
PTS
.ValidateHandle(para);
1782
fserr =
PTS
.fserrCallbackException;
1788
fserr =
PTS
.fserrCallbackException;
1799
int fserr =
PTS
.fserrNone;
1803
PTS
.ValidateHandle(para);
1810
fserr =
PTS
.fserrCallbackException;
1816
fserr =
PTS
.fserrCallbackException;
1827
return
PTS
.fserrNotImplemented;
1837
int fserr =
PTS
.fserrNone;
1841
PTS
.ValidateHandle(para);
1842
fInterruptFormatting =
PTS
.FromBoolean(para.InterruptFormatting(dcp, vr));
1846
fInterruptFormatting =
PTS
.False;
1848
fserr =
PTS
.fserrCallbackException;
1852
fInterruptFormatting =
PTS
.False;
1854
fserr =
PTS
.fserrCallbackException;
1877
out
PTS
.FSKCLEAR fskclear, // OUT: kclear after paragraph
1886
fFound =
PTS
.False;
1889
fskclear =
PTS
.FSKCLEAR.fskclearNone;
1890
return
PTS
.fserrNone;
1910
PTS
.FSKCLEAR fskclear, // IN: kclear after paragraph
1919
return
PTS
.fserrNone;
1927
return
PTS
.fserrNotImplemented;
1936
int fserr =
PTS
.fserrNone;
1940
PTS
.ValidateHandle(para);
1946
return
PTS
.fserrNone;
1952
fserr =
PTS
.fserrCallbackException;
1958
fserr =
PTS
.fserrCallbackException;
1974
int fserr =
PTS
.fserrNone;
1978
PTS
.ValidateHandle(para);
1992
rgidobj[objectIndex] =
PTS
.fsidobjFigure;
2004
fEndOfParagraph =
PTS
.False;
2009
fEndOfParagraph =
PTS
.False;
2011
fserr =
PTS
.fserrCallbackException;
2016
fEndOfParagraph =
PTS
.False;
2018
fserr =
PTS
.fserrCallbackException;
2033
int fserr =
PTS
.fserrNone;
2037
PTS
.ValidateHandle(para);
2044
PTS
.ValidateHandle(lineBreakpoint);
2060
return
PTS
.fserrNone;
2066
fserr =
PTS
.fserrCallbackException;
2072
fserr =
PTS
.fserrCallbackException;
2091
int fserr =
PTS
.fserrNone;
2095
PTS
.ValidateHandle(para);
2109
rgidobj[objectIndex] =
PTS
.fsidobjFigure;
2126
fserr =
PTS
.fserrCallbackException;
2132
fserr =
PTS
.fserrCallbackException;
2140
out
PTS
.FSKCHANGE fskchObject) // OUT: kind of change for figure
2142
int fserr =
PTS
.fserrNone;
2146
PTS
.ValidateHandle(para);
2152
fskchObject = default(
PTS
.FSKCHANGE);
2154
fserr =
PTS
.fserrCallbackException;
2158
fskchObject = default(
PTS
.FSKCHANGE);
2160
fserr =
PTS
.fserrCallbackException;
2174
int fserr =
PTS
.fserrNone;
2180
PTS
.ValidateHandle(line);
2182
PTS
.ValidateHandle(paraFigure);
2196
fserr =
PTS
.fserrCallbackException;
2202
fserr =
PTS
.fserrCallbackException;
2213
out
PTS
.FSFLOATERPROPS fsfloaterprops)// OUT: properties of the floater
2215
int fserr =
PTS
.fserrNone;
2219
PTS
.ValidateHandle(para);
2224
fsfloaterprops = new
PTS
.FSFLOATERPROPS();
2226
fserr =
PTS
.fserrCallbackException;
2230
fsfloaterprops = new
PTS
.FSFLOATERPROPS();
2232
fserr =
PTS
.fserrCallbackException;
2250
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
2252
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting
2257
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
2261
int fserr =
PTS
.fserrNone;
2265
PTS
.ValidateHandle(para);
2267
PTS
.ValidateHandle(paraClient);
2275
fsfmtr = new
PTS
.FSFMTR(); pfsFloatContent = pbrkrecpara = IntPtr.Zero; durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2277
fserr =
PTS
.fserrCallbackException;
2281
fsfmtr = new
PTS
.FSFMTR(); pfsFloatContent = pbrkrecpara = IntPtr.Zero; durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2283
fserr =
PTS
.fserrCallbackException;
2296
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
2300
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
2304
int fserr =
PTS
.fserrNone;
2308
PTS
.ValidateHandle(para);
2310
PTS
.ValidateHandle(paraClient);
2317
fsfmtrbl = default(
PTS
.FSFMTRBL);
2318
pfsFloatContent = IntPtr.Zero; durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2320
fserr =
PTS
.fserrCallbackException;
2324
fsfmtrbl = default(
PTS
.FSFMTRBL);
2325
pfsFloatContent = IntPtr.Zero; durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2327
fserr =
PTS
.fserrCallbackException;
2340
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
2343
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
2347
int fserr =
PTS
.fserrNone;
2351
PTS
.ValidateHandle(para);
2353
PTS
.ValidateHandle(paraClient);
2360
fsfmtrbl = default(
PTS
.FSFMTRBL);
2361
durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2363
fserr =
PTS
.fserrCallbackException;
2367
fsfmtrbl = default(
PTS
.FSFMTRBL);
2368
durFloaterWidth = dvrFloaterHeight = cPolygons = cVertices = 0; fsbbox = new
PTS
.FSBBOX();
2370
fserr =
PTS
.fserrCallbackException;
2384
PTS
.FSPOINT* rgfspt, // OUT: array of all vertices
2388
int fserr =
PTS
.fserrNone;
2392
PTS
.ValidateHandle(para);
2394
PTS
.ValidateHandle(paraClient);
2402
fserr =
PTS
.fserrCallbackException;
2408
fserr =
PTS
.fserrCallbackException;
2421
return
PTS
.fserrNone;
2425
return
PTS
.FsClearUpdateInfoInSubpage(Context, pfsFloaterContent);
2431
out
PTS
.FSCOMPRESULT fscmpr) // OUT: result of comparison
2439
fscmpr =
PTS
.FSCOMPRESULT.fscmprChangeInside;
2440
return
PTS
.fserrNone;
2444
fscmpr =
PTS
.FSCOMPRESULT.fscmprChangeInside;
2445
return
PTS
.fserrNone;
2451
fscmpr =
PTS
.FSCOMPRESULT.fscmprNoChange;
2452
return
PTS
.fserrNone;
2456
fscmpr =
PTS
.FSCOMPRESULT.fscmprChangeInside;
2457
return
PTS
.fserrNone;
2461
return
PTS
.FsCompareSubpages(Context, pfsFloaterContentOld, pfsFloaterContentNew, out fscmpr);
2477
return
PTS
.fserrNone;
2480
return
PTS
.FsDestroySubpage(Context, pfsFloaterContent);
2497
return
PTS
.FsDuplicateSubpageBreakRecord(Context, pfsbrkFloaterContent, out pfsbrkFloaterContentDup);
2513
return
PTS
.FsDestroySubpageBreakRecord(Context, pfsbrkFloaterContent);
2540
return
PTS
.fserrNone;
2544
return
PTS
.FsGetSubpageColumnBalancingInfo(Context, pfsFloaterContent,
2558
return
PTS
.fserrNone;
2561
return
PTS
.FsGetNumberSubpageFootnotes(Context, pfsFloaterContent, out cftn);
2568
ref
PTS
.FSFTNINFO fsftninf, // IN/OUT: array of footnote info
2573
return
PTS
.fserrNone;
2586
return
PTS
.fserrNone;
2590
return
PTS
.FsTransferDisplayInfoSubpage(PtsContext.Context, pfsFloaterContentOld, pfsFloaterContentNew);
2600
int fserr =
PTS
.fserrNone;
2604
PTS
.ValidateHandle(para);
2609
PTS
.ValidateHandle(mcs);
2617
fserr =
PTS
.fserrCallbackException;
2623
fserr =
PTS
.fserrCallbackException;
2636
int fserr =
PTS
.fserrNone;
2640
PTS
.ValidateHandle(para);
2645
PTS
.ValidateHandle(mcs);
2653
fserr =
PTS
.fserrCallbackException;
2659
fserr =
PTS
.fserrCallbackException;
2676
return
PTS
.fserrNone;
2682
return
PTS
.fserrNone;
2697
ref
PTS
.FSRECT fsrcToFill, // IN: rectangle to fill
2699
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
2700
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
2704
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting the paragraph
2708
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
2710
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
2714
int fserr =
PTS
.fserrNone;
2715
fBreakInsidePossible =
PTS
.False;
2719
PTS
.ValidateHandle(para);
2721
PTS
.ValidateHandle(paraClient);
2726
PTS
.ValidateHandle(mcs);
2734
fsfmtr = new
PTS
.FSFMTR(); pfspara = pbrkrecpara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = 0; fsbbox = new
PTS
.FSBBOX();
2735
fskclearOut = default(
PTS
.FSKCLEAR);
2737
fserr =
PTS
.fserrCallbackException;
2741
fsfmtr = new
PTS
.FSFMTR(); pfspara = pbrkrecpara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = 0; fsbbox = new
PTS
.FSBBOX();
2742
fskclearOut = default(
PTS
.FSKCLEAR);
2744
fserr =
PTS
.fserrCallbackException;
2761
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
2763
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
2766
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
2768
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
2772
int fserr =
PTS
.fserrNone;
2776
PTS
.ValidateHandle(para);
2778
PTS
.ValidateHandle(paraClient);
2783
PTS
.ValidateHandle(mcs);
2790
fsfmtrbl = default(
PTS
.FSFMTRBL);
2791
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
2792
fskclearOut = default(
PTS
.FSKCLEAR);
2794
fserr =
PTS
.fserrCallbackException;
2798
fsfmtrbl = default(
PTS
.FSFMTRBL);
2799
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
2800
fskclearOut = default(
PTS
.FSKCLEAR);
2802
fserr =
PTS
.fserrCallbackException;
2819
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
2821
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
2823
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
2825
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
2829
int fserr =
PTS
.fserrNone;
2833
PTS
.ValidateHandle(para);
2835
PTS
.ValidateHandle(paraClient);
2840
PTS
.ValidateHandle(mcs);
2848
fsfmtrbl = default(
PTS
.FSFMTRBL);
2849
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
2850
fskclearOut = default(
PTS
.FSKCLEAR);
2852
fserr =
PTS
.fserrCallbackException;
2856
fsfmtrbl = default(
PTS
.FSFMTRBL);
2857
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
2858
fskclearOut = default(
PTS
.FSKCLEAR);
2860
fserr =
PTS
.fserrCallbackException;
2872
int fserr =
PTS
.fserrNone;
2876
PTS
.ValidateHandle(paraClient);
2877
PTS
.Validate(
PTS
.FsSynchronizeBottomlessSubtrack(Context, pfspara, pfsgeom, fswdir, dvrShift), PtsContext);
2882
fserr =
PTS
.fserrCallbackException;
2887
fserr =
PTS
.fserrCallbackException;
2898
out
PTS
.FSCOMPRESULT fscmpr, // OUT: comparison result
2901
return
PTS
.FsCompareSubtrack(Context, pfsparaOld, pfsparaNew, fswdir, out fscmpr, out dvrShifted);
2907
return
PTS
.FsClearUpdateInfoInSubtrack(Context, pfspara);
2913
return
PTS
.FsDestroySubtrack(Context, pfspara);
2921
return
PTS
.FsDuplicateSubtrackBreakRecord(Context, pfsbrkrecparaOrig, out pfsbrkrecparaDup);
2928
return
PTS
.FsDestroySubtrackBreakRecord(Context, pfsobjbrk);
2938
return
PTS
.FsGetSubtrackColumnBalancingInfo(Context, pfspara, fswdir,
2946
return
PTS
.FsGetNumberSubtrackFootnotes(Context, pfspara, out nftn);
2953
PTS
.FSFTNINFO* pfsftninf, // IN/OUT: array of footnote info
2958
return
PTS
.fserrNotImplemented;
2964
out
PTS
.FSBBOX pfsbbox) // OUT: output BBox
2967
pfsbbox = new
PTS
.FSBBOX();
2968
return
PTS
.fserrNone;
2975
return
PTS
.FsTransferDisplayInfoSubtrack(Context, pfsparaOld, pfsparaNew);
2991
return
PTS
.fserrNone;
2997
return
PTS
.fserrNone;
3012
ref
PTS
.FSRECT fsrcToFill, // IN: rectangle to fill
3014
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
3015
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
3019
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting the paragraph
3023
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
3025
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
3029
int fserr =
PTS
.fserrNone;
3030
fBreakInsidePossible =
PTS
.False;
3034
PTS
.ValidateHandle(para);
3036
PTS
.ValidateHandle(paraClient);
3041
PTS
.ValidateHandle(mcs);
3049
fsfmtr = new
PTS
.FSFMTR(); pfspara = pbrkrecpara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = 0; fsbbox = new
PTS
.FSBBOX();
3050
fskclearOut = default(
PTS
.FSKCLEAR);
3052
fserr =
PTS
.fserrCallbackException;
3056
fsfmtr = new
PTS
.FSFMTR(); pfspara = pbrkrecpara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = 0; fsbbox = new
PTS
.FSBBOX();
3057
fskclearOut = default(
PTS
.FSKCLEAR);
3059
fserr =
PTS
.fserrCallbackException;
3075
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
3077
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
3080
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
3082
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
3086
int fserr =
PTS
.fserrNone;
3090
PTS
.ValidateHandle(para);
3092
PTS
.ValidateHandle(paraClient);
3097
PTS
.ValidateHandle(mcs);
3105
fsfmtrbl = default(
PTS
.FSFMTRBL);
3106
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3107
fskclearOut = default(
PTS
.FSKCLEAR);
3109
fserr =
PTS
.fserrCallbackException;
3113
fsfmtrbl = default(
PTS
.FSFMTRBL);
3114
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3115
fskclearOut = default(
PTS
.FSKCLEAR);
3117
fserr =
PTS
.fserrCallbackException;
3134
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
3136
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
3138
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
3140
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
3144
int fserr =
PTS
.fserrNone;
3148
PTS
.ValidateHandle(para);
3150
PTS
.ValidateHandle(paraClient);
3155
PTS
.ValidateHandle(mcs);
3163
fsfmtrbl = default(
PTS
.FSFMTRBL);
3164
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3165
fskclearOut = default(
PTS
.FSKCLEAR);
3167
fserr =
PTS
.fserrCallbackException;
3171
fsfmtrbl = default(
PTS
.FSFMTRBL);
3172
pfspara = pmcsclientOut = IntPtr.Zero; dvrUsed = dvrTopSpace = fPageBecomesUninterruptable = 0; fsbbox = new
PTS
.FSBBOX();
3173
fskclearOut = default(
PTS
.FSKCLEAR);
3175
fserr =
PTS
.fserrCallbackException;
3187
return
PTS
.fserrNone;
3196
out
PTS
.FSCOMPRESULT fscmpr, // OUT: comparison result
3200
return
PTS
.FsCompareSubpages(Context, pfsparaOld, pfsparaNew, out fscmpr);
3205
return
PTS
.FsClearUpdateInfoInSubpage(Context, pfspara);
3211
return
PTS
.FsDestroySubpage(Context, pfspara);
3219
return
PTS
.FsDuplicateSubpageBreakRecord(Context, pfsbrkrecparaOrig, out pfsbrkrecparaDup);
3226
return
PTS
.FsDestroySubpageBreakRecord(Context, pfsobjbrk);
3236
return
PTS
.FsGetSubpageColumnBalancingInfo(Context, pfspara, out fswdir,
3244
return
PTS
.FsGetNumberSubpageFootnotes(Context, pfspara, out nftn);
3252
PTS
.FSFTNINFO* pfsftninf, // IN/OUT: array of footnote info
3255
return
PTS
.FsGetSubpageFootnoteInfo(Context, pfspara, nftn, iftnFirst, out fswdir, pfsftninf, out iftnLim);
3263
out
PTS
.FSBBOX pfsbbox) // OUT: output BBox
3266
pfsbbox = new
PTS
.FSBBOX();
3267
return
PTS
.fserrNone;
3274
return
PTS
.FsTransferDisplayInfoSubpage(Context, pfsparaOld, pfsparaNew);
3284
out
PTS
.FSTABLEOBJPROPS fstableobjprops)// OUT:
3286
int fserr =
PTS
.fserrNone;
3290
PTS
.ValidateHandle(para);
3296
fstableobjprops = new
PTS
.FSTABLEOBJPROPS();
3298
fserr =
PTS
.fserrCallbackException;
3302
fstableobjprops = new
PTS
.FSTABLEOBJPROPS();
3304
fserr =
PTS
.fserrCallbackException;
3316
int fserr =
PTS
.fserrNone;
3320
PTS
.ValidateHandle(paraClient);
3328
fserr =
PTS
.fserrCallbackException;
3334
fserr =
PTS
.fserrCallbackException;
3349
int fserr =
PTS
.fserrNone;
3353
PTS
.ValidateHandle(paraClient);
3362
fserr =
PTS
.fserrCallbackException;
3369
fserr =
PTS
.fserrCallbackException;
3381
int fserr =
PTS
.fserrNone;
3385
PTS
.ValidateHandle(para);
3393
fserr =
PTS
.fserrCallbackException;
3399
fserr =
PTS
.fserrCallbackException;
3410
int fserr =
PTS
.fserrNone;
3414
PTS
.ValidateHandle(para);
3423
fserr =
PTS
.fserrCallbackException;
3430
fserr =
PTS
.fserrCallbackException;
3442
int fserr =
PTS
.fserrNone;
3446
PTS
.ValidateHandle(para);
3455
fserr =
PTS
.fserrCallbackException;
3462
fserr =
PTS
.fserrCallbackException;
3473
int fserr =
PTS
.fserrNone;
3477
PTS
.ValidateHandle(para);
3486
fserr =
PTS
.fserrCallbackException;
3493
fserr =
PTS
.fserrCallbackException;
3505
int fserr =
PTS
.fserrNone;
3509
PTS
.ValidateHandle(para);
3518
fserr =
PTS
.fserrCallbackException;
3525
fserr =
PTS
.fserrCallbackException;
3535
int fserr =
PTS
.fserrNone;
3539
PTS
.ValidateHandle(para);
3548
fserr =
PTS
.fserrCallbackException;
3555
fserr =
PTS
.fserrCallbackException;
3566
int fserr =
PTS
.fserrNone;
3570
PTS
.ValidateHandle(para);
3579
fserr =
PTS
.fserrCallbackException;
3586
fserr =
PTS
.fserrCallbackException;
3598
int fserr =
PTS
.fserrNone;
3602
PTS
.ValidateHandle(para);
3617
fserr =
PTS
.fserrCallbackException;
3626
fserr =
PTS
.fserrCallbackException;
3637
int fserr =
PTS
.fserrNone;
3641
PTS
.ValidateHandle(para);
3654
fserr =
PTS
.fserrCallbackException;
3662
fserr =
PTS
.fserrCallbackException;
3670
out
PTS
.FSKCHANGE fskch, // OUT:
3673
int fserr =
PTS
.fserrNone;
3677
PTS
.ValidateHandle(para);
3680
PTS
.ValidateHandle(rowParagraph);
3686
fskch = default(
PTS
.FSKCHANGE);
3689
fserr =
PTS
.fserrCallbackException;
3693
fskch = default(
PTS
.FSKCHANGE);
3696
fserr =
PTS
.fserrCallbackException;
3705
out
PTS
.FSKCHANGE fskchCell) // OUT:
3707
int fserr =
PTS
.fserrNone;
3711
PTS
.ValidateHandle(cellParagraph);
3718
fskchCell = default(
PTS
.FSKCHANGE);
3720
fserr =
PTS
.fserrCallbackException;
3725
fskchCell = default(
PTS
.FSKCHANGE);
3727
fserr =
PTS
.fserrCallbackException;
3735
out
PTS
.FSKTABLEHEIGHTDISTRIBUTION tabledistr) // OUT:
3737
int fserr =
PTS
.fserrNone;
3741
PTS
.ValidateHandle(para);
3747
tabledistr =
PTS
.FSKTABLEHEIGHTDISTRIBUTION.fskdistributeUnchanged;
3749
fserr =
PTS
.fserrCallbackException;
3753
tabledistr =
PTS
.FSKTABLEHEIGHTDISTRIBUTION.fskdistributeUnchanged;
3755
fserr =
PTS
.fserrCallbackException;
3763
out
PTS
.FSTABLEROWPROPS rowprops) // OUT:
3765
int fserr =
PTS
.fserrNone;
3769
PTS
.ValidateHandle(rowParagraph);
3775
rowprops = new
PTS
.FSTABLEROWPROPS();
3777
fserr =
PTS
.fserrCallbackException;
3781
rowprops = new
PTS
.FSTABLEROWPROPS();
3783
fserr =
PTS
.fserrCallbackException;
3793
PTS
.FSTABLEKCELLMERGE* rgkcellmerge) // IN/OUT:
3795
int fserr =
PTS
.fserrNone;
3799
PTS
.ValidateHandle(rowParagraph);
3806
fserr =
PTS
.fserrCallbackException;
3811
fserr =
PTS
.fserrCallbackException;
3822
int fserr =
PTS
.fserrNone;
3826
PTS
.ValidateHandle(rowParagraph);
3834
fserr =
PTS
.fserrCallbackException;
3840
fserr =
PTS
.fserrCallbackException;
3854
int fserr =
PTS
.fserrNone;
3858
PTS
.ValidateHandle(rowParagraph);
3872
fserr =
PTS
.fserrCallbackException;
3879
fserr =
PTS
.fserrCallbackException;
3895
out
PTS
.FSFMTR pfmtr, // OUT:
3900
int fserr =
PTS
.fserrNone;
3904
PTS
.ValidateHandle(cellParagraph);
3907
PTS
.ValidateHandle(tableParaClient);
3915
pfmtr = new
PTS
.FSFMTR();
3920
fserr =
PTS
.fserrCallbackException;
3924
pfmtr = new
PTS
.FSFMTR();
3929
fserr =
PTS
.fserrCallbackException;
3938
out
PTS
.FSFMTRBL fmtrbl, // OUT:
3942
int fserr =
PTS
.fserrNone;
3946
PTS
.ValidateHandle(cellParagraph);
3949
PTS
.ValidateHandle(tableParaClient);
3960
fmtrbl = default(
PTS
.FSFMTRBL);
3964
fserr =
PTS
.fserrCallbackException;
3968
fmtrbl = default(
PTS
.FSFMTRBL);
3972
fserr =
PTS
.fserrCallbackException;
3983
out
PTS
.FSFMTRBL fmtrbl, // IN:
3986
int fserr =
PTS
.fserrNone;
3990
PTS
.ValidateHandle(cellParagraph);
3993
PTS
.ValidateHandle(cellParaClient);
3996
PTS
.ValidateHandle(tableParaClient);
4007
fmtrbl = default(
PTS
.FSFMTRBL);
4010
fserr =
PTS
.fserrCallbackException;
4014
fmtrbl = default(
PTS
.FSFMTRBL);
4017
fserr =
PTS
.fserrCallbackException;
4025
out
PTS
.FSCOMPRESULT fscmpr) // IN:OUT: cell object
4027
fscmpr =
PTS
.FSCOMPRESULT.fscmprChangeInside;
4028
return (
PTS
.fserrNone);
4036
return (
PTS
.fserrNone);
4047
int fserr =
PTS
.fserrNone;
4051
PTS
.ValidateHandle(cellParagraph);
4054
PTS
.ValidateHandle(cellParaClient);
4057
PTS
.ValidateHandle(tableParaClient);
4070
fserr =
PTS
.fserrCallbackException;
4075
fserr =
PTS
.fserrCallbackException;
4085
return
PTS
.FsDuplicateSubpageBreakRecord(Context, pfsbrkcell, out ppfsbrkcellDup);
4092
return
PTS
.FsDestroySubpageBreakRecord(Context, pfsbrkcell);
4097
int fserr =
PTS
.fserrNone;
4109
fserr =
PTS
.fserrCallbackException;
4114
fserr =
PTS
.fserrCallbackException;
4122
int fserr =
PTS
.fserrNone;
4126
PTS
.ValidateHandle(cellParaClient);
4135
fserr =
PTS
.fserrCallbackException;
4141
fserr =
PTS
.fserrCallbackException;
4150
int fserr =
PTS
.fserrNone;
4154
PTS
.ValidateHandle(cellParaClient);
4162
fserr =
PTS
.fserrCallbackException;
4168
fserr =
PTS
.fserrCallbackException;
4177
int fserr =
PTS
.fserrNone;
4181
PTS
.ValidateHandle(paraClientOld);
4183
PTS
.ValidateHandle(paraClientNew);
4189
fserr =
PTS
.fserrCallbackException;
4194
fserr =
PTS
.fserrCallbackException;
MS\Internal\PtsHost\PtsPage.cs (113)
215
PTS
.FSPOINT pt = TextDpi.ToTextPoint(p);
300
PTS
.FSFMTRBL formattingResult;
302
int fserr =
PTS
.FsCreatePageBottomless(PtsContext.Context, _section.Handle, out formattingResult, out ptsPage);
303
if (fserr !=
PTS
.fserrNone)
307
PTS
.ValidateAndTrace(fserr, PtsContext);
326
if(formattingResult ==
PTS
.FSFMTRBL.fmtrblInterrupted)
353
PTS
.FSFMTRBL formattingResult;
354
int fserr =
PTS
.FsUpdateBottomlessPage(PtsContext.Context, _ptsPage, _section.Handle, out formattingResult);
355
if (fserr !=
PTS
.fserrNone)
361
PTS
.ValidateAndTrace(fserr, PtsContext);
375
if(formattingResult ==
PTS
.FSFMTRBL.fmtrblInterrupted)
401
PTS
.FSFMTR formattingResult;
404
int fserr =
PTS
.FsCreatePageFinite(PtsContext.Context, brIn, _section.Handle, out formattingResult, out ptsPage, out brOut);
405
if (fserr !=
PTS
.fserrNone)
410
PTS
.ValidateAndTrace(fserr, PtsContext);
462
PTS
.FSFMTR formattingResult;
464
int fserr =
PTS
.FsUpdateFinitePage(PtsContext.Context, _ptsPage, brIn,
467
if (fserr !=
PTS
.fserrNone)
473
PTS
.ValidateAndTrace(fserr, PtsContext);
509
PTS
.FSPAGEDETAILS pageDetails;
510
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
517
if (
PTS
.ToBoolean(pageDetails.fSimple))
523
PtsHelper.ArrangeTrack(PtsContext, ref pageDetails.u.simple.trackdescr,
PTS
.FlowDirectionToFswdir(_section.StructuralCache.PageFlowDirection));
539
PTS
.FSSECTIONDESCRIPTION[] arraySectionDesc;
554
internal void UpdateViewport(ref
PTS
.FSRECT viewport)
559
PTS
.FSPAGEDETAILS pageDetails;
560
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
566
if (
PTS
.ToBoolean(pageDetails.fSimple))
584
PTS
.FSSECTIONDESCRIPTION[] arraySectionDesc;
605
PTS
.Validate(
PTS
.FsClearUpdateInfoInPage(PtsContext.Context, _ptsPage), PtsContext);
750
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(new Rect(_section.StructuralCache.CurrentFormatContext.PageSize));
772
PTS
.FSRECT rect = GetRect();
773
PTS
.FSBBOX bbox = GetBoundingBox();
776
if (!FinitePage &&
PTS
.ToBoolean(bbox.fDefined))
784
if (
PTS
.ToBoolean(bbox.fDefined))
823
private
PTS
.FSRECT GetRect()
825
PTS
.FSRECT rect;
833
rect = new
PTS
.FSRECT();
838
PTS
.FSPAGEDETAILS pageDetails;
839
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
845
if (
PTS
.ToBoolean(pageDetails.fSimple))
868
private
PTS
.FSBBOX GetBoundingBox()
870
PTS
.FSBBOX bbox = new
PTS
.FSBBOX();
882
PTS
.FSPAGEDETAILS pageDetails;
883
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
889
if (
PTS
.ToBoolean(pageDetails.fSimple))
911
private void ArrangeSection(ref
PTS
.FSSECTIONDESCRIPTION sectionDesc)
914
PTS
.FSSECTIONDETAILS sectionDetails;
915
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
920
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
934
PTS
.FSTRACKDESCRIPTION [] arrayColumnDesc;
959
private void UpdateViewportSection(ref
PTS
.FSSECTIONDESCRIPTION sectionDesc, ref
PTS
.FSRECT viewport)
962
PTS
.FSSECTIONDETAILS sectionDetails;
963
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
968
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
982
PTS
.FSTRACKDESCRIPTION [] arrayColumnDesc;
1008
PTS
.FSPAGEDETAILS pageDetails;
1009
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
1012
if (pageDetails.fskupd ==
PTS
.FSKUPDATE.fskupdNoChange) { return; }
1013
ErrorHandler.Assert(pageDetails.fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
1032
if (
PTS
.ToBoolean(pageDetails.fSimple))
1036
PTS
.FSKUPDATE fskupd = pageDetails.u.simple.trackdescr.fsupdinf.fskupd;
1037
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
1042
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
1071
PTS
.FSSECTIONDESCRIPTION [] arraySectionDesc;
1109
PTS
.FSKUPDATE fskupdInherited,
1110
ref
PTS
.FSSECTIONDESCRIPTION sectionDesc)
1112
PTS
.FSKUPDATE fskupd = sectionDesc.fsupdinf.fskupd;
1113
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
1117
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
1120
if (fskupd ==
PTS
.FSKUPDATE.fskupdNoChange) { return; }
1125
PTS
.FSSECTIONDETAILS sectionDetails;
1126
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
1131
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
1145
PTS
.FSTRACKDESCRIPTION [] arrayColumnDesc;
1156
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
1190
private IInputElement InputHitTestPage(
PTS
.FSPOINT pt)
1207
PTS
.FSPAGEDETAILS pageDetails;
1208
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
1214
if (
PTS
.ToBoolean(pageDetails.fSimple))
1235
PTS
.FSSECTIONDESCRIPTION [] arraySectionDesc;
1266
PTS
.FSPAGEDETAILS pageDetails;
1267
PTS
.Validate(
PTS
.FsQueryPageDetails(PtsContext.Context, _ptsPage, out pageDetails));
1271
if (
PTS
.ToBoolean(pageDetails.fSimple))
1289
PTS
.FSSECTIONDESCRIPTION[] arraySectionDesc;
1322
PTS
.FSPOINT pt,
1323
ref
PTS
.FSSECTIONDESCRIPTION sectionDesc)
1328
PTS
.FSSECTIONDETAILS sectionDetails;
1329
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
1334
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
1348
PTS
.FSTRACKDESCRIPTION [] arrayColumnDesc;
1383
ref
PTS
.FSSECTIONDESCRIPTION sectionDesc)
1386
PTS
.FSSECTIONDETAILS sectionDetails;
1387
PTS
.Validate(
PTS
.FsQuerySectionDetails(PtsContext.Context, sectionDesc.pfssection, out sectionDetails));
1395
if (
PTS
.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
1409
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
1548
internal
PTS
.FSRECT PageRect { get { return _pageRect; } set { _pageRect = value; } }
1586
private
PTS
.FSRECT _pageRect;
MS\Internal\PtsHost\RowParagraph.cs (19)
76
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
95
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
100
fskch =
PTS
.FSKCHANGE.fskchNew;
110
out
PTS
.FSTABLEROWPROPS rowprops) // OUT:
113
PTS
.FSKROWHEIGHTRESTRICTION fskrowheight;
130
rowprops = new
PTS
.FSTABLEROWPROPS();
132
rowprops.fskrowbreak =
PTS
.FSKROWBREAKRESTRICTION.fskrowbreakAnywhere;
178
fInterrupt =
PTS
.False;
206
PTS
.ValidateHandle(cellParaClient);
223
PTS
.FSTABLEKCELLMERGE* rgkcellmerge)
244
rgkcellmerge[i] =
PTS
.FSTABLEKCELLMERGE.fskcellmergeNo;
268
?
PTS
.FSTABLEKCELLMERGE.fskcellmergeNo
269
:
PTS
.FSTABLEKCELLMERGE.fskcellmergeFirst;
274
?
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast
275
:
PTS
.FSTABLEKCELLMERGE.fskcellmergeMiddle;
280
rgkcellmerge[i] =
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast;
330
internal void GetRowHeight(out
PTS
.FSKROWHEIGHTRESTRICTION fskrowheight, out int dvrAboveBelow)
338
fskrowheight =
PTS
.FSKROWHEIGHTRESTRICTION.fskrowheightNatural;
343
fskrowheight =
PTS
.FSKROWHEIGHTRESTRICTION.fskrowheightExactNoBreak;
MS\Internal\PtsHost\RunClient.cs (4)
209
internal ParagraphBreakRun(int length,
PTS
.FSFLRES breakReason) : base(length)
214
internal readonly
PTS
.FSFLRES BreakReason;
222
internal LineBreakRun(int length,
PTS
.FSFLRES breakReason) : base(length)
227
internal readonly
PTS
.FSFLRES BreakReason;
MS\Internal\PtsHost\Section.cs (18)
78
fSkip =
PTS
.False;
108
ref
PTS
.FSRECT fsrcMargin)
124
fswdir =
PTS
.FlowDirectionToFswdir(StructuralCache.PageFlowDirection);
127
fHeaderFooterAtTopBottom =
PTS
.False;
156
out
PTS
.FSKALIGNPAGE fskal,
160
fJustify =
PTS
.False;
161
fCancelAtLastColumn =
PTS
.False;
162
fskal =
PTS
.FSKALIGNPAGE.fskalpgTop;
178
fSuccess =
PTS
.False;
223
fNewPage =
PTS
.False; // Since only one section is supported, don't force page break before.
224
fswdir =
PTS
.FlowDirectionToFswdir((FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.FlowDirectionProperty));
225
fApplyColumnBalancing =
PTS
.False;
285
fHeaderPresent =
PTS
.False;
286
fHardMargin =
PTS
.False;
329
fFooterPresent =
PTS
.False;
330
fHardMargin =
PTS
.False;
354
PTS
.FSCOLUMNINFO* pfscolinfo,
382
fEndnotesPresent =
PTS
.False;
MS\Internal\PtsHost\SectionVisual.cs (1)
43
internal void DrawColumnRules(ref
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc, double columnVStart, double columnHeight, ColumnPropertiesGroup columnProperties)
MS\Internal\PtsHost\StructuralCache.cs (7)
765
internal
PTS
.FSRECT PageRect { get { return new
PTS
.FSRECT(new Rect(0, 0, PageWidth, PageHeight)); } }
770
internal
PTS
.FSRECT PageMarginRect { get { return new
PTS
.FSRECT(new Rect(PageMargin.Left, PageMargin.Top,
812
internal void PushNewPageData(PageContext pageContext,
PTS
.FSRECT columnRect, bool finitePage)
849
internal
PTS
.FSRECT ColumnRect { get { return _currentArrangeInfo.ColumnRect; } }
860
internal
PTS
.FSRECT ColumnRect;
MS\Internal\PtsHost\SubpageParaClient.cs (75)
54
PTS
.Validate(
PTS
.FsDestroySubpage(PtsContext.Context, _paraHandle));
73
PTS
.FSSUBPAGEDETAILS subpageDetails;
74
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
110
if (
PTS
.ToBoolean(subpageDetails.fSimple))
112
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.simple.trackdescr.fsrc);
126
_pageContextOfThisPage.PageRect = new
PTS
.FSRECT(subpageDetails.u.complex.fsrc);
133
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
155
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
175
pt = new
PTS
.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v);
178
PTS
.FSSUBPAGEDETAILS subpageDetails;
179
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
185
if (
PTS
.ToBoolean(subpageDetails.fSimple))
196
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
235
PTS
.FSSUBPAGEDETAILS subpageDetails;
236
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
242
if (
PTS
.ToBoolean(subpageDetails.fSimple))
254
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
284
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
287
PTS
.FSSUBPAGEDETAILS subpageDetails;
288
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
319
if (
PTS
.ToBoolean(subpageDetails.fSimple))
322
PTS
.FSKUPDATE fskupd = subpageDetails.u.simple.trackdescr.fsupdinf.fskupd;
323
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
328
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
353
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
359
PTS
.FSKUPDATE fskupd = fskupdInherited;
360
ErrorHandler.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdShifted, ErrorHandler.UpdateShiftedNotValid);
361
Debug.Assert(fskupd !=
PTS
.FSKUPDATE.fskupdNoChange);
383
if (fskupd ==
PTS
.FSKUPDATE.fskupdNew)
407
pageContentVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
408
floatingElementsVisual.Offset = new
PTS
.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi();
410
PTS
.FSRECT clipRect = new
PTS
.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
419
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
422
PTS
.FSSUBPAGEDETAILS subpageDetails;
423
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
425
PTS
.FSRECT viewportSubpage = new
PTS
.FSRECT();
436
if (
PTS
.ToBoolean(subpageDetails.fSimple))
448
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
480
PTS
.FSSUBPAGEDETAILS subpageDetails;
481
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
487
if (
PTS
.ToBoolean(subpageDetails.fSimple))
501
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
551
PTS
.FSSUBPAGEDETAILS subpageDetails;
552
PTS
.Validate(
PTS
.FsQuerySubpageDetails(PtsContext.Context, _paraHandle, out subpageDetails));
558
if (
PTS
.ToBoolean(subpageDetails.fSimple))
561
PTS
.FSTRACKDETAILS trackDetails;
562
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, subpageDetails.u.simple.trackdescr.pfstrack, out trackDetails));
581
PTS
.FSTRACKDESCRIPTION[] arrayColumnDesc;
587
PTS
.FSTRACKDETAILS trackDetails;
588
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, arrayColumnDesc[i].pfstrack, out trackDetails));
615
PTS
.FSTRACKDETAILS trackDetails;
616
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, pfstrack, out trackDetails));
621
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
628
PTS
.ValidateHandle(paraClient);
648
PTS
.FSTRACKDETAILS trackDetails;
649
PTS
.Validate(
PTS
.FsQueryTrackDetails(PtsContext.Context, pfstrack, out trackDetails));
655
PTS
.FSPARADESCRIPTION[] arrayParaDesc;
663
PTS
.ValidateHandle(paraClient);
713
internal
PTS
.FSRECT ContentRect { get { return _contentRect; } }
715
private
PTS
.FSRECT _contentRect;
716
private
PTS
.FSRECT _paddingRect;
MS\Internal\PtsHost\SubpageParagraph.cs (81)
80
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
120
ref
PTS
.FSRECT fsrcToFill, // IN: rectangle to fill
122
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
123
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
125
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting the paragraph
129
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
131
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
134
uint fswdirSubpage =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
141
PTS
.FSRECT fsrcSubpageMargin;
142
PTS
.FSCOLUMNINFO [] columnInfoCollection;
159
fsrcSubpageMargin = new
PTS
.FSRECT();
165
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
177
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
178
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFill, fswdirSubpage, out fsrcToFill));
187
if (
PTS
.ToBoolean(fSuppressTopSpace))
215
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
216
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
227
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
229
PTS
.Validate(
PTS
.FsCreateSubpageFinite(PtsContext.Context, pbrkrecIn, fBRFromPreviousPage, _mainTextSegment.Handle,
231
ref fsrcSubpageMargin, cColumns, rgColumnInfo,
PTS
.False,
232
0, null, null, 0, null, null,
PTS
.FromBoolean(false),
239
fskclearOut =
PTS
.FSKCLEAR.fskclearNone;
241
if (
PTS
.ToBoolean(fsbbox.fDefined))
259
PTS
.ValidateHandle(mcsSubpage);
264
if (fsfmtr.kstop >=
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace) // No progress or collision
273
if (fsfmtr.kstop ==
PTS
.FSFMTRKSTOP.fmtrGoalReached)
295
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
296
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubpage, ref pageRect, ref fsbbox, fswdir, out fsbbox));
324
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
326
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
329
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
331
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
340
PTS
.FSCOLUMNINFO[] columnInfoCollection;
341
uint fswdirSubpage =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
350
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
359
PTS
.FSRECT fsrcToFillSubpage = new
PTS
.FSRECT(urTrack, 0, durTrack, 0);
360
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
361
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubpage, fswdirSubpage, out fsrcToFillSubpage));
389
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
390
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
402
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
404
PTS
.Validate(
PTS
.FsCreateSubpageBottomless(PtsContext.Context, _mainTextSegment.Handle, fSuppressTopSpace,
406
cColumns, rgColumnInfo, 0, null, null, 0, null, null,
PTS
.FromBoolean(_isInterruptible),
413
fskclearOut =
PTS
.FSKCLEAR.fskclearNone;
415
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
423
PTS
.ValidateHandle(mcsSubpage);
437
if (
PTS
.ToBoolean(fsbbox.fDefined))
465
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
466
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubpage, ref pageRect, ref fsbbox, fswdir, out fsbbox));
486
PTS
.FSKCLEAR fskclearIn, // IN: clear property that must be satisfied
488
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting the paragraph
490
out
PTS
.FSBBOX fsbbox, // OUT: para BBox
492
out
PTS
.FSKCLEAR fskclearOut, // OUT: ClearIn for the next paragraph
501
PTS
.FSCOLUMNINFO[] columnInfoCollection;
502
uint fswdirSubpage =
PTS
.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
510
fskclearIn =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
519
PTS
.FSRECT fsrcToFillSubpage = new
PTS
.FSRECT(urTrack, 0, durTrack, 0);
520
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
521
PTS
.Validate(
PTS
.FsTransformRectangle(fswdir, ref pageRect, ref fsrcToFillSubpage, fswdirSubpage, out fsrcToFillSubpage));
549
columnInfoCollection = new
PTS
.FSCOLUMNINFO[cColumns];
550
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
561
fixed (
PTS
.FSCOLUMNINFO* rgColumnInfo = columnInfoCollection)
563
PTS
.Validate(
PTS
.FsUpdateBottomlessSubpage(PtsContext.Context, pfspara, _mainTextSegment.Handle, fSuppressTopSpace,
565
cColumns, rgColumnInfo, 0, null, null, 0, null, null,
PTS
.FromBoolean(true),
572
fskclearOut =
PTS
.FSKCLEAR.fskclearNone;
574
if (fsfmtrbl !=
PTS
.FSFMTRBL.fmtrblCollision)
582
PTS
.ValidateHandle(mcsSubpage);
596
if (
PTS
.ToBoolean(fsbbox.fDefined))
624
PTS
.FSRECT pageRect = StructuralCache.CurrentFormatContext.PageRect;
625
PTS
.Validate(
PTS
.FsTransformBbox(fswdirSubpage, ref pageRect, ref fsbbox, fswdir, out fsbbox));
MS\Internal\PtsHost\TableParaClient.cs (159)
73
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
74
PTS
.FSKUPDATE fskupdTable;
75
PTS
.FSRECT rect;
80
|| fskupdTable ==
PTS
.FSKUPDATE.fskupdNoChange
81
|| fskupdTable ==
PTS
.FSKUPDATE.fskupdShifted )
96
PTS
.FSRECT pageRect = _pageContext.PageRect;
98
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ParentFlowDirection), ref pageRect, ref _rect,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out _rect));
109
PTS
.FSKUPDATE fskupdRow;
110
PTS
.FSKUPDATE[] arrayUpdate;
112
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
114
fskupdRow = (arrayTableRowDesc[iR].fsupdinf.fskupd !=
PTS
.FSKUPDATE.fskupdInherited)
118
if (fskupdRow ==
PTS
.FSKUPDATE.fskupdNoChange)
140
&& ( arrayTableCellMerge[iC] ==
PTS
.FSTABLEKCELLMERGE.fskcellmergeMiddle
141
|| arrayTableCellMerge[iC] ==
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast ) )
179
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
181
Invariant.Assert( fskupdInherited !=
PTS
.FSKUPDATE.fskupdInherited );
184
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
185
PTS
.FSKUPDATE fskupdTable;
186
PTS
.FSRECT rect;
204
if (fskupdTable ==
PTS
.FSKUPDATE.fskupdInherited)
209
if (fskupdTable ==
PTS
.FSKUPDATE.fskupdNoChange)
215
if (fskupdTable ==
PTS
.FSKUPDATE.fskupdShifted)
217
fskupdTable =
PTS
.FSKUPDATE.fskupdNew;
221
if (fskupdTable ==
PTS
.FSKUPDATE.fskupdNew)
244
PTS
.FSKUPDATE fskupdRow;
248
fskupdRow = (arrayTableRowDesc[iR].fsupdinf.fskupd !=
PTS
.FSKUPDATE.fskupdInherited)
263
if (fskupdRow ==
PTS
.FSKUPDATE.fskupdNew)
280
if ( fskupdRow ==
PTS
.FSKUPDATE.fskupdNew
281
|| fskupdRow ==
PTS
.FSKUPDATE.fskupdChangeInside )
322
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
327
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
328
PTS
.FSKUPDATE fskupdTable;
329
PTS
.FSRECT rectTable;
335
PTS
.FSKUPDATE[] arrayUpdate;
337
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
365
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
371
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
372
PTS
.FSKUPDATE fskupdTable;
373
PTS
.FSRECT rectTable;
383
PTS
.FSKUPDATE[] arrayUpdate;
385
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
402
PTS
.FSRECT rect = cellParaClient.Rect;
450
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
451
PTS
.FSKUPDATE fskupdTable;
452
PTS
.FSRECT rectTable;
459
PTS
.FSKUPDATE[] arrayUpdate;
461
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
515
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
516
PTS
.FSKUPDATE fskupdTable;
517
PTS
.FSRECT rectTable;
531
PTS
.FSTABLEROWDETAILS tableRowDetails;
533
PTS
.Validate(
PTS
.FsQueryTableObjRowDetails(
538
if (tableRowDetails.fskboundaryAbove !=
PTS
.FSKTABLEROWBOUNDARY.fsktablerowboundaryBreak)
549
PTS
.FSKUPDATE[] arrayUpdate;
551
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
570
if (tableRowDetails.fskboundaryBelow !=
PTS
.FSKTABLEROWBOUNDARY.fsktablerowboundaryBreak)
610
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
611
PTS
.FSKUPDATE fskupdTable;
612
PTS
.FSRECT rectTable;
624
PTS
.FSKUPDATE[] arrayUpdate;
626
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
643
PTS
.FSRECT rect = cpc.Rect;
699
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
700
PTS
.FSKUPDATE fskupdTable;
701
PTS
.FSRECT rectTable;
736
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
737
PTS
.FSKUPDATE fskupdTable;
738
PTS
.FSRECT rectTable;
745
PTS
.FSKUPDATE[] arrayUpdate;
747
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
759
(arrayTableCellMerge[iC] !=
PTS
.FSTABLEKCELLMERGE.fskcellmergeMiddle &&
760
arrayTableCellMerge[iC] !=
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast)
831
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
832
PTS
.FSKUPDATE fskupdTable;
833
PTS
.FSRECT rectTable;
841
PTS
.FSKUPDATE[] arrayUpdate;
843
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
900
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
901
PTS
.FSKUPDATE fskupdTable;
902
PTS
.FSRECT rectTable;
908
PTS
.FSKUPDATE[] arrayUpdate;
910
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
954
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
955
PTS
.FSKUPDATE fskupdTable;
956
PTS
.FSRECT rectTable;
965
PTS
.FSKUPDATE[] arrayUpdate;
967
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1035
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
1036
PTS
.FSKUPDATE fskupdTable;
1037
PTS
.FSRECT rectTable;
1044
PTS
.FSKUPDATE[] arrayUpdate;
1046
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1129
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc;
1130
PTS
.FSKUPDATE fskupdTable;
1131
PTS
.FSRECT rectTable;
1222
int ret =
PTS
.True;
1338
private unsafe void UpdateChunkInfo(
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc)
1340
PTS
.FSTABLEROWDETAILS tableRowDetails;
1345
PTS
.Validate(
PTS
.FsQueryTableObjRowDetails(
1350
_isFirstChunk = (tableRowDetails.fskboundaryAbove ==
PTS
.FSKTABLEROWBOUNDARY.fsktablerowboundaryOuter) &&
1355
PTS
.Validate(
PTS
.FsQueryTableObjRowDetails(
1360
_isLastChunk = (tableRowDetails.fskboundaryBelow ==
PTS
.FSKTABLEROWBOUNDARY.fsktablerowboundaryOuter) &&
1373
out
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc,
1374
out
PTS
.FSKUPDATE fskupdTable,
1375
out
PTS
.FSRECT rect)
1377
PTS
.FSTABLEOBJDETAILS tableObjDetails;
1378
PTS
.FSTABLEDETAILS tableDetails;
1380
PTS
.Validate(
PTS
.FsQueryTableObjDetails(
1389
PTS
.Validate(
PTS
.FsQueryTableObjTableProperDetails(
1401
arrayTableRowDesc = new
PTS
.FSTABLEROWDESCRIPTION[tableDetails.cRows];
1403
fixed (
PTS
.FSTABLEROWDESCRIPTION * rgTableRowDesc = arrayTableRowDesc)
1407
PTS
.Validate(
PTS
.FsQueryTableObjRowList(
1430
out
PTS
.FSKUPDATE[] arrayUpdate,
1431
out
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge)
1433
PTS
.FSTABLEROWDETAILS tableRowDetails;
1435
PTS
.Validate(
PTS
.FsQueryTableObjRowDetails(
1440
arrayUpdate = new
PTS
.FSKUPDATE[tableRowDetails.cCells];
1442
arrayTableCellMerge = new
PTS
.FSTABLEKCELLMERGE[tableRowDetails.cCells];
1446
fixed (
PTS
.FSKUPDATE * rgUpdate = arrayUpdate)
1450
fixed (
PTS
.FSTABLEKCELLMERGE * rgTableCellMerge = arrayTableCellMerge)
1454
PTS
.Validate(
PTS
.FsQueryTableObjCellList(
1533
PTS
.FSKUPDATE fskupdRow,
1536
PTS
.FSKUPDATE[] arrayUpdate;
1538
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1555
PTS
.FSKUPDATE fskupdCell;
1560
|| arrayTableCellMerge[iC] ==
PTS
.FSTABLEKCELLMERGE.fskcellmergeMiddle
1561
|| arrayTableCellMerge[iC] ==
PTS
.FSTABLEKCELLMERGE.fskcellmergeLast )
1566
fskupdCell = (arrayUpdate[iC] !=
PTS
.FSKUPDATE.fskupdInherited)
1570
if (fskupdCell !=
PTS
.FSKUPDATE.fskupdNoChange)
1577
if ( fskupdCell ==
PTS
.FSKUPDATE.fskupdNew
1640
PTS
.FSKUPDATE fskupdRow,
1643
PTS
.FSKUPDATE[] arrayUpdate;
1645
PTS
.FSTABLEKCELLMERGE[] arrayTableCellMerge;
1673
PTS
.FSKUPDATE fskupdCell;
1682
fskupdCell = (arrayUpdate[iC] !=
PTS
.FSKUPDATE.fskupdInherited)
1699
PTS
.FSKUPDATE fskupdCell;
1710
if (fskupdCell !=
PTS
.FSKUPDATE.fskupdNoChange)
1715
if (fskupdCell ==
PTS
.FSKUPDATE.fskupdNew)
1806
private double GetActualRowHeight(
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, int rowIndex, MbpInfo mbpInfo)
1833
private void DrawRowGroupBackgrounds(DrawingContext dc,
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, Rect tableContentRect, MbpInfo mbpInfo)
1890
private void DrawRowBackgrounds(DrawingContext dc,
PTS
.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, Rect tableContentRect, MbpInfo mbpInfo)
2023
int ptsNoWidthChanges =
PTS
.True;
2405
if (_calculatedColumns[i].PtsWidthChanged ==
PTS
.True)
2407
ptsNoWidthChanges =
PTS
.False;
2419
private
PTS
.FSRECT GetTableContentRect(MbpInfo mbpInfo)
2424
return new
PTS
.FSRECT(_rect.u + mbpInfo.BPLeft,
2454
internal
PTS
.FSKUPDATE fskupdCell;
2468
private
PTS
.FSRECT _columnRect;
MS\Internal\PtsHost\TableParagraph.cs (30)
124
ref
PTS
.FSPAP fspap) // OUT: paragraph properties
129
fspap.fKeepWithNext =
PTS
.False;
130
fspap.fBreakPageBefore =
PTS
.False;
131
fspap.fBreakColumnBefore =
PTS
.False;
158
out
PTS
.FSTABLEOBJPROPS fstableobjprops)// OUT: properties of the table
160
fstableobjprops = new
PTS
.FSTABLEOBJPROPS();
162
fstableobjprops.fskclear =
PTS
.FSKCLEAR.fskclearNone;
163
fstableobjprops.ktablealignment =
PTS
.FSKTABLEOBJALIGNMENT.fsktableobjAlignLeft;
164
fstableobjprops.fFloat =
PTS
.False;
165
fstableobjprops.fskwr =
PTS
.FSKWRAP.fskwrBoth;
166
fstableobjprops.fDelayNoProgress =
PTS
.False;
171
fstableobjprops.fswdirTable =
PTS
.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty));
210
fFound =
PTS
.False;
227
fFound =
PTS
.False;
242
fFound =
PTS
.False;
259
fFound =
PTS
.False;
295
fFound =
PTS
.True;
300
fFound =
PTS
.False;
370
fFound =
PTS
.True;
375
fFound =
PTS
.False;
393
fHeaderChanged =
PTS
.False;
394
fRepeatedHeaderChanged =
PTS
.False;
395
fFooterChanged =
PTS
.False;
396
fRepeatedFooterChanged =
PTS
.False;
411
fFound =
PTS
.True;
412
fChangeFirst =
PTS
.True;
423
out
PTS
.FSKTABLEHEIGHTDISTRIBUTION tabledistr) // OUT: height distribution kind
425
tabledistr =
PTS
.FSKTABLEHEIGHTDISTRIBUTION.fskdistributeUnchanged;
432
out
PTS
.FSKCHANGE fskch, // OUT: kind of change
437
fskch =
PTS
.FSKCHANGE.fskchNew;
MS\Internal\PtsHost\TextParaClient.cs (402)
59
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
62
PTS
.FSTEXTDETAILS textDetails;
63
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
73
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
110
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
137
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
144
PTS
.FSRECT pageRect = _pageContext.PageRect;
152
internal override void UpdateViewport(ref
PTS
.FSRECT viewport)
155
PTS
.FSTEXTDETAILS textDetails;
156
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
157
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
175
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
181
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
184
PTS
.ValidateHandle(paraClient);
195
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
200
PTS
.FSTEXTDETAILS textDetails;
201
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
207
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
209
PTS
.FSPOINT localPoint = pt;
219
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
235
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
259
PTS
.FSTEXTDETAILS textDetails;
260
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
266
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
271
PTS
.FSATTACHEDOBJECTDESCRIPTION[] arrayAttachedObjectDesc;
276
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
279
PTS
.ValidateHandle(paraClient);
296
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
310
PTS
.FSRECT pageRect = _pageContext.PageRect;
314
PTS
.FSRECT rectTransform = new
PTS
.FSRECT(rectangles[index]);
315
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectTransform,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectTransform));
324
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
351
PTS
.FSTEXTDETAILS textDetails;
352
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
358
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
362
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
377
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
392
PTS
.FSTEXTDETAILS textDetails;
393
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
396
if ( textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull
400
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
408
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
411
PTS
.ValidateHandle(paraClient);
430
PTS
.FSTEXTDETAILS textDetails;
431
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
434
if ( textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull
437
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
445
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
448
PTS
.ValidateHandle(paraClient);
464
PTS
.FSTEXTDETAILS textDetails;
468
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
470
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
490
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc = null;
523
PTS
.FSTEXTDETAILS textDetails;
524
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
535
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
539
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
542
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
549
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
566
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
573
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
577
PTS
.FSLINEELEMENT[] arrayLineElement;
583
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
608
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
638
PTS
.FSTEXTDETAILS textDetails;
639
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
641
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
646
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
691
PTS
.FSTEXTDETAILS textDetails;
692
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
698
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
704
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
719
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
726
PTS
.FSRECT pageRect = _pageContext.PageRect;
727
PTS
.FSRECT rectTransform = new
PTS
.FSRECT(rect);
728
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectTransform,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectTransform));
769
PTS
.FSTEXTDETAILS textDetails;
770
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
776
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
780
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
800
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
837
PTS
.FSTEXTDETAILS textDetails;
838
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
844
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
848
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
863
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
887
PTS
.FSTEXTDETAILS textDetails;
888
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
894
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
898
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
913
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
930
PTS
.FSTEXTDETAILS textDetails;
931
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
937
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
941
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
956
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
977
PTS
.FSTEXTDETAILS textDetails;
978
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
994
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
998
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
1001
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
1008
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1026
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
1033
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
1037
PTS
.FSLINEELEMENT [] arrayLineElement;
1043
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
1070
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
1114
PTS
.FSTEXTDETAILS textDetails;
1115
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
1121
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
1129
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
1144
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
1180
PTS
.FSTEXTDETAILS textDetails;
1181
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
1182
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
1198
PTS
.FSTEXTDETAILS textDetails;
1199
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
1200
Invariant.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull, "Only 'full' text paragraph type is expected.");
1244
PTS
.FSTEXTDETAILS textDetails;
1245
PTS
.Validate(
PTS
.FsQueryTextDetails(PtsContext.Context, _paraHandle, out textDetails));
1251
if (textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdFull)
1257
if (!
PTS
.ToBoolean(textDetails.u.full.fLinesComposite))
1260
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
1265
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1286
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
1291
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
1294
PTS
.FSLINEELEMENT[] arrayLineElement;
1299
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
1322
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
1329
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
1332
PTS
.ValidateHandle(paraClient);
1336
PTS
.FSFLOATERDETAILS floaterDetails;
1337
PTS
.Validate(
PTS
.FsQueryFloaterDetails(PtsContext.Context, attachedObjectDesc.pfspara, out floaterDetails));
1338
PTS
.FSRECT rectFloater = floaterDetails.fsrcFloater;
1342
PTS
.FSRECT pageRect = _pageContext.PageRect;
1343
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectFloater,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectFloater));
1346
((FloaterParaClient)paraClient).ArrangeFloater(rectFloater, _rect,
PTS
.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
1350
PTS
.FSFIGUREDETAILS figureDetails;
1351
PTS
.Validate(
PTS
.FsQueryFigureObjectDetails(PtsContext.Context, attachedObjectDesc.pfspara, out figureDetails));
1352
PTS
.FSRECT rectFigure = figureDetails.fsrcFlowAround;
1356
PTS
.FSRECT pageRect = _pageContext.PageRect;
1357
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectFigure,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectFigure));
1360
((FigureParaClient)paraClient).ArrangeFigure(rectFigure, _rect,
PTS
.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
1372
Debug.Assert(textDetails.fsktd ==
PTS
.FSKTEXTDETAILS.fsktdCached);
1390
private void SyncUpdateDeferredLineVisuals(VisualCollection lineVisuals, ref
PTS
.FSTEXTDETAILSFULL textDetails, bool ignoreUpdateInfo)
1392
Debug.Assert(!
PTS
.ToBoolean(textDetails.fLinesComposite));
1396
if (!
PTS
.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo ||
1404
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
1476
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1521
private ReadOnlyCollection<LineResult> LineResultsFromSimpleLines(ref
PTS
.FSTEXTDETAILSFULL textDetails)
1523
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1529
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
1537
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1546
PTS
.FSRECT pageRect = _pageContext.PageRect;
1547
PTS
.FSRECT rectTransform = new
PTS
.FSRECT(lbox);
1548
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectTransform,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectTransform));
1573
private ReadOnlyCollection<LineResult> LineResultsFromCompositeLines(ref
PTS
.FSTEXTDETAILSFULL textDetails)
1575
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1581
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
1589
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
1593
PTS
.FSLINEELEMENT [] arrayLineElement;
1598
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
1607
PTS
.FSRECT pageRect = _pageContext.PageRect;
1608
PTS
.FSRECT rectTransform = new
PTS
.FSRECT(lbox);
1609
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ThisFlowDirection), ref pageRect, ref rectTransform,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out rectTransform));
1640
ref
PTS
.FSTEXTDETAILSFULL textDetails,
1644
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1650
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
1656
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
1667
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1674
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
1728
ref
PTS
.FSTEXTDETAILSFULL textDetails,
1732
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1738
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
1744
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
1748
PTS
.FSLINEELEMENT [] arrayLineElement;
1753
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
1764
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
1771
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
1822
ref
PTS
.FSTEXTDETAILSFULL textDetails,
1825
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1833
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
1847
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[lineIndex];
1929
ref
PTS
.FSTEXTDETAILSFULL textDetails,
1932
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1940
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
1945
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[lineIndex];
1952
PTS
.FSLINEELEMENT[] arrayLineElement;
1957
PTS
.FSLINEELEMENT elemDesc = arrayLineElement[elemIndex];
2070
ref
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc,
2078
Rect lineRect = new
PTS
.FSRECT(lineDesc.urBBox, lineDesc.vrStart, lineDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).FromTextDpi();
2109
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2114
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2181
ref
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc,
2183
ref
PTS
.FSLINEELEMENT elemDesc,
2189
Rect elementRect = new
PTS
.FSRECT(elemDesc.urBBox, lineDesc.vrStart, elemDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).FromTextDpi();
2220
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(elemDesc.fClearOnLeft),
PTS
.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2225
TextParagraph.FormatLineCore(line, elemDesc.pfsbreakreclineclient, ctx, elemDesc.dcpFirst, elemDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), elemDesc.dcpFirst);
2330
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2337
PTS
.FSATTACHEDOBJECTDESCRIPTION[] arrayAttachedObjectDesc;
2342
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
2345
PTS
.ValidateHandle(objectParaClient);
2372
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2374
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2380
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
2388
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
2437
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2444
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2464
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2466
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2472
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
2480
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
2487
PTS
.FSLINEELEMENT[] arrayLineElement;
2492
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
2561
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2568
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
2590
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2592
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2598
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
2607
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
2640
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2647
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2715
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2717
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2723
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
2732
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
2736
PTS
.FSLINEELEMENT [] arrayLineElement;
2741
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
2806
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2813
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
2880
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2882
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2888
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
2897
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
2922
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2929
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2972
ref
PTS
.FSTEXTDETAILSFULL textDetails)
2974
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2980
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
2989
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
2993
PTS
.FSLINEELEMENT[] arrayLineElement;
2998
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3048
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3055
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3099
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3101
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3107
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
3113
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3120
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3127
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3152
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3154
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3160
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
3166
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
3170
PTS
.FSLINEELEMENT[] arrayLineElement;
3175
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3182
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3189
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3212
ref
PTS
.FSTEXTDETAILSFULL textDetails,
3215
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3224
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
3228
if (!
PTS
.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo)
3236
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3239
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3247
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3281
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3284
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3292
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3321
private bool IntersectsWithRectOnV(ref
PTS
.FSRECT rect)
3330
private bool ContainedInRectOnV(ref
PTS
.FSRECT rect)
3339
private ContainerVisual CreateLineVisual(ref
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc, int cpTextParaStart)
3341
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3349
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3368
ref
PTS
.FSTEXTDETAILSFULL textDetails,
3369
ref
PTS
.FSRECT viewport)
3373
Debug.Assert(!
PTS
.ToBoolean(textDetails.fLinesComposite));
3395
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
3411
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[lineIndex];
3426
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[lineIndex];
3452
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3472
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3512
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3586
ref
PTS
.FSTEXTDETAILSFULL textDetails,
3589
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3595
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
3599
if (!
PTS
.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo)
3607
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
3625
PTS
.FSLINEELEMENT [] arrayLineElement;
3630
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3633
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3641
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3676
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
3694
PTS
.FSLINEELEMENT [] arrayLineElement;
3699
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3702
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3710
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3740
PTS
.FSKUPDATE fskupdInherited,
3744
PTS
.FSKUPDATE fskupd;
3751
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc;
3760
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObjectDesc = arrayAttachedObjectDesc[index];
3763
PTS
.ValidateHandle(paraClient);
3766
if (fskupd ==
PTS
.FSKUPDATE.fskupdInherited)
3771
if(fskupd !=
PTS
.FSKUPDATE.fskupdNoChange)
3783
PTS
.FSPOINT pt,
3784
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3786
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3795
PTS
.FSLINEDESCRIPTIONSINGLE [] arrayLineDesc;
3801
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3806
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3817
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3844
private bool IsDeferredVisualCreationSupported(ref
PTS
.FSTEXTDETAILSFULL textDetails)
3849
if(
PTS
.ToBoolean(textDetails.fLinesComposite))
3866
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3868
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3883
PTS
.FSLINEDESCRIPTIONSINGLE[] arrayLineDesc;
3889
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc = arrayLineDesc[index];
3905
PTS
.FSLINEDESCRIPTIONSINGLE lineDesc,
3934
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(lineDesc.fClearOnLeft),
PTS
.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3941
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3963
PTS
.FSPOINT pt,
3964
ref
PTS
.FSTEXTDETAILSFULL textDetails)
3966
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3975
PTS
.FSLINEDESCRIPTIONCOMPOSITE [] arrayLineDesc;
3981
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
3989
PTS
.FSLINEELEMENT [] arrayLineElement;
3994
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
3997
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4008
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
4046
ref
PTS
.FSTEXTDETAILSFULL textDetails)
4048
ErrorHandler.Assert(!
PTS
.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
4060
PTS
.FSLINEDESCRIPTIONCOMPOSITE[] arrayLineDesc;
4066
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc = arrayLineDesc[index];
4087
PTS
.FSLINEDESCRIPTIONCOMPOSITE lineDesc,
4108
PTS
.FSLINEELEMENT[] arrayLineElement;
4113
PTS
.FSLINEELEMENT element = arrayLineElement[elIndex];
4133
Line.FormattingContext ctx = new Line.FormattingContext(false,
PTS
.ToBoolean(element.fClearOnLeft),
PTS
.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4140
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur,
PTS
.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
MS\Internal\PtsHost\TextParagraph.cs (27)
112
ref
PTS
.FSPAP fspap)
116
fspap.fKeepWithNext =
PTS
.False;
117
fspap.fBreakPageBefore =
PTS
.False;
118
fspap.fBreakColumnBefore =
PTS
.False;
121
fspap.idobj =
PTS
.fsidobjText;
154
ref
PTS
.FSTXTPROPS fstxtprops)
158
fstxtprops.fswdir =
PTS
.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty));
160
fstxtprops.fKeepTogether =
PTS
.FromBoolean(DynamicPropertyReader.GetKeepTogether(Element));
163
fstxtprops.fDropCap =
PTS
.False;
164
fstxtprops.fVerticalGrid =
PTS
.False;
165
fstxtprops.fOptimizeParagraph =
PTS
.FromBoolean(IsOptimalParagraph);
167
fstxtprops.fAvoidHyphenationAtTrackBottom =
PTS
.False;
168
fstxtprops.fAvoidHyphenationOnLastChainElement =
PTS
.False;
520
out
PTS
.FSFLRES fsflres,
570
fForcedBroken =
PTS
.FromBoolean(line.IsTruncated);
577
fReformatNeighborsAsLastLine =
PTS
.False;
706
out
PTS
.FSFLRES fsflres,
754
fForcedBroken =
PTS
.FromBoolean(line.IsTruncated);
761
fReformatNeighborsAsLastLine =
PTS
.False;
987
figurePara.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
1010
floaterPara.SetUpdateInfo(
PTS
.FSKCHANGE.fskchNew, false);
1150
internal override void SetUpdateInfo(
PTS
.FSKCHANGE fskch, bool stopAsking)
1154
if (fskch ==
PTS
.FSKCHANGE.fskchInside)
1345
PTS
.ValidateHandle(lineBreakRecord);
1405
internal void UpdateTextContentRangeFromAttachedObjects(TextContentRange textContentRange, int dcpFirst, int dcpLast,
PTS
.FSATTACHEDOBJECTDESCRIPTION [] arrayAttachedObjectDesc)
1435
PTS
.FSATTACHEDOBJECTDESCRIPTION attachedObject = arrayAttachedObjectDesc[index];
1439
PTS
.ValidateHandle(paraClient);
MS\Internal\PtsHost\UIElementParaClient.cs (11)
63
PTS
.FSFLOATERDETAILS floaterDetails;
64
PTS
.Validate(
PTS
.FsQueryFloaterDetails(PtsContext.Context, _paraHandle, out floaterDetails));
74
PTS
.FSRECT pageRect = _pageContext.PageRect;
75
PTS
.Validate(
PTS
.FsTransformRectangle(
PTS
.FlowDirectionToFswdir(ParentFlowDirection), ref pageRect, ref _rect,
PTS
.FlowDirectionToFswdir(PageFlowDirection), out _rect));
102
internal override void ValidateVisual(
PTS
.FSKUPDATE fskupdInherited)
129
uiElementIsland.Offset = new
PTS
.FSVECTOR(_rect.u + mbp.BPLeft, _rect.v + mbp.BPTop).FromTextDpi();
167
internal override IInputElement InputHitTest(
PTS
.FSPOINT pt)
MS\Internal\PtsHost\UIElementParagraph.cs (49)
148
out
PTS
.FSFLOATERPROPS fsfloaterprops) // OUT: properties of the floater
150
fsfloaterprops = new
PTS
.FSFLOATERPROPS();
151
fsfloaterprops.fFloat =
PTS
.False; // Floater
152
fsfloaterprops.fskclear =
PTS
.WrapDirectionToFskclear((WrapDirection)Element.GetValue(Block.ClearFloatersProperty));
155
fsfloaterprops.fskfloatalignment =
PTS
.FSKFLOATALIGNMENT.fskfloatalignMin;
156
fsfloaterprops.fskwr =
PTS
.FSKWRAP.fskwrNone;
159
fsfloaterprops.fDelayNoProgress =
PTS
.True;
176
PTS
.FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,
178
out
PTS
.FSFMTR fsfmtr, // OUT: result of formatting
183
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
190
if (fAtMaxWidth ==
PTS
.False && fEmptyOk ==
PTS
.True)
195
fsfmtr = new
PTS
.FSFMTR();
196
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
197
fsfmtr.fContainsItemThatStoppedBeforeFootnote =
PTS
.False;
198
fsfmtr.fForcedProgress =
PTS
.False;
199
fsbbox = new
PTS
.FSBBOX();
200
fsbbox.fDefined =
PTS
.False;
208
fsfmtr.fForcedProgress =
PTS
.FromBoolean(fAtMaxWidth ==
PTS
.False);
222
fsbbox.fsrc = new
PTS
.FSRECT();
229
if (dvrAvailable < dvrFloaterHeight && fEmptyOk ==
PTS
.True)
233
fsfmtr = new
PTS
.FSFMTR();
234
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrNoProgressOutOfSpace;
235
fsbbox = new
PTS
.FSBBOX();
236
fsbbox.fDefined =
PTS
.False;
243
fsbbox.fDefined =
PTS
.True;
248
Invariant.Assert(fEmptyOk ==
PTS
.False);
249
fsfmtr.fForcedProgress =
PTS
.True;
251
fsfmtr.kstop =
PTS
.FSFMTRKSTOP.fmtrGoalReached;
256
fsfmtr.fContainsItemThatStoppedBeforeFootnote =
PTS
.False;
270
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
274
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
281
if (fAtMaxWidth ==
PTS
.False)
288
fsfmtrbl =
PTS
.FSFMTRBL.fmtrblInterrupted;
289
fsbbox = new
PTS
.FSBBOX();
290
fsbbox.fDefined =
PTS
.False;
305
fsfmtrbl =
PTS
.FSFMTRBL.fmtrblGoalReached;
306
fsbbox.fDefined =
PTS
.True;
315
fsbbox.fsrc = new
PTS
.FSRECT();
318
fsbbox.fDefined =
PTS
.True;
320
fsfmtrbl =
PTS
.FSFMTRBL.fmtrblGoalReached;
338
out
PTS
.FSFMTRBL fsfmtrbl, // OUT: result of formatting
341
out
PTS
.FSBBOX fsbbox, // OUT: floater bbox
386
private void FormatUIElement(int durAvailable, out
PTS
.FSBBOX fsbbox)
412
fsbbox.fsrc = new
PTS
.FSRECT();
415
fsbbox.fDefined =
PTS
.True;
439
fsbbox.fsrc = new
PTS
.FSRECT();
442
fsbbox.fDefined =
PTS
.True;
MS\Internal\PtsHost\UpdateRecord.cs (2)
32
ChangeType =
PTS
.FSKCHANGE.fskchNone;
75
internal
PTS
.FSKCHANGE ChangeType;
MS\Internal\PtsTable\CalculatedColumn.cs (1)
73
internal int PtsWidthChanged { get { return (
PTS
.FromBoolean(!CheckFlags(Flags.ValidWidth))); } }
MS\Internal\Text\TextDpi.cs (7)
72
internal static
PTS
.FSPOINT ToTextPoint(Point point)
74
PTS
.FSPOINT fspoint = new
PTS
.FSPOINT();
83
internal static
PTS
.FSVECTOR ToTextSize(Size size)
85
PTS
.FSVECTOR fsvector = new
PTS
.FSVECTOR();
94
internal static Rect FromTextRect(
PTS
.FSRECT fsrect)
System\Windows\Documents\Block.cs (2)
489
double maxLineHeight = Math.Min(1000000,
PTS
.MaxFontSize);
533
double maxThickness = Math.Min(1000000,
PTS
.MaxPageSize);
System\Windows\Documents\Figure.cs (1)
300
double maxOffset = Math.Min(1000000,
PTS
.MaxPageSize);
System\Windows\Documents\Floater.cs (1)
133
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)
387
double maxSpacing = Math.Min(1000000,
PTS
.MaxPageSize);
System\Windows\Documents\TableCell.cs (1)
571
const int maxSpan =
PTS
.Restrictions.tscTableColumnsRestriction;
System\Windows\Documents\TableColumn.cs (1)
205
double maxPixel = Math.Min(1000000,
PTS
.MaxPageSize);
System\Windows\Documents\TextElement.cs (1)
1606
double maxFontSize = Math.Min(1000000,
PTS
.MaxFontSize);
System\Windows\Documents\TextRangeEdit.cs (2)
2348
new DoublePropertyRange (Paragraph.TextIndentProperty, -Math.Min(1000000,
PTS
.MaxPageSize), Math.Min(1000000,
PTS
.MaxPageSize))
System\Windows\FigureLength.cs (2)
100
double maxColumns =
PTS
.Restrictions.tscColumnRestriction;
101
double maxPixel = Math.Min(1000000,
PTS
.MaxPageSize);