FastReport
132 строки · 3.2 Кб
1using System;2using System.Collections.Generic;3using System.ComponentModel;4using System.Text;5
6#pragma warning disable FR0005 // Field must be texted in lowerCamelCase.7
8namespace FastReport.CrossView9{
10/// <summary>11///12/// </summary>13public struct CrossViewMeasureCell14{15
16/// <summary>17///18/// </summary>19public string Text;20
21}22/// <summary>23///24/// </summary>25public struct CrossViewAxisDrawCell26{27/// <summary>28///29/// </summary>30public int Level;31/// <summary>32///33/// </summary>34public int SizeLevel;35/// <summary>36///37/// </summary>38public int Cell;39/// <summary>40///41/// </summary>42public int SizeCell;43/// <summary>44///45/// </summary>46public int MeasureIndex;47/// <summary>48///49/// </summary>50public 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>63public delegate bool CrossViewAxisDrawCellHandler(CrossViewAxisDrawCell crossViewAxisDrawCell);64/// <summary>65/// Represents interface of the source for <see cref="CrossView"/> object.66/// </summary>67public interface IBaseCubeLink68{69/// <summary>70///71/// </summary>72int XAxisFieldsCount { get; }73/// <summary>74///75/// </summary>76int YAxisFieldsCount { get; }77/// <summary>78///79/// </summary>80int MeasuresCount { get; }81/// <summary>82///83/// </summary>84int MeasuresLevel { get; }85/// <summary>86///87/// </summary>88bool MeasuresInXAxis { get; }89/// <summary>90///91/// </summary>92bool MeasuresInYAxis { get; }93/// <summary>94///95/// </summary>96int DataColumnCount { get; }97/// <summary>98///99/// </summary>100int DataRowCount { get; }101/// <summary>102///103/// </summary>104bool SourceAssigned { get; }105/// <summary>106///107/// </summary>108CrossViewMeasureCell GetMeasureCell(int colIndex, int rowIndex);109/// <summary>110///111/// </summary>112void TraverseXAxis(CrossViewAxisDrawCellHandler crossViewAxisDrawCellHandler);113/// <summary>114///115/// </summary>116void TraverseYAxis(CrossViewAxisDrawCellHandler crossViewAxisDrawCellHandler);117/// <summary>118///119/// </summary>120string GetXAxisFieldName(int fieldIndex);121/// <summary>122///123/// </summary>124string GetYAxisFieldName(int fieldIndex);125/// <summary>126///127/// </summary>128string GetMeasureName(int measureIndex);129}130
131}
132#pragma warning restore FR0005 // Field must be texted in lowerCamelCase.