|
Foxit PDF SDK
|
Public 成员函数 | |
| PageBasicInfo | getNewPageBasicInfo (int page_index, float rest_table_height, float table_width) |
| 获取要生成到新页面的新页面基本信息的回调函数。 更多... | |
| float | getTableTopMarginToPage (int page_index) |
| 获取要生成到新页面的表格的上边距的回调函数。 更多... | |
| void | release () |
| 用于释放当前回调对象本身的回调函数。 更多... | |
此类表示用于生成表格的回调对象。 此类中的所有纯虚函数都用作回调函数,应由用户实现。
| PageBasicInfo com.foxit.sdk.addon.tablegenerator.TableGeneratorCallback.getNewPageBasicInfo | ( | int | page_index, |
| float | rest_table_height, | ||
| float | table_width | ||
| ) |
获取要生成到新页面的新页面基本信息的回调函数。
此回调函数仅用于 TableGenerator.insertTablePagesToDocument 。 如果页面宽度或页面高度小于或等于零,将触发此回调。 如果单元格内容是文本,用户必须确保 com.foxit.sdk.pdf.annots.RichTextStyle 中的文本大小大于零。
| [in] | page_index | 页面索引。从 0 开始。 |
| [in] | rest_table_height | 剩余表格高度(单位为 1/72 英寸)。 |
| [in] | table_width | 表格宽度(单位为 1/72 英寸)。 |
| float com.foxit.sdk.addon.tablegenerator.TableGeneratorCallback.getTableTopMarginToPage | ( | int | page_index | ) |
获取要生成到新页面的表格的上边距的回调函数。
| [in] | page_index | 页面索引。从 0 开始。 |
| void com.foxit.sdk.addon.tablegenerator.TableGeneratorCallback.release | ( | ) |
用于释放当前回调对象本身的回调函数。