FastReport

Форк
0
132 строки · 3.2 Кб
1
using System;
2
using System.Collections.Generic;
3
using System.ComponentModel;
4
using System.Text;
5

6
#pragma warning disable FR0005 // Field must be texted in lowerCamelCase.
7

8
namespace FastReport.CrossView
9
{
10
    /// <summary>
11
    /// 
12
    /// </summary>
13
    public struct CrossViewMeasureCell
14
    {
15

16
        /// <summary>
17
        /// 
18
        /// </summary>
19
        public string Text;
20

21
    }
22
    /// <summary>
23
    /// 
24
    /// </summary>
25
    public struct CrossViewAxisDrawCell
26
    {
27
        /// <summary>
28
        /// 
29
        /// </summary>
30
        public int Level;
31
        /// <summary>
32
        /// 
33
        /// </summary>
34
        public int SizeLevel;
35
        /// <summary>
36
        /// 
37
        /// </summary>
38
        public int Cell;
39
        /// <summary>
40
        /// 
41
        /// </summary>
42
        public int SizeCell;
43
        /// <summary>
44
        /// 
45
        /// </summary>
46
        public int MeasureIndex;
47
        /// <summary>
48
        /// 
49
        /// </summary>
50
        public string Text;
51
        //    public PropertyOfCellAxis CellProperties;
52
        //    public int TotalIndex;
53
        //    public int NodeLevel;
54
        //    public int NodeIndex;
55
        //    public HorizontalAlignment Alignment;
56
        //    public int ValueIndex;
57
    }
58
    /// <summary>
59
    /// 
60
    /// </summary>
61
    /// <param name="crossViewAxisDrawCell"></param>
62
    /// <returns></returns>
63
    public delegate bool CrossViewAxisDrawCellHandler(CrossViewAxisDrawCell crossViewAxisDrawCell);
64
    /// <summary>
65
    /// Represents interface of the source for <see cref="CrossView"/> object.
66
    /// </summary>
67
    public interface IBaseCubeLink
68
    {
69
        /// <summary>
70
        /// 
71
        /// </summary>
72
        int XAxisFieldsCount { get; }
73
        /// <summary>
74
        /// 
75
        /// </summary>
76
        int YAxisFieldsCount { get; }
77
        /// <summary>
78
        /// 
79
        /// </summary>
80
        int MeasuresCount { get; }
81
        /// <summary>
82
        /// 
83
        /// </summary>
84
        int MeasuresLevel { get; }
85
        /// <summary>
86
        /// 
87
        /// </summary>
88
        bool MeasuresInXAxis { get; }
89
        /// <summary>
90
        /// 
91
        /// </summary>
92
        bool MeasuresInYAxis { get; }
93
        /// <summary>
94
        /// 
95
        /// </summary>
96
        int DataColumnCount { get; }
97
        /// <summary>
98
        /// 
99
        /// </summary>
100
        int DataRowCount { get; }
101
        /// <summary>
102
        /// 
103
        /// </summary>
104
        bool SourceAssigned { get; }
105
        /// <summary>
106
        /// 
107
        /// </summary>
108
        CrossViewMeasureCell GetMeasureCell(int colIndex, int rowIndex);
109
        /// <summary>
110
        /// 
111
        /// </summary>
112
        void TraverseXAxis(CrossViewAxisDrawCellHandler crossViewAxisDrawCellHandler);
113
        /// <summary>
114
        /// 
115
        /// </summary>
116
        void TraverseYAxis(CrossViewAxisDrawCellHandler crossViewAxisDrawCellHandler);
117
        /// <summary>
118
        /// 
119
        /// </summary>
120
        string GetXAxisFieldName(int fieldIndex);
121
        /// <summary>
122
        /// 
123
        /// </summary>
124
        string GetYAxisFieldName(int fieldIndex);
125
        /// <summary>
126
        /// 
127
        /// </summary>
128
        string GetMeasureName(int measureIndex);
129
    }
130

131
}
132
#pragma warning restore FR0005 // Field must be texted in lowerCamelCase.

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.