|
Foxit PDF SDK
|
Public 成员函数 | |
| JoinSplit (JoinSplit other) | |
| 拷贝构造函数。 更多... | |
| boolean | activate () throws com.foxit.sdk.PDFException |
| 激活连接拆分编辑。 更多... | |
| boolean | deactivate () throws com.foxit.sdk.PDFException |
| 停用连接拆分编辑。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| void | exitJoinEditing () throws com.foxit.sdk.PDFException |
| 退出连接拆分编辑。 更多... | |
| boolean | getEnableStatus (int type) throws com.foxit.sdk.PDFException |
| 获取连接拆分编辑操作状态。 更多... | |
| boolean | isEmpty () |
| 检查当前对象是否为空。 更多... | |
| void | joinBoxes () throws com.foxit.sdk.PDFException |
| 调用此函数连接文本。 更多... | |
| void | linkBoxes () throws com.foxit.sdk.PDFException |
| 调用此函数链接文本。 更多... | |
| boolean | onLButtonDown (int page_index, PointF point) throws com.foxit.sdk.PDFException |
| 鼠标左键按下时调用此函数。 更多... | |
| boolean | onLButtonUp (int page_index, PointF point) throws com.foxit.sdk.PDFException |
| 鼠标左键抬起时调用此函数。 更多... | |
| boolean | onMouseMove (int page_index, PointF point) throws com.foxit.sdk.PDFException |
| 鼠标移动时调用此函数。 更多... | |
| boolean | render (Int32Array page_index_array, Renderer renderer) throws com.foxit.sdk.PDFException |
| 在渲染器上绘制当前连接拆分操作状态。 更多... | |
| void | selectNone () throws com.foxit.sdk.PDFException |
| 调用此函数清除所有选中的文本。 更多... | |
| void | splitBoxes () throws com.foxit.sdk.PDFException |
| 调用此函数拆分文本。 更多... | |
| void | unlinkBoxes () throws com.foxit.sdk.PDFException |
| 调用此函数取消链接文本。 更多... | |
静态 Public 属性 | |
| static final int | e_JoinSplitOperationTypeClose = 5 |
| 连接分割操作类型:关闭。 | |
| static final int | e_JoinSplitOperationTypeJoin = 0 |
| 连接分割操作类型:连接。 | |
| static final int | e_JoinSplitOperationTypeLink = 2 |
| 连接分割操作类型:链接。 | |
| static final int | e_JoinSplitOperationTypeSelectNone = 4 |
| 连接分割操作类型:不选择。 | |
| static final int | e_JoinSplitOperationTypeSpilt = 1 |
| 连接分割操作类型:分割。 | |
| static final int | e_JoinSplitOperationTypeUnlink = 3 |
| 连接分割操作类型:取消链接。 | |
此类表示连接拆分操作。 在使用连接拆分功能之前,请确保函数 JoinSplit.activate 已成功调用。 当不需要使用任何连接拆分功能时,请调用函数 JoinSplit.deactivate 来停用。
| com.foxit.sdk.addon.pageeditor.JoinSplit.JoinSplit | ( | JoinSplit | other | ) |
拷贝构造函数。
| [in] | other | 另一个连接拆分对象。 |
| boolean com.foxit.sdk.addon.pageeditor.JoinSplit.activate | ( | ) | throws com.foxit.sdk.PDFException |
激活连接拆分编辑。
| boolean com.foxit.sdk.addon.pageeditor.JoinSplit.deactivate | ( | ) | throws com.foxit.sdk.PDFException |
停用连接拆分编辑。
| synchronized void com.foxit.sdk.addon.pageeditor.JoinSplit.delete | ( | ) |
| void com.foxit.sdk.addon.pageeditor.JoinSplit.exitJoinEditing | ( | ) | throws com.foxit.sdk.PDFException |
退出连接拆分编辑。
| boolean com.foxit.sdk.addon.pageeditor.JoinSplit.getEnableStatus | ( | int | type | ) | throws com.foxit.sdk.PDFException |
获取连接拆分编辑操作状态。
| boolean com.foxit.sdk.addon.pageeditor.JoinSplit.isEmpty | ( | ) |
检查当前对象是否为空。
当前对象为空时,意味着当前对象无用。
| void com.foxit.sdk.addon.pageeditor.JoinSplit.joinBoxes | ( | ) | throws com.foxit.sdk.PDFException |
调用此函数连接文本。
| void com.foxit.sdk.addon.pageeditor.JoinSplit.linkBoxes | ( | ) | throws com.foxit.sdk.PDFException |
调用此函数链接文本。
| boolean com.foxit.sdk.addon.pageeditor.JoinSplit.onLButtonDown | ( | int | page_index, |
| PointF | point | ||
| ) | throws com.foxit.sdk.PDFException |
鼠标左键按下时调用此函数。
| [in] | page_index | 页面索引。 |
| [in] | point | 鼠标左键在页面中按下的点,以设备坐标系表示。 |
| boolean com.foxit.sdk.addon.pageeditor.JoinSplit.onLButtonUp | ( | int | page_index, |
| PointF | point | ||
| ) | throws com.foxit.sdk.PDFException |
鼠标左键抬起时调用此函数。
| [in] | page_index | 页面索引。 |
| [in] | point | 鼠标左键在页面中抬起的点,以设备坐标系表示。 |
| boolean com.foxit.sdk.addon.pageeditor.JoinSplit.onMouseMove | ( | int | page_index, |
| PointF | point | ||
| ) | throws com.foxit.sdk.PDFException |
鼠标移动时调用此函数。
| [in] | page_index | 页面索引。 |
| [in] | point | 鼠标在页面中移动的点,以设备坐标系表示。 |
| boolean com.foxit.sdk.addon.pageeditor.JoinSplit.render | ( | Int32Array | page_index_array, |
| Renderer | renderer | ||
| ) | throws com.foxit.sdk.PDFException |
在渲染器上绘制当前连接拆分操作状态。
渲染过程中使用的矩阵由 ParagraphEditingProviderCallback.getRenderMatrix 返回。
| [in] | page_index_array | 要渲染的页面索引数组。 |
| [in] | renderer | 用于渲染的有效渲染器对象。 |
| void com.foxit.sdk.addon.pageeditor.JoinSplit.selectNone | ( | ) | throws com.foxit.sdk.PDFException |
调用此函数清除所有选中的文本。
| void com.foxit.sdk.addon.pageeditor.JoinSplit.splitBoxes | ( | ) | throws com.foxit.sdk.PDFException |
调用此函数拆分文本。
| void com.foxit.sdk.addon.pageeditor.JoinSplit.unlinkBoxes | ( | ) | throws com.foxit.sdk.PDFException |
调用此函数取消链接文本。