Style Intelligence v12.0

inetsoft.report
Class TableConverter

java.lang.Object
  extended by inetsoft.report.TableConverter

public class TableConverter
extends Object

Utility for converting between table modes.


Field Summary
protected static int DETAIL
           
protected static int FOOTER
           
protected static int G_FOOTER
           
protected static int G_HEADER
           
protected static int HEADER
           
 
Constructor Summary
TableConverter()
           
 
Method Summary
protected static void changeFromCrosstabToCalc(TableLayout olayout, TableLayout nlayout)
          Change from crosstab to calc.
protected static void clearSpanCellBinding(TableLayout layout)
          Clear cell binding inner of span.
protected static void convertAsPlainToCalc(inetsoft.uql.util.XSourceInfo source, TableLayout olayout, TableLayout nlayout)
          Convert crosstab like crosstab to calc.
protected static void convertHeaderFromNormalToCalc(TableLayout olayout, TableLayout nlayout)
          Convert headers from normal table to calc table.
protected static void fixNamedGroups(CalcGroup[] groups)
          Process the named group when table convert to a calc table, the named group with complex operation can not support to calc.
protected static inetsoft.report.internal.binding.OrderInfo fixOrderInfo(CalcGroup gfield)
           
protected static String getDefaultCellName(TableLayout nlayout, TableLayout olayout, DataRef ref)
          Get cell name for a calc cell.
protected static String getDefaultCellName(TableLayout nlayout, TableLayout olayout, String name)
           
protected static boolean isEmpty(CellBinding binding)
          Check if a cell binding is empty.
protected static boolean isSimpleAggregate(CalcAggregate field, CalcGroup[][] groups1)
          Check if this aggregate can be handled by calc cell binding (true) or needs to be handled by a script (false).
protected static boolean isSimpleGroup(CalcGroup field)
          Check if this group can be handled by calc cell binding (true) or needs to be handled by a script (false).
protected static boolean isSimpleGroup(CalcGroup[] gfields, int idx)
          Check if a group is simple group.
protected static boolean isSimpleGroups(CalcGroup[] groups)
          Check if is simple groups.
protected static boolean processed(List rects, Point loc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADER

protected static final int HEADER
See Also:
Constant Field Values

G_HEADER

protected static final int G_HEADER
See Also:
Constant Field Values

DETAIL

protected static final int DETAIL
See Also:
Constant Field Values

G_FOOTER

protected static final int G_FOOTER
See Also:
Constant Field Values

FOOTER

protected static final int FOOTER
See Also:
Constant Field Values
Constructor Detail

TableConverter

public TableConverter()
Method Detail

clearSpanCellBinding

protected static void clearSpanCellBinding(TableLayout layout)
Clear cell binding inner of span.


changeFromCrosstabToCalc

protected static void changeFromCrosstabToCalc(TableLayout olayout,
                                               TableLayout nlayout)
Change from crosstab to calc.


fixNamedGroups

protected static void fixNamedGroups(CalcGroup[] groups)
Process the named group when table convert to a calc table, the named group with complex operation can not support to calc.


convertAsPlainToCalc

protected static void convertAsPlainToCalc(inetsoft.uql.util.XSourceInfo source,
                                           TableLayout olayout,
                                           TableLayout nlayout)
Convert crosstab like crosstab to calc.


convertHeaderFromNormalToCalc

protected static void convertHeaderFromNormalToCalc(TableLayout olayout,
                                                    TableLayout nlayout)
Convert headers from normal table to calc table.


getDefaultCellName

protected static String getDefaultCellName(TableLayout nlayout,
                                           TableLayout olayout,
                                           DataRef ref)
Get cell name for a calc cell.


getDefaultCellName

protected static String getDefaultCellName(TableLayout nlayout,
                                           TableLayout olayout,
                                           String name)

isEmpty

protected static boolean isEmpty(CellBinding binding)
Check if a cell binding is empty.


processed

protected static boolean processed(List rects,
                                   Point loc)

isSimpleGroups

protected static boolean isSimpleGroups(CalcGroup[] groups)
Check if is simple groups.


isSimpleGroup

protected static boolean isSimpleGroup(CalcGroup[] gfields,
                                       int idx)
Check if a group is simple group.


isSimpleGroup

protected static boolean isSimpleGroup(CalcGroup field)
Check if this group can be handled by calc cell binding (true) or needs to be handled by a script (false).


fixOrderInfo

protected static inetsoft.report.internal.binding.OrderInfo fixOrderInfo(CalcGroup gfield)

isSimpleAggregate

protected static boolean isSimpleAggregate(CalcAggregate field,
                                           CalcGroup[][] groups1)
Check if this aggregate can be handled by calc cell binding (true) or needs to be handled by a script (false).


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.