|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.ecss.extensions.commons.table.operations.TableInfo
public class TableInfo
Contains information about the table element (number of rows, columns, table title).
Field Summary | |
---|---|
static int |
TABLE_MODEL_CALS
Constant for CALS table model. |
static int |
TABLE_MODEL_CUSTOM
Constant for custom table model specific for a document type (proprietary table model). |
static int |
TABLE_MODEL_DITA_SIMPLE
The simple table model for DITA. |
static int |
TABLE_MODEL_HTML
Constant for HTML table model. |
Constructor Summary | |
---|---|
TableInfo(java.lang.String title,
int rowsNumber,
int columnsNumber,
boolean generateHeader,
boolean generateFooter,
java.lang.String frame,
int tableModel)
Constructor. |
|
TableInfo(java.lang.String title,
int rowsNumber,
int columnsNumber,
boolean generateHeader,
boolean generateFooter,
java.lang.String frame,
int tableModel,
TableCustomizerConstants.ColumnWidthsType columnsWidthsType)
Constructor. |
Method Summary | |
---|---|
int |
getColumnsNumber()
Return the number of columns. |
TableCustomizerConstants.ColumnWidthsType |
getColumnsWidthsType()
|
java.lang.String |
getFrame()
|
int |
getRowsNumber()
Return the number of rows. |
int |
getTableModel()
|
java.lang.String |
getTitle()
Returns the title of the table. |
boolean |
isGenerateFooter()
|
boolean |
isGenerateHeader()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TABLE_MODEL_HTML
public static final int TABLE_MODEL_CALS
public static final int TABLE_MODEL_CUSTOM
public static final int TABLE_MODEL_DITA_SIMPLE
Constructor Detail |
---|
public TableInfo(java.lang.String title, int rowsNumber, int columnsNumber, boolean generateHeader, boolean generateFooter, java.lang.String frame, int tableModel)
title
- The table title.rowsNumber
- The number of rows.columnsNumber
- The number of columns.generateHeader
- If true
generate table header.generateFooter
- If true
generate table footer.frame
- Specifies how the table is to be framed.tableModel
- The table model type.
One of the constants:
TABLE_MODEL_CALS
, TABLE_MODEL_CUSTOM
,
TABLE_MODEL_DITA_SIMPLE
, TABLE_MODEL_HTML
.public TableInfo(java.lang.String title, int rowsNumber, int columnsNumber, boolean generateHeader, boolean generateFooter, java.lang.String frame, int tableModel, TableCustomizerConstants.ColumnWidthsType columnsWidthsType)
title
- The table title.rowsNumber
- The number of rows.columnsNumber
- The number of columns.generateHeader
- If true
generate table header.generateFooter
- If true
generate table footer.frame
- Specifies how the table is to be framed.tableModel
- The table model type.
One of the constants:
TABLE_MODEL_CALS
, TABLE_MODEL_CUSTOM
,
TABLE_MODEL_DITA_SIMPLE
, TABLE_MODEL_HTML
.columnsWidthsType
- The columns widths type.Method Detail |
---|
public java.lang.String getTitle()
public int getRowsNumber()
public int getColumnsNumber()
public boolean isGenerateHeader()
true
then table header will be generated.public boolean isGenerateFooter()
true
then table footer will be generated.public java.lang.String getFrame()
public int getTableModel()
TABLE_MODEL_CALS
, TABLE_MODEL_CUSTOM
,
TABLE_MODEL_DITA_SIMPLE
, TABLE_MODEL_HTML
.public TableCustomizerConstants.ColumnWidthsType getColumnsWidthsType()
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |