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