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