示例#1
0
        Sorting GetSortBy()
        {
            MatrixEntry me = null;

            foreach (MatrixEntry m in this.HashData.Values)
            {   // just get the first one
                me = m;
                break;
            }
            if (me == null)
            {
                return(null);
            }

            Sorting sb = null;

            if (me.RowGroup != null)
            {
                if (me.RowGroup.DynamicRows != null)
                {
                    sb = me.RowGroup.DynamicRows.Sorting;
                }
            }
            else if (me.ColumnGroup != null)
            {
                if (me.ColumnGroup.DynamicColumns != null)
                {
                    sb = me.ColumnGroup.DynamicColumns.Sorting;
                }
            }
            return(sb);
        }
示例#2
0
        Rows _Data;                                 // set dynamically when needed

        internal MatrixEntry(Row r, string hash, MatrixEntry p, int rowCount)
        {
            _r           = r;
            _hash        = hash;
            _HashData    = new Dictionary <string, MatrixEntry>();
            _ColumnGroup = null;
            _RowGroup    = null;
            _SortedData  = null;
            _Data        = null;
            _rowCount    = rowCount;
            _Rows        = null;
            _Parent      = p;
            _FirstRow    = -1;
            _LastRow     = -1;
        }
示例#3
0
        internal void SetME(Report rpt, MatrixEntry me)
        {
            WorkClass wc = GetWC(rpt);

            wc.ME = me;
        }
示例#4
0
 internal MatrixEntry ME;                    // Used at runtime to contain data values
 internal WorkClass()
 {
     ME = null;
 }