|
Foxit PDF SDK
|
Public 成员函数 | |
| 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) | |
| 构造函数,带参数。 更多... | |
| TableData (TableData data) | |
| 拷贝构造函数。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| int | getCol_count () |
| Get 表格中的列数。 更多... | |
| FloatArray | getCol_width_array () |
| Get 列宽数组。如果数组成员为零,列宽将自动设置为默认值。默认值:(rect 的宽度)/col_count。 更多... | |
| TableBorderInfo | getInside_border_col () |
| Get 列内边框信息。 更多... | |
| TableBorderInfo | getInside_border_row () |
| Get 行内边框信息。 更多... | |
| TableCellIndexArray | getMerge_cells () |
| Get 合并单元格。此数组的长度必须是偶数,零长度表示没有合并单元格。 更多... | |
| TableBorderInfo | getOutside_border_bottom () |
| Get 下外边框信息。 更多... | |
| TableBorderInfo | getOutside_border_left () |
| Get 左外边框信息。 更多... | |
| TableBorderInfo | getOutside_border_right () |
| Get 右外边框信息。 更多... | |
| TableBorderInfo | getOutside_border_top () |
| Get 上外边框信息。 更多... | |
| RectF | getRect () |
| Get 表格的矩形,指定在 PDF 页面中的位置。 应该在 中。 更多... | |
| int | getRow_count () |
| Get 表格中的行数。 更多... | |
| FloatArray | getRow_height_array () |
| Get 行高数组。如果数组成员为零,行高将自动设置为默认值。默认值:(rect 的高度)/row_count。 更多... | |
| 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) |
| 设置值。 更多... | |
| void | setCol_count (int value) |
| Set 表格中的列数。 更多... | |
| void | setCol_width_array (FloatArray value) |
| Set 列宽数组。如果数组成员为零,列宽将自动设置为默认值。默认值:(rect 的宽度)/col_count。 更多... | |
| void | setInside_border_col (TableBorderInfo value) |
| Set 列内边框信息。 更多... | |
| void | setInside_border_row (TableBorderInfo value) |
| Set 行内边框信息。 更多... | |
| void | setMerge_cells (TableCellIndexArray value) |
| Set 合并单元格。此数组的长度必须是偶数,零长度表示没有合并单元格。 更多... | |
| void | setOutside_border_bottom (TableBorderInfo value) |
| Set 下外边框信息。 更多... | |
| void | setOutside_border_left (TableBorderInfo value) |
| Set 左外边框信息。 更多... | |
| void | setOutside_border_right (TableBorderInfo value) |
| Set 右外边框信息。 更多... | |
| void | setOutside_border_top (TableBorderInfo value) |
| Set 上外边框信息。 更多... | |
| void | setRect (RectF value) |
| Set 表格的矩形,指定在 PDF 页面中的位置。 应该在 中。 更多... | |
| void | setRow_count (int value) |
| Set 表格中的行数。 更多... | |
| void | setRow_height_array (FloatArray value) |
| Set 行高数组。如果数组成员为零,行高将自动设置为默认值。默认值:(rect 的高度)/row_count。 更多... | |
此类表示表格数据。
| 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 | ||
| ) |
构造函数,带参数。
| [in] | rect | 表格的矩形,指定在 PDF 页面中的位置。 |
| [in] | row_count | 表格中的行数。 |
| [in] | col_count | 表格中的列数。 |
| [in] | outside_border_left | 左外边框信息。 |
| [in] | outside_border_right | 右外边框信息。 |
| [in] | outside_border_top | 上外边框信息。 |
| [in] | outside_border_bottom | 下外边框信息。 |
| [in] | inside_border_row | 行内边框信息。 |
| [in] | inside_border_col | 列内边框信息。 |
| [in] | merge_cells | 合并单元格。 |
| [in] | row_height_array | 行高数组。如果数组成员为零,行高将自动设置为默认值。默认值:(rect 的高度)/row_count。 |
| [in] | col_width_array | 列宽数组。如果数组成员为零,列宽将自动设置为默认值。默认值:(rect 的宽度)/col_count。 |
| com.foxit.sdk.addon.tablegenerator.TableData.TableData | ( | TableData | data | ) |
拷贝构造函数。
| [in] | data | 另一个表格数据对象,其值将被赋给当前对象。 |
| synchronized void com.foxit.sdk.addon.tablegenerator.TableData.delete | ( | ) |
直接清除C++相关资源。
| com.foxit.sdk.addon.tablegenerator.TableData.getCol_count | ( | ) |
Get 表格中的列数。
| com.foxit.sdk.addon.tablegenerator.TableData.getCol_width_array | ( | ) |
Get 列宽数组。如果数组成员为零,列宽将自动设置为默认值。默认值:(rect 的宽度)/col_count。
| com.foxit.sdk.addon.tablegenerator.TableData.getInside_border_col | ( | ) |
Get 列内边框信息。
| com.foxit.sdk.addon.tablegenerator.TableData.getInside_border_row | ( | ) |
Get 行内边框信息。
| com.foxit.sdk.addon.tablegenerator.TableData.getMerge_cells | ( | ) |
Get 合并单元格。此数组的长度必须是偶数,零长度表示没有合并单元格。
| com.foxit.sdk.addon.tablegenerator.TableData.getOutside_border_bottom | ( | ) |
Get 下外边框信息。
| com.foxit.sdk.addon.tablegenerator.TableData.getOutside_border_left | ( | ) |
Get 左外边框信息。
| com.foxit.sdk.addon.tablegenerator.TableData.getOutside_border_right | ( | ) |
Get 右外边框信息。
| com.foxit.sdk.addon.tablegenerator.TableData.getOutside_border_top | ( | ) |
Get 上外边框信息。
| com.foxit.sdk.addon.tablegenerator.TableData.getRect | ( | ) |
Get 表格的矩形,指定在 PDF 页面中的位置。 应该在 中。
| com.foxit.sdk.addon.tablegenerator.TableData.getRow_count | ( | ) |
Get 表格中的行数。
| com.foxit.sdk.addon.tablegenerator.TableData.getRow_height_array | ( | ) |
Get 行高数组。如果数组成员为零,行高将自动设置为默认值。默认值:(rect 的高度)/row_count。
| 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 | ||
| ) |
设置值。
| [in] | rect | 表格的矩形,指定在 PDF 页面中的位置。 |
| [in] | row_count | 表格中的行数。 |
| [in] | col_count | 表格中的列数。 |
| [in] | outside_border_left | 左外边框信息。 |
| [in] | outside_border_right | 右外边框信息。 |
| [in] | outside_border_top | 上外边框信息。 |
| [in] | outside_border_bottom | 下外边框信息。 |
| [in] | inside_border_row | 行内边框信息。 |
| [in] | inside_border_col | 列内边框信息。 |
| [in] | merge_cells | 合并单元格。 |
| [in] | row_height_array | 行高数组。如果数组成员为零,行高将自动设置为默认值。默认值:(rect 的高度)/row_count。 |
| [in] | col_width_array | 列宽数组。如果数组成员为零,列宽将自动设置为默认值。默认值:(rect 的宽度)/col_count。 |
| com.foxit.sdk.addon.tablegenerator.TableData.setCol_count | ( | int | value | ) |
Set 表格中的列数。
| [in] | value | 表格中的列数。 |
| com.foxit.sdk.addon.tablegenerator.TableData.setCol_width_array | ( | FloatArray | value | ) |
Set 列宽数组。如果数组成员为零,列宽将自动设置为默认值。默认值:(rect 的宽度)/col_count。
| [in] | value | 列宽数组。如果数组成员为零,列宽将自动设置为默认值。默认值:(rect 的宽度)/col_count。 |
| com.foxit.sdk.addon.tablegenerator.TableData.setInside_border_col | ( | TableBorderInfo | value | ) |
Set 列内边框信息。
| [in] | value | 列内边框信息。 |
| com.foxit.sdk.addon.tablegenerator.TableData.setInside_border_row | ( | TableBorderInfo | value | ) |
Set 行内边框信息。
| [in] | value | 行内边框信息。 |
| com.foxit.sdk.addon.tablegenerator.TableData.setMerge_cells | ( | TableCellIndexArray | value | ) |
Set 合并单元格。此数组的长度必须是偶数,零长度表示没有合并单元格。
| [in] | value | 合并单元格。此数组的长度必须是偶数,零长度表示没有合并单元格。 |
| com.foxit.sdk.addon.tablegenerator.TableData.setOutside_border_bottom | ( | TableBorderInfo | value | ) |
Set 下外边框信息。
| [in] | value | 下外边框信息。 |
| com.foxit.sdk.addon.tablegenerator.TableData.setOutside_border_left | ( | TableBorderInfo | value | ) |
Set 左外边框信息。
| [in] | value | 左外边框信息。 |
| com.foxit.sdk.addon.tablegenerator.TableData.setOutside_border_right | ( | TableBorderInfo | value | ) |
Set 右外边框信息。
| [in] | value | 右外边框信息。 |
| com.foxit.sdk.addon.tablegenerator.TableData.setOutside_border_top | ( | TableBorderInfo | value | ) |
Set 上外边框信息。
| [in] | value | 上外边框信息。 |
| com.foxit.sdk.addon.tablegenerator.TableData.setRect | ( | RectF | value | ) |
Set 表格的矩形,指定在 PDF 页面中的位置。 应该在 中。
| [in] | value | 表格的矩形,指定在 PDF 页面中的位置。 应该在 中。 |
| com.foxit.sdk.addon.tablegenerator.TableData.setRow_count | ( | int | value | ) |
Set 表格中的行数。
| [in] | value | 表格中的行数。 |
| com.foxit.sdk.addon.tablegenerator.TableData.setRow_height_array | ( | FloatArray | value | ) |
Set 行高数组。如果数组成员为零,行高将自动设置为默认值。默认值:(rect 的高度)/row_count。
| [in] | value | 行高数组。如果数组成员为零,行高将自动设置为默认值。默认值:(rect 的高度)/row_count。 |