Foxit PDF SDK
|
Public Member Functions | |
JoinSplit (JoinSplit other) | |
Constructor, with another join split object. More... | |
boolean | activate () throws com.foxit.sdk.PDFException |
Activate join split editing. More... | |
boolean | deactivate () throws com.foxit.sdk.PDFException |
Deactivate join split editing. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
void | exitJoinEditing () throws com.foxit.sdk.PDFException |
Exit join split editing. More... | |
boolean | getEnableStatus (int type) throws com.foxit.sdk.PDFException |
Get join split editing operation state. More... | |
boolean | isEmpty () |
Check whether current object is empty or not. More... | |
void | joinBoxes () throws com.foxit.sdk.PDFException |
Call this function to join text. More... | |
void | linkBoxes () throws com.foxit.sdk.PDFException |
Call this function to link text. More... | |
boolean | onLButtonDown (int page_index, PointF point) throws com.foxit.sdk.PDFException |
Call this function when left mouse button is down. More... | |
boolean | onLButtonUp (int page_index, PointF point) throws com.foxit.sdk.PDFException |
Call this function when left mouse button is up. More... | |
boolean | onMouseMove (int page_index, PointF point) throws com.foxit.sdk.PDFException |
Call this function when mouse moves. More... | |
boolean | render (Int32Array page_index_array, Renderer renderer) throws com.foxit.sdk.PDFException |
Draw the currently join split operation state on the rendering. More... | |
void | selectNone () throws com.foxit.sdk.PDFException |
Call this function to clear all selected text. More... | |
void | splitBoxes () throws com.foxit.sdk.PDFException |
Call this function to split text. More... | |
void | unlinkBoxes () throws com.foxit.sdk.PDFException |
Call this function to unlink text. More... | |
Static Public Attributes | |
static final int | e_JoinSplitOperationTypeClose = 5 |
Join spilt operation type: Close. | |
static final int | e_JoinSplitOperationTypeJoin = 0 |
Join spilt operation type: Join. | |
static final int | e_JoinSplitOperationTypeLink = 2 |
Join spilt operation type: Link. | |
static final int | e_JoinSplitOperationTypeSelectNone = 4 |
Join spilt operation type: SelectNone. | |
static final int | e_JoinSplitOperationTypeSpilt = 1 |
Join spilt operation type: Spilt. | |
static final int | e_JoinSplitOperationTypeUnlink = 3 |
Join spilt operation type: Unlink. | |
This class represents a join split operation. Before use join split feature, ensure the function JoinSplit.activate has been called successfully. Please call the function JoinSplit.deactivate to deactivate when no need to use any join split function.
com.foxit.sdk.addon.pageeditor.JoinSplit.JoinSplit | ( | JoinSplit | other | ) |
Constructor, with another join split object.
[in] | other | Another join split object. |
boolean com.foxit.sdk.addon.pageeditor.JoinSplit.activate | ( | ) | throws com.foxit.sdk.PDFException |
Activate join split editing.
boolean com.foxit.sdk.addon.pageeditor.JoinSplit.deactivate | ( | ) | throws com.foxit.sdk.PDFException |
Deactivate join split editing.
synchronized void com.foxit.sdk.addon.pageeditor.JoinSplit.delete | ( | ) |
Clean up related resources immediately.
Reimplemented from com.foxit.sdk.common.Base.
void com.foxit.sdk.addon.pageeditor.JoinSplit.exitJoinEditing | ( | ) | throws com.foxit.sdk.PDFException |
Exit join split editing.
boolean com.foxit.sdk.addon.pageeditor.JoinSplit.getEnableStatus | ( | int | type | ) | throws com.foxit.sdk.PDFException |
Get join split editing operation state.
boolean com.foxit.sdk.addon.pageeditor.JoinSplit.isEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
void com.foxit.sdk.addon.pageeditor.JoinSplit.joinBoxes | ( | ) | throws com.foxit.sdk.PDFException |
Call this function to join text.
void com.foxit.sdk.addon.pageeditor.JoinSplit.linkBoxes | ( | ) | throws com.foxit.sdk.PDFException |
Call this function to link text.
boolean com.foxit.sdk.addon.pageeditor.JoinSplit.onLButtonDown | ( | int | page_index, |
PointF | point | ||
) | throws com.foxit.sdk.PDFException |
Call this function when left mouse button is down.
[in] | page_index | The page index. |
[in] | point | A point where left mouse button is down in the page, in device coordinate system. |
boolean com.foxit.sdk.addon.pageeditor.JoinSplit.onLButtonUp | ( | int | page_index, |
PointF | point | ||
) | throws com.foxit.sdk.PDFException |
Call this function when left mouse button is up.
[in] | page_index | The page index. |
[in] | point | A point where left mouse button is up in the page, in device coordinate system. |
boolean com.foxit.sdk.addon.pageeditor.JoinSplit.onMouseMove | ( | int | page_index, |
PointF | point | ||
) | throws com.foxit.sdk.PDFException |
Call this function when mouse moves.
[in] | page_index | The page index. |
[in] | point | A point where mouse moves in the page, in device coordinate system. |
boolean com.foxit.sdk.addon.pageeditor.JoinSplit.render | ( | Int32Array | page_index_array, |
Renderer | renderer | ||
) | throws com.foxit.sdk.PDFException |
Draw the currently join split operation state on the rendering.
The matrix used in the rendering process is returned by ParagraphEditingProviderCallback.getRenderMatrix .
[in] | page_index_array | The page index array to render. |
[in] | renderer | A valid renderer object for rendering. |
void com.foxit.sdk.addon.pageeditor.JoinSplit.selectNone | ( | ) | throws com.foxit.sdk.PDFException |
Call this function to clear all selected text.
void com.foxit.sdk.addon.pageeditor.JoinSplit.splitBoxes | ( | ) | throws com.foxit.sdk.PDFException |
Call this function to split text.
void com.foxit.sdk.addon.pageeditor.JoinSplit.unlinkBoxes | ( | ) | throws com.foxit.sdk.PDFException |
Call this function to unlink text.