public class LogicalTableHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static ILogicalTable |
logicalTable(IGridTable table)
If there is no merged cells in the top row and left column - returns
SimpleLogicalTable in other case
return LogicalTable |
static ILogicalTable |
logicalTable(IGridTable table,
ILogicalTable columnOffsetsTable,
ILogicalTable rowOffsetsTable) |
static ILogicalTable |
make1ColumnTable(ILogicalTable t) |
static ILogicalTable |
mergeBounds(ILogicalTable leftRows,
ILogicalTable topColumns)
This method will produce a logical table defined by 2 tables: leftRows and topColumns Both tables are logical
tables.
|
static ILogicalTable |
unmergeColumns(ILogicalTable table,
int fromColumn,
int toColumn) |
public static ILogicalTable logicalTable(IGridTable table, ILogicalTable columnOffsetsTable, ILogicalTable rowOffsetsTable)
public static ILogicalTable logicalTable(IGridTable table)
SimpleLogicalTable in other case
return LogicalTabletable - Original source grid table.ILogicalTable table with correctly calculated height and width.public static ILogicalTable mergeBounds(ILogicalTable leftRows, ILogicalTable topColumns)
leftRows - topColumns - public static ILogicalTable make1ColumnTable(ILogicalTable t)
public static ILogicalTable unmergeColumns(ILogicalTable table, int fromColumn, int toColumn)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.