public class TableCellOffsetInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
column |
Integer |
insideColumn |
Integer |
insideOffset |
int |
offset |
int |
row |
static int |
ROW_END |
static int |
ROW_START |
TableSection |
section |
MarkdownTable |
table |
TableCell |
tableCell |
TableRow |
tableRow |
static int |
TEXT_END |
static int |
TEXT_START |
| Constructor and Description |
|---|
TableCellOffsetInfo(int offset,
MarkdownTable table,
TableSection section,
TableRow tableRow,
TableCell tableCell,
int row,
int column,
Integer insideColumn,
Integer insideOffset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDeleteColumn() |
boolean |
canDeleteRow() |
boolean |
getInsideColumn() |
TableCell |
getPreviousCell() |
TableCell |
getPreviousCell(int offset) |
TableCell |
getPreviousCell(TableRow tableRow,
int offset) |
boolean |
isAfterCaption() |
boolean |
isAfterCells() |
boolean |
isBeforeCaption() |
boolean |
isBeforeCells() |
boolean |
isCaptionLine() |
boolean |
isFirstCell() |
boolean |
isInCellSpan() |
boolean |
isInsideCaption() |
boolean |
isInsideCell() |
boolean |
isLastCell() |
boolean |
isLastRow() |
boolean |
isSeparatorLine() |
TableCellOffsetInfo |
nextCellOffset(Integer insideOffset)
Only available if tableRow/tableCell are set and not in first cell of first row
|
TableCellOffsetInfo |
nextOffsetStop(Map<TableSectionType,Integer> stopPointsMap)
Available if somewhere in table
|
TableCellOffsetInfo |
nextRowOffset(Integer insideOffset)
Only available if not at last row
|
TableCellOffsetInfo |
previousCellOffset(Integer insideOffset)
Only available if inside are set and not in first cell of first row
|
TableCellOffsetInfo |
previousOffsetStop(Map<TableSectionType,Integer> stopPointsMap)
Available if somewhere in table
|
TableCellOffsetInfo |
previousRowOffset(Integer insideOffset)
Only available if not at row 0
|
String |
toString() |
public static final int ROW_START
public static final int TEXT_START
public static final int TEXT_END
public static final int ROW_END
public final MarkdownTable table
public final int offset
public final TableSection section
public final TableRow tableRow
public final TableCell tableCell
public final int row
public final int column
public final Integer insideColumn
public final Integer insideOffset
public TableCellOffsetInfo(int offset,
MarkdownTable table,
TableSection section,
TableRow tableRow,
TableCell tableCell,
int row,
int column,
Integer insideColumn,
Integer insideOffset)
public boolean isCaptionLine()
public boolean isSeparatorLine()
public boolean isInsideCaption()
public boolean isAfterCaption()
public boolean isBeforeCaption()
public boolean isInsideCell()
public boolean getInsideColumn()
public boolean isBeforeCells()
public TableCell getPreviousCell()
public TableCell getPreviousCell(int offset)
public boolean isInCellSpan()
public boolean isAfterCells()
public boolean canDeleteColumn()
public boolean canDeleteRow()
public boolean isFirstCell()
public boolean isLastCell()
public boolean isLastRow()
public TableCellOffsetInfo previousCellOffset(Integer insideOffset)
CAUTION: NOT TESTED
insideOffset - offset inside the cell, null if same as the current cell inside
offsetpublic TableCellOffsetInfo nextCellOffset(Integer insideOffset)
CAUTION: NOT TESTED
insideOffset - offset inside the cell, null if same as thpublic TableCellOffsetInfo previousRowOffset(Integer insideOffset)
CAUTION: NOT TESTED
insideOffset - offset inside the cell, null if same as thpublic TableCellOffsetInfo nextRowOffset(Integer insideOffset)
CAUTION: NOT TESTED
insideOffset - offset inside the cell, null if same as thpublic TableCellOffsetInfo nextOffsetStop(Map<TableSectionType,Integer> stopPointsMap)
stopPointsMap - stop points of interest map by section or nullpublic TableCellOffsetInfo previousOffsetStop(Map<TableSectionType,Integer> stopPointsMap)
stopPointsMap - stop points of interest map by section or null for defaultCopyright © 2020. All rights reserved.