예제 #1
0
        internal SLTotalsRowFormula Clone()
        {
            var trf = new SLTotalsRowFormula();

            trf.Array = Array;
            trf.Text  = Text;

            return(trf);
        }
        private void SetAllNull()
        {
            CalculatedColumnFormula = new SLCalculatedColumnFormula();
            HasCalculatedColumnFormula = false;
            TotalsRowFormula = new SLTotalsRowFormula();
            HasTotalsRowFormula = false;
            XmlColumnProperties = new SLXmlColumnProperties();
            HasXmlColumnProperties = false;

            Id = 0;
            UniqueName = null;
            Name = string.Empty;
            TotalsRowFunction = TotalsRowFunctionValues.None;
            HasTotalsRowFunction = false;
            TotalsRowLabel = null;
            QueryTableFieldId = null;
            HeaderRowDifferentialFormattingId = null;
            DataFormatId = null;
            TotalsRowDifferentialFormattingId = null;
            HeaderRowCellStyle = null;
            DataCellStyle = null;
            TotalsRowCellStyle = null;
        }