//------------------------------------------------------------------- // // PTS callbacks // //------------------------------------------------------------------- #region PTS callbacks // ------------------------------------------------------------------ // UpdGetParaChange // ------------------------------------------------------------------ internal override void UpdGetParaChange( out PTS.FSKCHANGE fskch, // OUT: kind of change out int fNoFurtherChanges) // OUT: no changes after? { fskch = PTS.FSKCHANGE.fskchNew; fNoFurtherChanges = PTS.FromBoolean(_stopAsking); }
// ------------------------------------------------------------------ // UpdGetParaChange - Floater paragraph is always new // ------------------------------------------------------------------ internal override void UpdGetParaChange( out PTS.FSKCHANGE fskch, // OUT: kind of change out int fNoFurtherChanges) // OUT: no changes after? { base.UpdGetParaChange(out fskch, out fNoFurtherChanges); fskch = PTS.FSKCHANGE.fskchNew; }
/// <summary> /// UpdGetCellChange /// </summary> /// <param name="fWidthChanged">Indication that cell's width changed /// </param> /// <param name="fskchCell">Change kind. One of: None, New, Inside /// </param> internal void UpdGetCellChange( out int fWidthChanged, // OUT: out PTS.FSKCHANGE fskchCell) // OUT: { // calculate state change fWidthChanged = PTS.True; fskchCell = PTS.FSKCHANGE.fskchNew; }
// Token: 0x06006B34 RID: 27444 RVA: 0x001EF68C File Offset: 0x001ED88C internal override void SetUpdateInfo(PTS.FSKCHANGE fskch, bool stopAsking) { base.SetUpdateInfo(fskch, stopAsking); if (fskch == PTS.FSKCHANGE.fskchInside) { this._textRunCache = new TextRunCache(); this._lineProperties = null; } }
// ------------------------------------------------------------------ // // PTS callbacks // // ------------------------------------------------------------------ #region PTS callbacks /// <summary> /// UpdGetParaChange /// </summary> /// <param name="fskch"> /// OUT: kind of change /// </param> /// <param name="fNoFurtherChanges"> /// OUT: no changes after? /// </param> internal virtual void UpdGetParaChange( out PTS.FSKCHANGE fskch, out int fNoFurtherChanges) { fskch = _changeType; fNoFurtherChanges = PTS.FromBoolean(_stopAsking); #if TEXTPANELLAYOUTDEBUG if (StructuralCache.CurrentFormatContext.IncrementalUpdate) { TextPanelDebug.Log("Para.UpdGetParaChange, Para=" + this.GetType().Name + " Change=" + _changeType.ToString(), TextPanelDebug.Category.ContentChange); } #endif }
// Token: 0x0600679A RID: 26522 RVA: 0x001CFD2C File Offset: 0x001CDF2C internal void UpdGetSegmentChange(out PTS.FSKCHANGE fskch) { if (base.StructuralCache.CurrentFormatContext.FinitePage) { DtrList dtrList = base.StructuralCache.DtrsFromRange(TextContainerHelper.GetCPFromElement(base.StructuralCache.TextContainer, base.Element, ElementEdge.BeforeStart), base.LastFormatCch); if (dtrList != null) { int cpfromElement = TextContainerHelper.GetCPFromElement(base.StructuralCache.TextContainer, base.Element, ElementEdge.AfterStart); DirtyTextRange dirtyTextRange = dtrList[0]; int num = cpfromElement; BaseParagraph baseParagraph = this._firstChild; if (num < dirtyTextRange.StartIndex) { while (baseParagraph != null && num + baseParagraph.LastFormatCch <= dirtyTextRange.StartIndex && (num + baseParagraph.LastFormatCch != dirtyTextRange.StartIndex || !(baseParagraph is TextParagraph))) { num += baseParagraph.Cch; baseParagraph = baseParagraph.Next; } if (baseParagraph != null) { baseParagraph.SetUpdateInfo(PTS.FSKCHANGE.fskchInside, false); } } else { baseParagraph.SetUpdateInfo(PTS.FSKCHANGE.fskchNew, false); } if (baseParagraph != null) { for (baseParagraph = baseParagraph.Next; baseParagraph != null; baseParagraph = baseParagraph.Next) { baseParagraph.SetUpdateInfo(PTS.FSKCHANGE.fskchNew, false); } } this._changeType = PTS.FSKCHANGE.fskchInside; } } fskch = this._changeType; }
// Token: 0x06006A1F RID: 27167 RVA: 0x001E3625 File Offset: 0x001E1825 internal override void UpdGetParaChange(out PTS.FSKCHANGE fskch, out int fNoFurtherChanges) { base.UpdGetParaChange(out fskch, out fNoFurtherChanges); fskch = PTS.FSKCHANGE.fskchNew; }
// Token: 0x06006747 RID: 26439 RVA: 0x001CDDC4 File Offset: 0x001CBFC4 internal virtual void SetUpdateInfo(PTS.FSKCHANGE fskch, bool stopAsking) { this._changeType = fskch; this._stopAsking = stopAsking; }
// Token: 0x06006743 RID: 26435 RVA: 0x001CDD96 File Offset: 0x001CBF96 internal virtual void UpdGetParaChange(out PTS.FSKCHANGE fskch, out int fNoFurtherChanges) { fskch = this._changeType; fNoFurtherChanges = PTS.FromBoolean(this._stopAsking); }
// Token: 0x06006768 RID: 26472 RVA: 0x001CE856 File Offset: 0x001CCA56 internal void UpdGetCellChange(out int fWidthChanged, out PTS.FSKCHANGE fskchCell) { fWidthChanged = 1; fskchCell = PTS.FSKCHANGE.fskchNew; }
// Token: 0x060067F9 RID: 26617 RVA: 0x001D38F8 File Offset: 0x001D1AF8 internal override void UpdGetParaChange(out PTS.FSKCHANGE fskch, out int fNoFurtherChanges) { fskch = PTS.FSKCHANGE.fskchNew; fNoFurtherChanges = PTS.FromBoolean(this._stopAsking); }