com.stimulsoft.report.crossTab
Class StiCrossTabHelper

java.lang.Object
  extended by com.stimulsoft.report.crossTab.StiCrossTabHelper

public class StiCrossTabHelper
extends java.lang.Object


Field Summary
static boolean IsCrossTabRendering
           
 
Constructor Summary
StiCrossTabHelper()
           
 
Method Summary
static void BuildCross(StiCrossTab masterCrossTab, boolean designTime)
           
static DataTable BuildCrossForCrossTabDataSource(StiCrossTab masterCrossTab, boolean designTime)
           
static void CalculateMaxAndMin(StiContainer outContainer, StiRefObject<java.lang.Double> maxLeft, StiRefObject<java.lang.Double> maxRight, int startIndex)
           
static int checkMergedRowCells(StiCrossTab masterCrossTab, int startRow, int endRow, int startCol, int endCol)
           
static void CreateCross(StiCrossTab masterCrossTab)
           
static DataTable CreateCrossForCrossTabDataSource(StiCrossTab masterCrossTab)
           
static StiRectangle GetCellRect(StiCrossTab masterCrossTab, int colIndex, int rowIndex)
           
static StiRectangle GetCellRect(StiCrossTab masterCrossTab, int colIndex, int rowIndex, int state, int colRow, int sumColumn, int sumHeaders)
           
static StiSize GetCellsRect(StiCrossTab masterCrossTab, int startCol, int startRow, int endCol, int endRow)
           
static int GetEndCol(StiCrossTab masterCrossTab, int startCol, StiRectangle rect)
           
static int GetEndRow(StiCrossTab masterCrossTab, int startRow, StiRectangle rect)
           
static boolean IsColFieldsEmpty(StiCrossTab masterCrossTab)
           
static boolean IsRowFieldsEmpty(StiCrossTab masterCrossTab)
           
static void MakeHorAlignmentByWidth(StiContainer outContainer, int startIndex)
           
static void MakeRightToLeft(StiCrossTab masterCrossTab)
           
static void RenderCells(StiCrossTab masterCrossTab, StiContainer outContainer, int startCol, int startRow, int endCol, int endRow, StiRectangle rect)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IsCrossTabRendering

public static boolean IsCrossTabRendering
Constructor Detail

StiCrossTabHelper

public StiCrossTabHelper()
Method Detail

GetCellRect

public static StiRectangle GetCellRect(StiCrossTab masterCrossTab,
                                       int colIndex,
                                       int rowIndex,
                                       int state,
                                       int colRow,
                                       int sumColumn,
                                       int sumHeaders)

GetCellRect

public static StiRectangle GetCellRect(StiCrossTab masterCrossTab,
                                       int colIndex,
                                       int rowIndex)

GetCellsRect

public static StiSize GetCellsRect(StiCrossTab masterCrossTab,
                                   int startCol,
                                   int startRow,
                                   int endCol,
                                   int endRow)

RenderCells

public static void RenderCells(StiCrossTab masterCrossTab,
                               StiContainer outContainer,
                               int startCol,
                               int startRow,
                               int endCol,
                               int endRow,
                               StiRectangle rect)

CreateCrossForCrossTabDataSource

public static DataTable CreateCrossForCrossTabDataSource(StiCrossTab masterCrossTab)

BuildCrossForCrossTabDataSource

public static DataTable BuildCrossForCrossTabDataSource(StiCrossTab masterCrossTab,
                                                        boolean designTime)

BuildCross

public static void BuildCross(StiCrossTab masterCrossTab,
                              boolean designTime)

GetEndCol

public static int GetEndCol(StiCrossTab masterCrossTab,
                            int startCol,
                            StiRectangle rect)

GetEndRow

public static int GetEndRow(StiCrossTab masterCrossTab,
                            int startRow,
                            StiRectangle rect)

checkMergedRowCells

public static int checkMergedRowCells(StiCrossTab masterCrossTab,
                                      int startRow,
                                      int endRow,
                                      int startCol,
                                      int endCol)

IsColFieldsEmpty

public static boolean IsColFieldsEmpty(StiCrossTab masterCrossTab)

IsRowFieldsEmpty

public static boolean IsRowFieldsEmpty(StiCrossTab masterCrossTab)

CreateCross

public static void CreateCross(StiCrossTab masterCrossTab)

MakeRightToLeft

public static void MakeRightToLeft(StiCrossTab masterCrossTab)

CalculateMaxAndMin

public static void CalculateMaxAndMin(StiContainer outContainer,
                                      StiRefObject<java.lang.Double> maxLeft,
                                      StiRefObject<java.lang.Double> maxRight,
                                      int startIndex)

MakeHorAlignmentByWidth

public static void MakeHorAlignmentByWidth(StiContainer outContainer,
                                           int startIndex)