Beispiel #1
0
        internal SLSheetProperties Clone()
        {
            SLSheetProperties sp = new SLSheetProperties(this.listThemeColors, this.listIndexedColors);

            sp.clrTabColor = this.clrTabColor.Clone();
            sp.HasTabColor = this.HasTabColor;

            sp.ApplyStyles        = this.ApplyStyles;
            sp.SummaryBelow       = this.SummaryBelow;
            sp.SummaryRight       = this.SummaryRight;
            sp.ShowOutlineSymbols = this.ShowOutlineSymbols;

            sp.AutoPageBreaks = this.AutoPageBreaks;
            sp.FitToPage      = this.FitToPage;

            sp.SyncHorizontal       = this.SyncHorizontal;
            sp.SyncVertical         = this.SyncVertical;
            sp.SyncReference        = this.SyncReference;
            sp.TransitionEvaluation = this.TransitionEvaluation;
            sp.TransitionEntry      = this.TransitionEntry;
            sp.Published            = this.Published;
            sp.CodeName             = this.CodeName;
            sp.FilterMode           = this.FilterMode;
            sp.EnableFormatConditionsCalculation = this.EnableFormatConditionsCalculation;

            return(sp);
        }
        internal SLSheetProperties Clone()
        {
            SLSheetProperties sp = new SLSheetProperties(this.listThemeColors, this.listIndexedColors);
            sp.clrTabColor = this.clrTabColor.Clone();
            sp.HasTabColor = this.HasTabColor;

            sp.ApplyStyles = this.ApplyStyles;
            sp.SummaryBelow = this.SummaryBelow;
            sp.SummaryRight = this.SummaryRight;
            sp.ShowOutlineSymbols = this.ShowOutlineSymbols;

            sp.AutoPageBreaks = this.AutoPageBreaks;
            sp.FitToPage = this.FitToPage;

            sp.SyncHorizontal = this.SyncHorizontal;
            sp.SyncVertical = this.SyncVertical;
            sp.SyncReference = this.SyncReference;
            sp.TransitionEvaluation = this.TransitionEvaluation;
            sp.TransitionEntry = this.TransitionEntry;
            sp.Published = this.Published;
            sp.CodeName = this.CodeName;
            sp.FilterMode = this.FilterMode;
            sp.EnableFormatConditionsCalculation = this.EnableFormatConditionsCalculation;

            return sp;
        }