Show / Hide Table of Contents

Class CubeSourceBase

Base class for all CubeSources such as SliceCubeSource.

Inheritance
System.Object
Base
DataComponentBase
CubeSourceBase
SliceCubeSource
Implements
IFRSerializable
Inherited Members
DataComponentBase.Alias
DataComponentBase.Enabled
DataComponentBase.ReferenceName
DataComponentBase.Reference
DataComponentBase.IsAliased
DataComponentBase.Assign(Base)
DataComponentBase.SetName(String)
DataComponentBase.InitializeComponent()
Base.Name
Base.Restrictions
Base.Flags
Base.Parent
Base.BaseName
Base.ClassName
Base.Report
Base.Page
Base.ChildObjects
Base.AllObjects
Base.ZOrder
Base.IsAncestor
Base.IsDesigning
Base.IsPrinting
Base.IsRunning
Base.OriginalComponent
Base.SetProp(Base, Base)
Base.FloatDiff(Single, Single)
Base.DeserializeSubItems(FRReader)
Base.ExtractDefaultMacros(String)
Base.Dispose(Boolean)
Base.SetFlags(Flags, Boolean)
Base.SetReport(Report)
Base.SetParent(Base)
Base.SetParentCore(Base)
Base.FindObject(String)
Base.CreateUniqueName()
Base.Clear()
Base.BaseAssign(Base)
Base.AssignAll(Base)
Base.HasParent(Base)
Base.HasFlag(Flags)
Base.HasRestriction(Restrictions)
Base.InvokeEvent(String, Object)
Base.OnAfterLoad()
Base.GetExpressions()
Base.GetCustomScript()
Base.ExtractMacros()
Base.IsHaveToConvert(Object)
Base.GetConvertedObjects()
Base.ForEachAllConvectedObjects(Object)
Namespace: FastReport.Data
Assembly: FastReport.OpenSource.dll
Syntax
public abstract class CubeSourceBase : DataComponentBase, IFRSerializable

Constructors

CubeSourceBase()

Initializes a new instance of the CubeSourceBase class with default settings.

Declaration
public CubeSourceBase()

Properties

CubeLink

Declaration
public IBaseCubeLink CubeLink { get; }
Property Value
Type Description
IBaseCubeLink

DataColumnCount

Declaration
public int DataColumnCount { get; }
Property Value
Type Description
System.Int32

DataRowCount

Declaration
public int DataRowCount { get; }
Property Value
Type Description
System.Int32

MeasuresCount

Declaration
public int MeasuresCount { get; }
Property Value
Type Description
System.Int32

MeasuresInXAxis

Declaration
public bool MeasuresInXAxis { get; }
Property Value
Type Description
System.Boolean

MeasuresInYAxis

Declaration
public bool MeasuresInYAxis { get; }
Property Value
Type Description
System.Boolean

MeasuresLevel

Declaration
public int MeasuresLevel { get; }
Property Value
Type Description
System.Int32

SourceAssigned

Declaration
public bool SourceAssigned { get; }
Property Value
Type Description
System.Boolean

XAxisFieldsCount

Declaration
public int XAxisFieldsCount { get; }
Property Value
Type Description
System.Int32

YAxisFieldsCount

Declaration
public int YAxisFieldsCount { get; }
Property Value
Type Description
System.Int32

Methods

Changed()

Declaration
public void Changed()

Deserialize(FRReader)

Deserializes the object.

Declaration
public override void Deserialize(FRReader reader)
Parameters
Type Name Description
FRReader reader

Reader object.

Overrides
Base.Deserialize(FRReader)
Remarks

Do not call this method directly. You should override it if you are developing a new component for FastReport.

This method is called when the object needs to restore the state. It may happen when:

  • loading the report from a file or stream;
  • loading the report from the designer's undo buffer;
  • assigning another object to this object using the Assign(Base) or AssignAll(Base) methods;
  • loading the object from the designer's clipboard;

GetMeasureCell(Int32, Int32)

Declaration
public CrossViewMeasureCell GetMeasureCell(int colIndex, int rowIndex)
Parameters
Type Name Description
System.Int32 colIndex
System.Int32 rowIndex
Returns
Type Description
CrossViewMeasureCell

GetMeasureName(Int32)

Declaration
public string GetMeasureName(int measureIndex)
Parameters
Type Name Description
System.Int32 measureIndex
Returns
Type Description
System.String

GetXAxisFieldName(Int32)

Declaration
public string GetXAxisFieldName(int fieldIndex)
Parameters
Type Name Description
System.Int32 fieldIndex
Returns
Type Description
System.String

GetYAxisFieldName(Int32)

Declaration
public string GetYAxisFieldName(int fieldIndex)
Parameters
Type Name Description
System.Int32 fieldIndex
Returns
Type Description
System.String

Serialize(FRWriter)

Serializes the object.

Declaration
public override void Serialize(FRWriter writer)
Parameters
Type Name Description
FRWriter writer

Writer object.

Overrides
DataComponentBase.Serialize(FRWriter)
Remarks

Do not call this method directly. You should override it if you are developing a new component for FastReport.

This method is called when the object needs to save the state. It may happen when:

  • saving the report to the file or stream;
  • saving the report to the designer's undo buffer;
  • assigning the object to another object using the Assign(Base) or AssignAll(Base) methods;
  • saving the object to the designer's clipboard;
  • saving the object to the preview (when run a report).

TraverseXAxis(CrossViewAxisDrawCellHandler)

Declaration
public void TraverseXAxis(CrossViewAxisDrawCellHandler crossViewAxisDrawCellHandler)
Parameters
Type Name Description
CrossViewAxisDrawCellHandler crossViewAxisDrawCellHandler

TraverseYAxis(CrossViewAxisDrawCellHandler)

Declaration
public void TraverseYAxis(CrossViewAxisDrawCellHandler crossViewAxisDrawCellHandler)
Parameters
Type Name Description
CrossViewAxisDrawCellHandler crossViewAxisDrawCellHandler

Events

OnChanged

Declaration
public event EventHandler OnChanged
Event Type
Type Description
System.EventHandler

Implements

IFRSerializable
Back to top Generated by DocFX