Foxit PDF SDK
|
Public Member Functions | |
TableData () | |
Constructor. | |
TableData (RectF rect, int row_count, int col_count, TableBorderInfo outside_border_left, TableBorderInfo outside_border_right, TableBorderInfo outside_border_top, TableBorderInfo outside_border_bottom, TableBorderInfo inside_border_row, TableBorderInfo inside_border_col, TableCellIndexArray merge_cells, FloatArray row_height_array, FloatArray col_width_array) | |
Constructor, with parameters. More... | |
TableData (TableData data) | |
Constructor, with another table cell data object. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
int | getCol_count () |
Get the count of columns in the table. More... | |
FloatArray | getCol_width_array () |
Get the column width array. More... | |
TableBorderInfo | getInside_border_col () |
Get the column inside border info. More... | |
TableBorderInfo | getInside_border_row () |
Get the row inside border info. More... | |
TableCellIndexArray | getMerge_cells () |
Get the merge cells. More... | |
TableBorderInfo | getOutside_border_bottom () |
Get the bottom outside border info. More... | |
TableBorderInfo | getOutside_border_left () |
Get the left outside border info. More... | |
TableBorderInfo | getOutside_border_right () |
Get the right outside border info. More... | |
TableBorderInfo | getOutside_border_top () |
Get the top outside border info. More... | |
RectF | getRect () |
Get rectangle of the table which specifies the position in PDF page. More... | |
int | getRow_count () |
Get the count of rows in the table. More... | |
FloatArray | getRow_height_array () |
Get the row height array. More... | |
void | set (RectF rect, int row_count, int col_count, TableBorderInfo outside_border_left, TableBorderInfo outside_border_right, TableBorderInfo outside_border_top, TableBorderInfo outside_border_bottom, TableBorderInfo inside_border_row, TableBorderInfo inside_border_col, TableCellIndexArray merge_cells, FloatArray row_height_array, FloatArray col_width_array) |
Set value. More... | |
void | setCol_count (int value) |
Set the count of columns in the table. More... | |
void | setCol_width_array (FloatArray value) |
Set the column width array. More... | |
void | setInside_border_col (TableBorderInfo value) |
Set the column inside border info. More... | |
void | setInside_border_row (TableBorderInfo value) |
Set the row inside border info. More... | |
void | setMerge_cells (TableCellIndexArray value) |
Set the merge cells. More... | |
void | setOutside_border_bottom (TableBorderInfo value) |
Set the bottom outside border info. More... | |
void | setOutside_border_left (TableBorderInfo value) |
Set the left outside border info. More... | |
void | setOutside_border_right (TableBorderInfo value) |
Set the right outside border info. More... | |
void | setOutside_border_top (TableBorderInfo value) |
Set the top outside border info. More... | |
void | setRect (RectF value) |
Set rectangle of the table which specifies the position in PDF page. More... | |
void | setRow_count (int value) |
Set the count of rows in the table. More... | |
void | setRow_height_array (FloatArray value) |
Set the row height array. More... | |
This class represents table data.
com.foxit.sdk.addon.tablegenerator.TableData.TableData | ( | RectF | rect, |
int | row_count, | ||
int | col_count, | ||
TableBorderInfo | outside_border_left, | ||
TableBorderInfo | outside_border_right, | ||
TableBorderInfo | outside_border_top, | ||
TableBorderInfo | outside_border_bottom, | ||
TableBorderInfo | inside_border_row, | ||
TableBorderInfo | inside_border_col, | ||
TableCellIndexArray | merge_cells, | ||
FloatArray | row_height_array, | ||
FloatArray | col_width_array | ||
) |
Constructor, with parameters.
[in] | rect | The rectangle of the table which specifies the position in PDF page. |
[in] | row_count | The count of rows in the table. |
[in] | col_count | The count of columns in the table. |
[in] | outside_border_left | The left outside border info. |
[in] | outside_border_right | The right outside border info. |
[in] | outside_border_top | The top outside border info. |
[in] | outside_border_bottom | The bottom outside border info. |
[in] | inside_border_row | The row inside border info. |
[in] | inside_border_col | The column inside border info. |
[in] | merge_cells | The merge cells. |
[in] | row_height_array | The row height array. The row height will be set as default value automatically if the member of array is zero. Default: (height of rect)/row_count. |
[in] | col_width_array | The column width array. The column width will be set as default value automatically if the member of array is zero. Default: (width of rect)/col_count. |
com.foxit.sdk.addon.tablegenerator.TableData.TableData | ( | TableData | data | ) |
Constructor, with another table cell data object.
[in] | data | Another table data object, whose value would be assigned to current object. |
synchronized void com.foxit.sdk.addon.tablegenerator.TableData.delete | ( | ) |
Clean up related resources immediately.
com.foxit.sdk.addon.tablegenerator.TableData.getCol_count | ( | ) |
Get the count of columns in the table.
com.foxit.sdk.addon.tablegenerator.TableData.getCol_width_array | ( | ) |
Get the column width array.
com.foxit.sdk.addon.tablegenerator.TableData.getInside_border_col | ( | ) |
Get the column inside border info.
com.foxit.sdk.addon.tablegenerator.TableData.getInside_border_row | ( | ) |
Get the row inside border info.
com.foxit.sdk.addon.tablegenerator.TableData.getMerge_cells | ( | ) |
Get the merge cells.
com.foxit.sdk.addon.tablegenerator.TableData.getOutside_border_bottom | ( | ) |
Get the bottom outside border info.
com.foxit.sdk.addon.tablegenerator.TableData.getOutside_border_left | ( | ) |
Get the left outside border info.
com.foxit.sdk.addon.tablegenerator.TableData.getOutside_border_right | ( | ) |
Get the right outside border info.
com.foxit.sdk.addon.tablegenerator.TableData.getOutside_border_top | ( | ) |
Get the top outside border info.
com.foxit.sdk.addon.tablegenerator.TableData.getRect | ( | ) |
Get rectangle of the table which specifies the position in PDF page.
com.foxit.sdk.addon.tablegenerator.TableData.getRow_count | ( | ) |
Get the count of rows in the table.
com.foxit.sdk.addon.tablegenerator.TableData.getRow_height_array | ( | ) |
Get the row height array.
void com.foxit.sdk.addon.tablegenerator.TableData.set | ( | RectF | rect, |
int | row_count, | ||
int | col_count, | ||
TableBorderInfo | outside_border_left, | ||
TableBorderInfo | outside_border_right, | ||
TableBorderInfo | outside_border_top, | ||
TableBorderInfo | outside_border_bottom, | ||
TableBorderInfo | inside_border_row, | ||
TableBorderInfo | inside_border_col, | ||
TableCellIndexArray | merge_cells, | ||
FloatArray | row_height_array, | ||
FloatArray | col_width_array | ||
) |
Set value.
[in] | rect | The rectangle of the table which specifies the position in PDF page. |
[in] | row_count | The count of rows in the table. |
[in] | col_count | The count of columns in the table. |
[in] | outside_border_left | The left outside border info. |
[in] | outside_border_right | The right outside border info. |
[in] | outside_border_top | The top outside border info. |
[in] | outside_border_bottom | The bottom outside border info. |
[in] | inside_border_row | The row inside border info. |
[in] | inside_border_col | The column inside border info. |
[in] | merge_cells | The merge cells. |
[in] | row_height_array | The row height array. The row height will be set as default value automatically if the member of array is zero. Default: (height of rect)/row_count. |
[in] | col_width_array | The column width array. The column width will be set as default value automatically if the member of array is zero. Default: (width of rect)/col_count. |
com.foxit.sdk.addon.tablegenerator.TableData.setCol_count | ( | int | value | ) |
Set the count of columns in the table.
[in] | value | The count of columns in the table. |
com.foxit.sdk.addon.tablegenerator.TableData.setCol_width_array | ( | FloatArray | value | ) |
Set the column width array.
[in] | value | The column width array. The column width will be set as default value automatically if the member of array is zero. Default: (width of rect)/col_count. |
com.foxit.sdk.addon.tablegenerator.TableData.setInside_border_col | ( | TableBorderInfo | value | ) |
Set the column inside border info.
[in] | value | The column inside border info. |
com.foxit.sdk.addon.tablegenerator.TableData.setInside_border_row | ( | TableBorderInfo | value | ) |
Set the row inside border info.
[in] | value | The row inside border info. |
com.foxit.sdk.addon.tablegenerator.TableData.setMerge_cells | ( | TableCellIndexArray | value | ) |
Set the merge cells.
[in] | value | The merge cells. The length of this array must be even and the zero length means no merge cell. |
com.foxit.sdk.addon.tablegenerator.TableData.setOutside_border_bottom | ( | TableBorderInfo | value | ) |
Set the bottom outside border info.
[in] | value | The bottom outside border info. |
com.foxit.sdk.addon.tablegenerator.TableData.setOutside_border_left | ( | TableBorderInfo | value | ) |
Set the left outside border info.
[in] | value | The left outside border info. |
com.foxit.sdk.addon.tablegenerator.TableData.setOutside_border_right | ( | TableBorderInfo | value | ) |
Set the right outside border info.
[in] | value | The right outside border info. |
com.foxit.sdk.addon.tablegenerator.TableData.setOutside_border_top | ( | TableBorderInfo | value | ) |
Set the top outside border info.
[in] | value | The top outside border info. |
com.foxit.sdk.addon.tablegenerator.TableData.setRect | ( | RectF | value | ) |
Set rectangle of the table which specifies the position in PDF page.
[in] | value | Rectangle of the table which specifies the position in PDF page. It should be in [PDF coordinate system] (com.foxit.sdk.pdf.PDFPage). |
com.foxit.sdk.addon.tablegenerator.TableData.setRow_count | ( | int | value | ) |
Set the count of rows in the table.
[in] | value | The count of rows in the table. |
com.foxit.sdk.addon.tablegenerator.TableData.setRow_height_array | ( | FloatArray | value | ) |
Set the row height array.
[in] | value | The row height array. The row height will be set as default value automatically if the member of array is zero. Default: (height of rect)/row_count. |