diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-09-05 22:05:17 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2018-09-06 20:35:20 +0800 |
commit | 69790b1bd81642539a9eb0004818e7fce98d46b6 (patch) | |
tree | 67d4bd3ce65ae36db2f54d91e94bf2a1053f3b7a /platform/java/mupdf_native.h | |
parent | 62d3d8ca0e406e1a916ebcc8288d17d8058236af (diff) | |
download | mupdf-69790b1bd81642539a9eb0004818e7fce98d46b6.tar.xz |
jni: Add interface for snapping selection to structured text.
Diffstat (limited to 'platform/java/mupdf_native.h')
-rw-r--r-- | platform/java/mupdf_native.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/platform/java/mupdf_native.h b/platform/java/mupdf_native.h index 6411bcc8..83b8317c 100644 --- a/platform/java/mupdf_native.h +++ b/platform/java/mupdf_native.h @@ -3201,6 +3201,12 @@ JNIEXPORT jfloatArray JNICALL Java_com_artifex_mupdf_fitz_StrokeState_getDashes #ifdef __cplusplus extern "C" { #endif +#undef com_artifex_mupdf_fitz_StructuredText_SELECT_CHARS +#define com_artifex_mupdf_fitz_StructuredText_SELECT_CHARS 0L +#undef com_artifex_mupdf_fitz_StructuredText_SELECT_WORDS +#define com_artifex_mupdf_fitz_StructuredText_SELECT_WORDS 1L +#undef com_artifex_mupdf_fitz_StructuredText_SELECT_LINES +#define com_artifex_mupdf_fitz_StructuredText_SELECT_LINES 2L /* * Class: com_artifex_mupdf_fitz_StructuredText * Method: finalize @@ -3227,6 +3233,14 @@ JNIEXPORT jobjectArray JNICALL Java_com_artifex_mupdf_fitz_StructuredText_highli /* * Class: com_artifex_mupdf_fitz_StructuredText + * Method: snapSelection + * Signature: (Lcom/artifex/mupdf/fitz/Point;Lcom/artifex/mupdf/fitz/Point;I)Lcom/artifex/mupdf/fitz/Quad; + */ +JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_StructuredText_snapSelection + (JNIEnv *, jobject, jobject, jobject, jint); + +/* + * Class: com_artifex_mupdf_fitz_StructuredText * Method: copy * Signature: (Lcom/artifex/mupdf/fitz/Point;Lcom/artifex/mupdf/fitz/Point;)Ljava/lang/String; */ |