public void ApplyFormulasTo(ShapeCells other) { if (this.Width.HasValue) { other.Width = this.Width; } if (this.Height.HasValue) { other.Height = this.Height; } if (this.Angle.HasValue) { other.Angle = this.Angle; } if (this.PinX.HasValue) { other.PinX = this.PinX; } if (this.PinY.HasValue) { other.PinY = this.PinY; } if (this.LocPinX.HasValue) { other.LocPinX = this.LocPinX; } if (this.LocPinY.HasValue) { other.LocPinY = this.LocPinY; } if (this.FillBkgnd.HasValue) { other.FillBkgnd = this.FillBkgnd; } if (this.FillBkgndTrans.HasValue) { other.FillBkgndTrans = this.FillBkgndTrans; } if (this.FillForegnd.HasValue) { other.FillForegnd = this.FillForegnd; } if (this.FillForegndTrans.HasValue) { other.FillForegndTrans = this.FillForegndTrans; } if (this.FillPattern.HasValue) { other.FillPattern = this.FillPattern; } if (this.ShapeShdwObliqueAngle.HasValue) { other.ShapeShdwObliqueAngle = this.ShapeShdwObliqueAngle; } if (this.ShapeShdwOffsetX.HasValue) { other.ShapeShdwOffsetX = this.ShapeShdwOffsetX; } if (this.ShapeShdwOffsetY.HasValue) { other.ShapeShdwOffsetY = this.ShapeShdwOffsetY; } if (this.ShapeShdwScaleFactor.HasValue) { other.ShapeShdwScaleFactor = this.ShapeShdwScaleFactor; } if (this.ShapeShdwType.HasValue) { other.ShapeShdwType = this.ShapeShdwType; } if (this.ShdwBkgnd.HasValue) { other.ShdwBkgnd = this.ShdwBkgnd; } if (this.ShdwBkgndTrans.HasValue) { other.ShdwBkgndTrans = this.ShdwBkgndTrans; } if (this.ShdwForegnd.HasValue) { other.ShdwForegnd = this.ShdwForegnd; } if (this.ShdwForegndTrans.HasValue) { other.ShdwForegndTrans = this.ShdwForegndTrans; } if (this.ShdwPattern.HasValue) { other.ShdwPattern = this.ShdwPattern; } if (this.BeginArrow.HasValue) { other.BeginArrow = this.BeginArrow; } if (this.BeginArrowSize.HasValue) { other.BeginArrowSize = this.BeginArrowSize; } if (this.EndArrow.HasValue) { other.EndArrow = this.EndArrow; } if (this.EndArrowSize.HasValue) { other.EndArrowSize = this.EndArrowSize; } if (this.LineCap.HasValue) { other.LineCap = this.LineCap; } if (this.LineColor.HasValue) { other.LineColor = this.LineColor; } if (this.LineColorTrans.HasValue) { other.LineColorTrans = this.LineColorTrans; } if (this.LinePattern.HasValue) { other.LinePattern = this.LinePattern; } if (this.LineWeight.HasValue) { other.LineWeight = this.LineWeight; } if (this.Rounding.HasValue) { other.Rounding = this.Rounding; } if (this.CharAsianFont.HasValue) { other.CharAsianFont = this.CharAsianFont; } if (this.CharCase.HasValue) { other.CharCase = this.CharCase; } if (this.CharColor.HasValue) { other.CharColor = this.CharColor; } if (this.CharComplexScriptFont.HasValue) { other.CharComplexScriptFont = this.CharComplexScriptFont; } if (this.CharComplexScriptSize.HasValue) { other.CharComplexScriptSize = this.CharComplexScriptSize; } if (this.CharDoubleStrikeThrough.HasValue) { other.CharDoubleStrikeThrough = this.CharDoubleStrikeThrough; } if (this.CharDoubleUnderline.HasValue) { other.CharDoubleUnderline = this.CharDoubleUnderline; } if (this.CharFont.HasValue) { other.CharFont = this.CharFont; } if (this.CharLangID.HasValue) { other.CharLangID = this.CharLangID; } if (this.CharLocale.HasValue) { other.CharLocale = this.CharLocale; } if (this.CharLocalizeFont.HasValue) { other.CharLocalizeFont = this.CharLocalizeFont; } if (this.CharOverline.HasValue) { other.CharOverline = this.CharOverline; } if (this.CharPerpendicular.HasValue) { other.CharPerpendicular = this.CharPerpendicular; } if (this.CharPos.HasValue) { other.CharPos = this.CharPos; } if (this.CharRTLText.HasValue) { other.CharRTLText = this.CharRTLText; } if (this.CharFontScale.HasValue) { other.CharFontScale = this.CharFontScale; } if (this.CharSize.HasValue) { other.CharSize = this.CharSize; } if (this.CharLetterspace.HasValue) { other.CharLetterspace = this.CharLetterspace; } if (this.CharStrikethru.HasValue) { other.CharStrikethru = this.CharStrikethru; } if (this.CharStyle.HasValue) { other.CharStyle = this.CharStyle; } if (this.CharTransparency.HasValue) { other.CharTransparency = this.CharTransparency; } if (this.CharUseVertical.HasValue) { other.CharUseVertical = this.CharUseVertical; } if (this.BottomMargin.HasValue) { other.BottomMargin = this.BottomMargin; } if (this.DefaultTabstop.HasValue) { other.DefaultTabstop = this.DefaultTabstop; } if (this.LeftMargin.HasValue) { other.LeftMargin = this.LeftMargin; } if (this.RightMargin.HasValue) { other.RightMargin = this.RightMargin; } if (this.TextBkgnd.HasValue) { other.TextBkgnd = this.TextBkgnd; } if (this.TextBkgndTrans.HasValue) { other.TextBkgndTrans = this.TextBkgndTrans; } if (this.TextDirection.HasValue) { other.TextDirection = this.TextDirection; } if (this.TopMargin.HasValue) { other.TopMargin = this.TopMargin; } if (this.VerticalAlign.HasValue) { other.VerticalAlign = this.VerticalAlign; } if (this.ParaBullet.HasValue) { other.ParaBullet = this.ParaBullet; } if (this.ParaBulletFont.HasValue) { other.ParaBulletFont = this.ParaBulletFont; } if (this.ParaBulletFontSize.HasValue) { other.ParaBulletFontSize = this.ParaBulletFontSize; } if (this.ParaBulletString.HasValue) { other.ParaBulletString = this.ParaBulletString; } if (this.ParaFlags.HasValue) { other.ParaFlags = this.ParaFlags; } if (this.ParaHorizontalAlign.HasValue) { other.ParaHorizontalAlign = this.ParaHorizontalAlign; } if (this.ParaIndentFirst.HasValue) { other.ParaIndentFirst = this.ParaIndentFirst; } if (this.ParaIndentLeft.HasValue) { other.ParaIndentLeft = this.ParaIndentLeft; } if (this.ParaIndentRight.HasValue) { other.ParaIndentRight = this.ParaIndentRight; } if (this.ParaLocBulletFont.HasValue) { other.ParaLocBulletFont = this.ParaLocBulletFont; } if (this.ParaSpacingAfter.HasValue) { other.ParaSpacingAfter = this.ParaSpacingAfter; } if (this.ParaSpacingBefore.HasValue) { other.ParaSpacingBefore = this.ParaSpacingBefore; } if (this.ParaSpacingLine.HasValue) { other.ParaSpacingLine = this.ParaSpacingLine; } if (this.ParaTextPosAfterBullet.HasValue) { other.ParaTextPosAfterBullet = this.ParaTextPosAfterBullet; } if (this.TxtAngle.HasValue) { other.TxtAngle = this.TxtAngle; } if (this.TxtHeight.HasValue) { other.TxtHeight = this.TxtHeight; } if (this.TxtLocPinX.HasValue) { other.TxtLocPinX = this.TxtLocPinX; } if (this.TxtLocPinY.HasValue) { other.TxtLocPinY = this.TxtLocPinY; } if (this.TxtPinX.HasValue) { other.TxtPinX = this.TxtPinX; } if (this.TxtPinY.HasValue) { other.TxtPinY = this.TxtPinY; } if (this.TxtWidth.HasValue) { other.TxtWidth = this.TxtWidth; } if (this.ConFixedCode.HasValue) { other.ConFixedCode = this.ConFixedCode; } if (this.ConLineJumpCode.HasValue) { other.ConLineJumpCode = this.ConLineJumpCode; } if (this.ConLineJumpDirX.HasValue) { other.ConLineJumpDirX = this.ConLineJumpDirX; } if (this.ConLineJumpDirY.HasValue) { other.ConLineJumpDirY = this.ConLineJumpDirY; } if (this.ConLineJumpStyle.HasValue) { other.ConLineJumpStyle = this.ConLineJumpStyle; } if (this.ConLineRouteExt.HasValue) { other.ConLineRouteExt = this.ConLineRouteExt; } if (this.ShapeFixedCode.HasValue) { other.ShapeFixedCode = this.ShapeFixedCode; } if (this.ShapePermeablePlace.HasValue) { other.ShapePermeablePlace = this.ShapePermeablePlace; } if (this.ShapePermeableX.HasValue) { other.ShapePermeableX = this.ShapePermeableX; } if (this.ShapePermeableY.HasValue) { other.ShapePermeableY = this.ShapePermeableY; } if (this.ShapePlaceFlip.HasValue) { other.ShapePlaceFlip = this.ShapePlaceFlip; } if (this.ShapePlaceStyle.HasValue) { other.ShapePlaceStyle = this.ShapePlaceStyle; } if (this.ShapePlowCode.HasValue) { other.ShapePlowCode = this.ShapePlowCode; } if (this.ShapeRouteStyle.HasValue) { other.ShapeRouteStyle = this.ShapeRouteStyle; } if (this.ShapeSplit.HasValue) { other.ShapeSplit = this.ShapeSplit; } if (this.ShapeSplittable.HasValue) { other.ShapeSplittable = this.ShapeSplittable; } }