From df4f2031b12d029ea731adfe616034008a75d90f Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sat, 12 Aug 2017 20:41:44 +0800 Subject: jni: Make jni compile again. --- platform/java/mupdf_native.h | 1098 +++++++++++++++++++++--------------------- 1 file changed, 552 insertions(+), 546 deletions(-) (limited to 'platform/java/mupdf_native.h') diff --git a/platform/java/mupdf_native.h b/platform/java/mupdf_native.h index 991933c0..ce3bc761 100644 --- a/platform/java/mupdf_native.h +++ b/platform/java/mupdf_native.h @@ -208,17 +208,6 @@ extern "C" { } #endif #endif -/* Header for class com_artifex_mupdf_fitz_ColorParams_RenderingIntent */ - -#ifndef _Included_com_artifex_mupdf_fitz_ColorParams_RenderingIntent -#define _Included_com_artifex_mupdf_fitz_ColorParams_RenderingIntent -#ifdef __cplusplus -extern "C" { -#endif -#ifdef __cplusplus -} -#endif -#endif /* Header for class com_artifex_mupdf_fitz_ColorParams */ #ifndef _Included_com_artifex_mupdf_fitz_ColorParams @@ -236,6 +225,17 @@ extern "C" { } #endif #endif +/* Header for class com_artifex_mupdf_fitz_ColorParams_RenderingIntent */ + +#ifndef _Included_com_artifex_mupdf_fitz_ColorParams_RenderingIntent +#define _Included_com_artifex_mupdf_fitz_ColorParams_RenderingIntent +#ifdef __cplusplus +extern "C" { +#endif +#ifdef __cplusplus +} +#endif +#endif /* Header for class com_artifex_mupdf_fitz_ColorSpace */ #ifndef _Included_com_artifex_mupdf_fitz_ColorSpace @@ -1321,452 +1321,211 @@ extern "C" { } #endif #endif -/* Header for class com_artifex_mupdf_fitz_Page */ +/* Header for class com_artifex_mupdf_fitz_PDFAnnotation */ -#ifndef _Included_com_artifex_mupdf_fitz_Page -#define _Included_com_artifex_mupdf_fitz_Page +#ifndef _Included_com_artifex_mupdf_fitz_PDFAnnotation +#define _Included_com_artifex_mupdf_fitz_PDFAnnotation #ifdef __cplusplus extern "C" { #endif +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_TEXT +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_TEXT 0L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_LINK +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_LINK 1L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_FREE_TEXT +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_FREE_TEXT 2L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_LINE +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_LINE 3L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SQUARE +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SQUARE 4L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_CIRCLE +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_CIRCLE 5L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_POLYGON +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_POLYGON 6L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_POLY_LINE +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_POLY_LINE 7L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_HIGHLIGHT +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_HIGHLIGHT 8L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_UNDERLINE +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_UNDERLINE 9L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SQUIGGLY +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SQUIGGLY 10L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_STRIKE_OUT +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_STRIKE_OUT 11L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_STAMP +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_STAMP 12L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_CARET +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_CARET 13L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_INK +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_INK 14L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_POPUP +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_POPUP 15L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_FILE_ATTACHMENT +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_FILE_ATTACHMENT 16L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SOUND +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SOUND 17L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_MOVIE +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_MOVIE 18L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_WIDGET +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_WIDGET 19L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SCREEN +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SCREEN 20L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_PRINTER_MARK +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_PRINTER_MARK 21L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_TRAP_NET +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_TRAP_NET 22L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_WATERMARK +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_WATERMARK 23L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_3D +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_3D 24L +#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_UNKNOWN +#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_UNKNOWN -1L +#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_NONE +#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_NONE 0L +#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_SQUARE +#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_SQUARE 1L +#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_CIRCLE +#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_CIRCLE 2L +#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_DIAMOND +#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_DIAMOND 3L +#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_OPENARROW +#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_OPENARROW 4L +#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_CLOSEDARROW +#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_CLOSEDARROW 5L +#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_BUTT +#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_BUTT 6L +#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_ROPENARR +#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_ROPENARR 7L +#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_RCLOSEDARROW +#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_RCLOSEDARROW 8L +#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_SLASH +#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_SLASH 9L /* - * Class: com_artifex_mupdf_fitz_Page - * Method: finalize - * Signature: ()V + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: getType + * Signature: ()I */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Page_finalize +JNIEXPORT jint JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getType (JNIEnv *, jobject); /* - * Class: com_artifex_mupdf_fitz_Page - * Method: getBounds - * Signature: ()Lcom/artifex/mupdf/fitz/Rect; + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: getFlags + * Signature: ()I */ -JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Page_getBounds +JNIEXPORT jint JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getFlags (JNIEnv *, jobject); /* - * Class: com_artifex_mupdf_fitz_Page - * Method: toPixmap - * Signature: (Lcom/artifex/mupdf/fitz/Matrix;Lcom/artifex/mupdf/fitz/ColorSpace;Z)Lcom/artifex/mupdf/fitz/Pixmap; + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: setFlags + * Signature: (I)V */ -JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Page_toPixmap - (JNIEnv *, jobject, jobject, jobject, jboolean); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setFlags + (JNIEnv *, jobject, jint); /* - * Class: com_artifex_mupdf_fitz_Page - * Method: run - * Signature: (Lcom/artifex/mupdf/fitz/Device;Lcom/artifex/mupdf/fitz/Matrix;Lcom/artifex/mupdf/fitz/Cookie;)V + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: getContents + * Signature: ()Ljava/lang/String; */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Page_run - (JNIEnv *, jobject, jobject, jobject, jobject); +JNIEXPORT jstring JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getContents + (JNIEnv *, jobject); /* - * Class: com_artifex_mupdf_fitz_Page - * Method: runPageContents - * Signature: (Lcom/artifex/mupdf/fitz/Device;Lcom/artifex/mupdf/fitz/Matrix;Lcom/artifex/mupdf/fitz/Cookie;)V + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: setContents + * Signature: (Ljava/lang/String;)V */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Page_runPageContents - (JNIEnv *, jobject, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setContents + (JNIEnv *, jobject, jstring); /* - * Class: com_artifex_mupdf_fitz_Page - * Method: getAnnotations - * Signature: ()[Lcom/artifex/mupdf/fitz/Annotation; + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: getRect + * Signature: ()Lcom/artifex/mupdf/fitz/Rect; */ -JNIEXPORT jobjectArray JNICALL Java_com_artifex_mupdf_fitz_Page_getAnnotations +JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getRect (JNIEnv *, jobject); /* - * Class: com_artifex_mupdf_fitz_Page - * Method: getLinks - * Signature: ()[Lcom/artifex/mupdf/fitz/Link; + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: setRect + * Signature: (Lcom/artifex/mupdf/fitz/Rect;)V */ -JNIEXPORT jobjectArray JNICALL Java_com_artifex_mupdf_fitz_Page_getLinks - (JNIEnv *, jobject); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setRect + (JNIEnv *, jobject, jobject); /* - * Class: com_artifex_mupdf_fitz_Page - * Method: toDisplayList - * Signature: (Z)Lcom/artifex/mupdf/fitz/DisplayList; + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: getBorder + * Signature: ()F */ -JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Page_toDisplayList - (JNIEnv *, jobject, jboolean); +JNIEXPORT jfloat JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getBorder + (JNIEnv *, jobject); /* - * Class: com_artifex_mupdf_fitz_Page - * Method: toStructuredText - * Signature: (Ljava/lang/String;)Lcom/artifex/mupdf/fitz/StructuredText; + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: setBorder + * Signature: (F)V */ -JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Page_toStructuredText - (JNIEnv *, jobject, jstring); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setBorder + (JNIEnv *, jobject, jfloat); /* - * Class: com_artifex_mupdf_fitz_Page - * Method: search - * Signature: (Ljava/lang/String;)[Lcom/artifex/mupdf/fitz/Rect; + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: getColor + * Signature: ()[F */ -JNIEXPORT jobjectArray JNICALL Java_com_artifex_mupdf_fitz_Page_search - (JNIEnv *, jobject, jstring); +JNIEXPORT jfloatArray JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getColor + (JNIEnv *, jobject); /* - * Class: com_artifex_mupdf_fitz_Page - * Method: textAsHtml - * Signature: ()[B + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: setColor + * Signature: ([F)V */ -JNIEXPORT jbyteArray JNICALL Java_com_artifex_mupdf_fitz_Page_textAsHtml - (JNIEnv *, jobject); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setColor + (JNIEnv *, jobject, jfloatArray); /* - * Class: com_artifex_mupdf_fitz_Page - * Method: getSeparations - * Signature: ()Lcom/artifex/mupdf/fitz/Separations; + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: getInteriorColor + * Signature: ()[F */ -JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Page_getSeparations +JNIEXPORT jfloatArray JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getInteriorColor (JNIEnv *, jobject); -#ifdef __cplusplus -} -#endif -#endif -/* Header for class com_artifex_mupdf_fitz_Path */ +/* + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: setInteriorColor + * Signature: ([F)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setInteriorColor + (JNIEnv *, jobject, jfloatArray); -#ifndef _Included_com_artifex_mupdf_fitz_Path -#define _Included_com_artifex_mupdf_fitz_Path -#ifdef __cplusplus -extern "C" { -#endif /* - * Class: com_artifex_mupdf_fitz_Path - * Method: finalize - * Signature: ()V + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: getLineEndingStyles + * Signature: ()[I */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_finalize +JNIEXPORT jintArray JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getLineEndingStyles (JNIEnv *, jobject); /* - * Class: com_artifex_mupdf_fitz_Path - * Method: newNative - * Signature: ()J + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: setLineEndingStyles + * Signature: (II)V */ -JNIEXPORT jlong JNICALL Java_com_artifex_mupdf_fitz_Path_newNative - (JNIEnv *, jobject); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setLineEndingStyles + (JNIEnv *, jobject, jint, jint); /* - * Class: com_artifex_mupdf_fitz_Path - * Method: cloneNative - * Signature: ()J + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: getVertices + * Signature: ()[F */ -JNIEXPORT jlong JNICALL Java_com_artifex_mupdf_fitz_Path_cloneNative - (JNIEnv *, jobject); - -/* - * Class: com_artifex_mupdf_fitz_Path - * Method: currentPoint - * Signature: ()Lcom/artifex/mupdf/fitz/Point; - */ -JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Path_currentPoint - (JNIEnv *, jobject); - -/* - * Class: com_artifex_mupdf_fitz_Path - * Method: moveTo - * Signature: (FF)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_moveTo - (JNIEnv *, jobject, jfloat, jfloat); - -/* - * Class: com_artifex_mupdf_fitz_Path - * Method: lineTo - * Signature: (FF)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_lineTo - (JNIEnv *, jobject, jfloat, jfloat); - -/* - * Class: com_artifex_mupdf_fitz_Path - * Method: curveTo - * Signature: (FFFFFF)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_curveTo - (JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat); - -/* - * Class: com_artifex_mupdf_fitz_Path - * Method: curveToV - * Signature: (FFFF)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_curveToV - (JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat); - -/* - * Class: com_artifex_mupdf_fitz_Path - * Method: curveToY - * Signature: (FFFF)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_curveToY - (JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat); - -/* - * Class: com_artifex_mupdf_fitz_Path - * Method: rect - * Signature: (IIII)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_rect - (JNIEnv *, jobject, jint, jint, jint, jint); - -/* - * Class: com_artifex_mupdf_fitz_Path - * Method: closePath - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_closePath - (JNIEnv *, jobject); - -/* - * Class: com_artifex_mupdf_fitz_Path - * Method: transform - * Signature: (Lcom/artifex/mupdf/fitz/Matrix;)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_transform - (JNIEnv *, jobject, jobject); - -/* - * Class: com_artifex_mupdf_fitz_Path - * Method: getBounds - * Signature: (Lcom/artifex/mupdf/fitz/StrokeState;Lcom/artifex/mupdf/fitz/Matrix;)Lcom/artifex/mupdf/fitz/Rect; - */ -JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Path_getBounds - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: com_artifex_mupdf_fitz_Path - * Method: walk - * Signature: (Lcom/artifex/mupdf/fitz/PathWalker;)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_walk - (JNIEnv *, jobject, jobject); - -#ifdef __cplusplus -} -#endif -#endif -/* Header for class com_artifex_mupdf_fitz_PathWalker */ - -#ifndef _Included_com_artifex_mupdf_fitz_PathWalker -#define _Included_com_artifex_mupdf_fitz_PathWalker -#ifdef __cplusplus -extern "C" { -#endif -#ifdef __cplusplus -} -#endif -#endif -/* Header for class com_artifex_mupdf_fitz_PDFAnnotation */ - -#ifndef _Included_com_artifex_mupdf_fitz_PDFAnnotation -#define _Included_com_artifex_mupdf_fitz_PDFAnnotation -#ifdef __cplusplus -extern "C" { -#endif -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_TEXT -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_TEXT 0L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_LINK -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_LINK 1L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_FREE_TEXT -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_FREE_TEXT 2L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_LINE -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_LINE 3L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SQUARE -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SQUARE 4L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_CIRCLE -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_CIRCLE 5L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_POLYGON -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_POLYGON 6L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_POLY_LINE -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_POLY_LINE 7L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_HIGHLIGHT -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_HIGHLIGHT 8L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_UNDERLINE -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_UNDERLINE 9L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SQUIGGLY -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SQUIGGLY 10L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_STRIKE_OUT -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_STRIKE_OUT 11L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_STAMP -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_STAMP 12L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_CARET -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_CARET 13L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_INK -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_INK 14L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_POPUP -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_POPUP 15L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_FILE_ATTACHMENT -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_FILE_ATTACHMENT 16L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SOUND -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SOUND 17L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_MOVIE -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_MOVIE 18L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_WIDGET -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_WIDGET 19L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SCREEN -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_SCREEN 20L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_PRINTER_MARK -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_PRINTER_MARK 21L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_TRAP_NET -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_TRAP_NET 22L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_WATERMARK -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_WATERMARK 23L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_3D -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_3D 24L -#undef com_artifex_mupdf_fitz_PDFAnnotation_TYPE_UNKNOWN -#define com_artifex_mupdf_fitz_PDFAnnotation_TYPE_UNKNOWN -1L -#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_NONE -#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_NONE 0L -#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_SQUARE -#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_SQUARE 1L -#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_CIRCLE -#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_CIRCLE 2L -#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_DIAMOND -#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_DIAMOND 3L -#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_OPENARROW -#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_OPENARROW 4L -#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_CLOSEDARROW -#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_CLOSEDARROW 5L -#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_BUTT -#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_BUTT 6L -#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_ROPENARR -#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_ROPENARR 7L -#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_RCLOSEDARROW -#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_RCLOSEDARROW 8L -#undef com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_SLASH -#define com_artifex_mupdf_fitz_PDFAnnotation_LINE_ENDING_SLASH 9L -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: getType - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getType - (JNIEnv *, jobject); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: getFlags - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getFlags - (JNIEnv *, jobject); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: setFlags - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setFlags - (JNIEnv *, jobject, jint); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: getContents - * Signature: ()Ljava/lang/String; - */ -JNIEXPORT jstring JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getContents - (JNIEnv *, jobject); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: setContents - * Signature: (Ljava/lang/String;)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setContents - (JNIEnv *, jobject, jstring); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: getRect - * Signature: ()Lcom/artifex/mupdf/fitz/Rect; - */ -JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getRect - (JNIEnv *, jobject); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: setRect - * Signature: (Lcom/artifex/mupdf/fitz/Rect;)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setRect - (JNIEnv *, jobject, jobject); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: getBorder - * Signature: ()F - */ -JNIEXPORT jfloat JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getBorder - (JNIEnv *, jobject); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: setBorder - * Signature: (F)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setBorder - (JNIEnv *, jobject, jfloat); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: getColor - * Signature: ()[F - */ -JNIEXPORT jfloatArray JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getColor - (JNIEnv *, jobject); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: setColor - * Signature: ([F)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setColor - (JNIEnv *, jobject, jfloatArray); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: getInteriorColor - * Signature: ()[F - */ -JNIEXPORT jfloatArray JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getInteriorColor - (JNIEnv *, jobject); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: setInteriorColor - * Signature: ([F)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setInteriorColor - (JNIEnv *, jobject, jfloatArray); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: getLineEndingStyles - * Signature: ()[I - */ -JNIEXPORT jintArray JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getLineEndingStyles - (JNIEnv *, jobject); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: setLineEndingStyles - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setLineEndingStyles - (JNIEnv *, jobject, jint, jint); - -/* - * Class: com_artifex_mupdf_fitz_PDFAnnotation - * Method: getVertices - * Signature: ()[F - */ -JNIEXPORT jfloatArray JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getVertices +JNIEXPORT jfloatArray JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getVertices (JNIEnv *, jobject); /* @@ -2475,144 +2234,385 @@ JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_putDictionaryString (JNIEnv *, jobject, jstring, jobject); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: putDictionaryPDFObjectBoolean - * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;Z)V + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: putDictionaryPDFObjectBoolean + * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;Z)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_putDictionaryPDFObjectBoolean + (JNIEnv *, jobject, jobject, jboolean); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: putDictionaryPDFObjectInteger + * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;I)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_putDictionaryPDFObjectInteger + (JNIEnv *, jobject, jobject, jint); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: putDictionaryPDFObjectFloat + * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;F)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_putDictionaryPDFObjectFloat + (JNIEnv *, jobject, jobject, jfloat); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: putDictionaryPDFObjectString + * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;Ljava/lang/String;)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_putDictionaryPDFObjectString + (JNIEnv *, jobject, jobject, jstring); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: putDictionaryPDFObjectPDFObject + * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;Lcom/artifex/mupdf/fitz/PDFObject;)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_putDictionaryPDFObjectPDFObject + (JNIEnv *, jobject, jobject, jobject); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: deleteArray + * Signature: (I)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_deleteArray + (JNIEnv *, jobject, jint); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: deleteDictionaryString + * Signature: (Ljava/lang/String;)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_deleteDictionaryString + (JNIEnv *, jobject, jstring); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: deleteDictionaryPDFObject + * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_deleteDictionaryPDFObject + (JNIEnv *, jobject, jobject); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: size + * Signature: ()I + */ +JNIEXPORT jint JNICALL Java_com_artifex_mupdf_fitz_PDFObject_size + (JNIEnv *, jobject); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: pushBoolean + * Signature: (Z)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_pushBoolean + (JNIEnv *, jobject, jboolean); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: pushInteger + * Signature: (I)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_pushInteger + (JNIEnv *, jobject, jint); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: pushFloat + * Signature: (F)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_pushFloat + (JNIEnv *, jobject, jfloat); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: pushString + * Signature: (Ljava/lang/String;)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_pushString + (JNIEnv *, jobject, jstring); + +/* + * Class: com_artifex_mupdf_fitz_PDFObject + * Method: pushPDFObject + * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_pushPDFObject + (JNIEnv *, jobject, jobject); + +#ifdef __cplusplus +} +#endif +#endif +/* Header for class com_artifex_mupdf_fitz_PDFPage */ + +#ifndef _Included_com_artifex_mupdf_fitz_PDFPage +#define _Included_com_artifex_mupdf_fitz_PDFPage +#ifdef __cplusplus +extern "C" { +#endif +/* + * Class: com_artifex_mupdf_fitz_PDFPage + * Method: createAnnotation + * Signature: (I)Lcom/artifex/mupdf/fitz/PDFAnnotation; + */ +JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_PDFPage_createAnnotation + (JNIEnv *, jobject, jint); + +/* + * Class: com_artifex_mupdf_fitz_PDFPage + * Method: deleteAnnotation + * Signature: (Lcom/artifex/mupdf/fitz/Annotation;)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFPage_deleteAnnotation + (JNIEnv *, jobject, jobject); + +#ifdef __cplusplus +} +#endif +#endif +/* Header for class com_artifex_mupdf_fitz_Page */ + +#ifndef _Included_com_artifex_mupdf_fitz_Page +#define _Included_com_artifex_mupdf_fitz_Page +#ifdef __cplusplus +extern "C" { +#endif +/* + * Class: com_artifex_mupdf_fitz_Page + * Method: finalize + * Signature: ()V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Page_finalize + (JNIEnv *, jobject); + +/* + * Class: com_artifex_mupdf_fitz_Page + * Method: getBounds + * Signature: ()Lcom/artifex/mupdf/fitz/Rect; + */ +JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Page_getBounds + (JNIEnv *, jobject); + +/* + * Class: com_artifex_mupdf_fitz_Page + * Method: toPixmap + * Signature: (Lcom/artifex/mupdf/fitz/Matrix;Lcom/artifex/mupdf/fitz/ColorSpace;Z)Lcom/artifex/mupdf/fitz/Pixmap; + */ +JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Page_toPixmap + (JNIEnv *, jobject, jobject, jobject, jboolean); + +/* + * Class: com_artifex_mupdf_fitz_Page + * Method: run + * Signature: (Lcom/artifex/mupdf/fitz/Device;Lcom/artifex/mupdf/fitz/Matrix;Lcom/artifex/mupdf/fitz/Cookie;)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Page_run + (JNIEnv *, jobject, jobject, jobject, jobject); + +/* + * Class: com_artifex_mupdf_fitz_Page + * Method: runPageContents + * Signature: (Lcom/artifex/mupdf/fitz/Device;Lcom/artifex/mupdf/fitz/Matrix;Lcom/artifex/mupdf/fitz/Cookie;)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Page_runPageContents + (JNIEnv *, jobject, jobject, jobject, jobject); + +/* + * Class: com_artifex_mupdf_fitz_Page + * Method: getAnnotations + * Signature: ()[Lcom/artifex/mupdf/fitz/Annotation; + */ +JNIEXPORT jobjectArray JNICALL Java_com_artifex_mupdf_fitz_Page_getAnnotations + (JNIEnv *, jobject); + +/* + * Class: com_artifex_mupdf_fitz_Page + * Method: getLinks + * Signature: ()[Lcom/artifex/mupdf/fitz/Link; + */ +JNIEXPORT jobjectArray JNICALL Java_com_artifex_mupdf_fitz_Page_getLinks + (JNIEnv *, jobject); + +/* + * Class: com_artifex_mupdf_fitz_Page + * Method: toDisplayList + * Signature: (Z)Lcom/artifex/mupdf/fitz/DisplayList; + */ +JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Page_toDisplayList + (JNIEnv *, jobject, jboolean); + +/* + * Class: com_artifex_mupdf_fitz_Page + * Method: toStructuredText + * Signature: (Ljava/lang/String;)Lcom/artifex/mupdf/fitz/StructuredText; + */ +JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Page_toStructuredText + (JNIEnv *, jobject, jstring); + +/* + * Class: com_artifex_mupdf_fitz_Page + * Method: search + * Signature: (Ljava/lang/String;)[Lcom/artifex/mupdf/fitz/Rect; + */ +JNIEXPORT jobjectArray JNICALL Java_com_artifex_mupdf_fitz_Page_search + (JNIEnv *, jobject, jstring); + +/* + * Class: com_artifex_mupdf_fitz_Page + * Method: textAsHtml + * Signature: ()[B + */ +JNIEXPORT jbyteArray JNICALL Java_com_artifex_mupdf_fitz_Page_textAsHtml + (JNIEnv *, jobject); + +/* + * Class: com_artifex_mupdf_fitz_Page + * Method: getSeparations + * Signature: ()Lcom/artifex/mupdf/fitz/Separations; + */ +JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Page_getSeparations + (JNIEnv *, jobject); + +#ifdef __cplusplus +} +#endif +#endif +/* Header for class com_artifex_mupdf_fitz_Path */ + +#ifndef _Included_com_artifex_mupdf_fitz_Path +#define _Included_com_artifex_mupdf_fitz_Path +#ifdef __cplusplus +extern "C" { +#endif +/* + * Class: com_artifex_mupdf_fitz_Path + * Method: finalize + * Signature: ()V */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_putDictionaryPDFObjectBoolean - (JNIEnv *, jobject, jobject, jboolean); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_finalize + (JNIEnv *, jobject); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: putDictionaryPDFObjectInteger - * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;I)V + * Class: com_artifex_mupdf_fitz_Path + * Method: newNative + * Signature: ()J */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_putDictionaryPDFObjectInteger - (JNIEnv *, jobject, jobject, jint); +JNIEXPORT jlong JNICALL Java_com_artifex_mupdf_fitz_Path_newNative + (JNIEnv *, jobject); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: putDictionaryPDFObjectFloat - * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;F)V + * Class: com_artifex_mupdf_fitz_Path + * Method: cloneNative + * Signature: ()J */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_putDictionaryPDFObjectFloat - (JNIEnv *, jobject, jobject, jfloat); +JNIEXPORT jlong JNICALL Java_com_artifex_mupdf_fitz_Path_cloneNative + (JNIEnv *, jobject); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: putDictionaryPDFObjectString - * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;Ljava/lang/String;)V + * Class: com_artifex_mupdf_fitz_Path + * Method: currentPoint + * Signature: ()Lcom/artifex/mupdf/fitz/Point; */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_putDictionaryPDFObjectString - (JNIEnv *, jobject, jobject, jstring); +JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Path_currentPoint + (JNIEnv *, jobject); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: putDictionaryPDFObjectPDFObject - * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;Lcom/artifex/mupdf/fitz/PDFObject;)V + * Class: com_artifex_mupdf_fitz_Path + * Method: moveTo + * Signature: (FF)V */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_putDictionaryPDFObjectPDFObject - (JNIEnv *, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_moveTo + (JNIEnv *, jobject, jfloat, jfloat); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: deleteArray - * Signature: (I)V + * Class: com_artifex_mupdf_fitz_Path + * Method: lineTo + * Signature: (FF)V */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_deleteArray - (JNIEnv *, jobject, jint); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_lineTo + (JNIEnv *, jobject, jfloat, jfloat); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: deleteDictionaryString - * Signature: (Ljava/lang/String;)V + * Class: com_artifex_mupdf_fitz_Path + * Method: curveTo + * Signature: (FFFFFF)V */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_deleteDictionaryString - (JNIEnv *, jobject, jstring); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_curveTo + (JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: deleteDictionaryPDFObject - * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;)V + * Class: com_artifex_mupdf_fitz_Path + * Method: curveToV + * Signature: (FFFF)V */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_deleteDictionaryPDFObject - (JNIEnv *, jobject, jobject); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_curveToV + (JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: size - * Signature: ()I + * Class: com_artifex_mupdf_fitz_Path + * Method: curveToY + * Signature: (FFFF)V */ -JNIEXPORT jint JNICALL Java_com_artifex_mupdf_fitz_PDFObject_size - (JNIEnv *, jobject); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_curveToY + (JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: pushBoolean - * Signature: (Z)V + * Class: com_artifex_mupdf_fitz_Path + * Method: rect + * Signature: (IIII)V */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_pushBoolean - (JNIEnv *, jobject, jboolean); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_rect + (JNIEnv *, jobject, jint, jint, jint, jint); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: pushInteger - * Signature: (I)V + * Class: com_artifex_mupdf_fitz_Path + * Method: closePath + * Signature: ()V */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_pushInteger - (JNIEnv *, jobject, jint); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_closePath + (JNIEnv *, jobject); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: pushFloat - * Signature: (F)V + * Class: com_artifex_mupdf_fitz_Path + * Method: transform + * Signature: (Lcom/artifex/mupdf/fitz/Matrix;)V */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_pushFloat - (JNIEnv *, jobject, jfloat); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_transform + (JNIEnv *, jobject, jobject); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: pushString - * Signature: (Ljava/lang/String;)V + * Class: com_artifex_mupdf_fitz_Path + * Method: getBounds + * Signature: (Lcom/artifex/mupdf/fitz/StrokeState;Lcom/artifex/mupdf/fitz/Matrix;)Lcom/artifex/mupdf/fitz/Rect; */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_pushString - (JNIEnv *, jobject, jstring); +JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_Path_getBounds + (JNIEnv *, jobject, jobject, jobject); /* - * Class: com_artifex_mupdf_fitz_PDFObject - * Method: pushPDFObject - * Signature: (Lcom/artifex/mupdf/fitz/PDFObject;)V + * Class: com_artifex_mupdf_fitz_Path + * Method: walk + * Signature: (Lcom/artifex/mupdf/fitz/PathWalker;)V */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFObject_pushPDFObject +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Path_walk (JNIEnv *, jobject, jobject); #ifdef __cplusplus } #endif #endif -/* Header for class com_artifex_mupdf_fitz_PDFPage */ +/* Header for class com_artifex_mupdf_fitz_PathWalker */ -#ifndef _Included_com_artifex_mupdf_fitz_PDFPage -#define _Included_com_artifex_mupdf_fitz_PDFPage +#ifndef _Included_com_artifex_mupdf_fitz_PathWalker +#define _Included_com_artifex_mupdf_fitz_PathWalker #ifdef __cplusplus extern "C" { #endif -/* - * Class: com_artifex_mupdf_fitz_PDFPage - * Method: createAnnotation - * Signature: (I)Lcom/artifex/mupdf/fitz/PDFAnnotation; - */ -JNIEXPORT jobject JNICALL Java_com_artifex_mupdf_fitz_PDFPage_createAnnotation - (JNIEnv *, jobject, jint); - -/* - * Class: com_artifex_mupdf_fitz_PDFPage - * Method: deleteAnnotation - * Signature: (Lcom/artifex/mupdf/fitz/Annotation;)V - */ -JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFPage_deleteAnnotation - (JNIEnv *, jobject, jobject); - #ifdef __cplusplus } #endif @@ -2831,6 +2831,12 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif +#undef com_artifex_mupdf_fitz_Separations_SEPARATION_COMPOSITE +#define com_artifex_mupdf_fitz_Separations_SEPARATION_COMPOSITE 0L +#undef com_artifex_mupdf_fitz_Separations_SEPARATION_SPOT +#define com_artifex_mupdf_fitz_Separations_SEPARATION_SPOT 1L +#undef com_artifex_mupdf_fitz_Separations_SEPARATION_DISABLED +#define com_artifex_mupdf_fitz_Separations_SEPARATION_DISABLED 2L /* * Class: com_artifex_mupdf_fitz_Separations * Method: finalize @@ -2865,19 +2871,19 @@ JNIEXPORT jboolean JNICALL Java_com_artifex_mupdf_fitz_Separations_areSeparation /* * Class: com_artifex_mupdf_fitz_Separations - * Method: disableSeparation - * Signature: (IZ)Z + * Method: getSeparationBehavior + * Signature: (I)I */ -JNIEXPORT jboolean JNICALL Java_com_artifex_mupdf_fitz_Separations_disableSeparation - (JNIEnv *, jobject, jint, jboolean); +JNIEXPORT jint JNICALL Java_com_artifex_mupdf_fitz_Separations_getSeparationBehavior + (JNIEnv *, jobject, jint); /* * Class: com_artifex_mupdf_fitz_Separations - * Method: isSeparationDisabled - * Signature: (I)Z + * Method: setSeparationBehavior + * Signature: (II)V */ -JNIEXPORT jboolean JNICALL Java_com_artifex_mupdf_fitz_Separations_isSeparationDisabled - (JNIEnv *, jobject, jint); +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Separations_setSeparationBehavior + (JNIEnv *, jobject, jint, jint); #ifdef __cplusplus } @@ -3005,50 +3011,6 @@ JNIEXPORT jfloat JNICALL Java_com_artifex_mupdf_fitz_StrokeState_getDashPhase JNIEXPORT jfloatArray JNICALL Java_com_artifex_mupdf_fitz_StrokeState_getDashes (JNIEnv *, jobject); -#ifdef __cplusplus -} -#endif -#endif -/* Header for class com_artifex_mupdf_fitz_StructuredText_TextBlock */ - -#ifndef _Included_com_artifex_mupdf_fitz_StructuredText_TextBlock -#define _Included_com_artifex_mupdf_fitz_StructuredText_TextBlock -#ifdef __cplusplus -extern "C" { -#endif -#ifdef __cplusplus -} -#endif -#endif -/* Header for class com_artifex_mupdf_fitz_StructuredText_TextChar */ - -#ifndef _Included_com_artifex_mupdf_fitz_StructuredText_TextChar -#define _Included_com_artifex_mupdf_fitz_StructuredText_TextChar -#ifdef __cplusplus -extern "C" { -#endif -#ifdef __cplusplus -} -#endif -#endif -/* Header for class com_artifex_mupdf_fitz_StructuredText_TextLine */ - -#ifndef _Included_com_artifex_mupdf_fitz_StructuredText_TextLine -#define _Included_com_artifex_mupdf_fitz_StructuredText_TextLine -#ifdef __cplusplus -extern "C" { -#endif -#ifdef __cplusplus -} -#endif -#endif -/* Header for class com_artifex_mupdf_fitz_StructuredText_TextSpan */ - -#ifndef _Included_com_artifex_mupdf_fitz_StructuredText_TextSpan -#define _Included_com_artifex_mupdf_fitz_StructuredText_TextSpan -#ifdef __cplusplus -extern "C" { -#endif #ifdef __cplusplus } #endif @@ -3100,6 +3062,50 @@ JNIEXPORT jstring JNICALL Java_com_artifex_mupdf_fitz_StructuredText_copy JNIEXPORT jobjectArray JNICALL Java_com_artifex_mupdf_fitz_StructuredText_getBlocks (JNIEnv *, jobject); +#ifdef __cplusplus +} +#endif +#endif +/* Header for class com_artifex_mupdf_fitz_StructuredText_TextChar */ + +#ifndef _Included_com_artifex_mupdf_fitz_StructuredText_TextChar +#define _Included_com_artifex_mupdf_fitz_StructuredText_TextChar +#ifdef __cplusplus +extern "C" { +#endif +#ifdef __cplusplus +} +#endif +#endif +/* Header for class com_artifex_mupdf_fitz_StructuredText_TextSpan */ + +#ifndef _Included_com_artifex_mupdf_fitz_StructuredText_TextSpan +#define _Included_com_artifex_mupdf_fitz_StructuredText_TextSpan +#ifdef __cplusplus +extern "C" { +#endif +#ifdef __cplusplus +} +#endif +#endif +/* Header for class com_artifex_mupdf_fitz_StructuredText_TextLine */ + +#ifndef _Included_com_artifex_mupdf_fitz_StructuredText_TextLine +#define _Included_com_artifex_mupdf_fitz_StructuredText_TextLine +#ifdef __cplusplus +extern "C" { +#endif +#ifdef __cplusplus +} +#endif +#endif +/* Header for class com_artifex_mupdf_fitz_StructuredText_TextBlock */ + +#ifndef _Included_com_artifex_mupdf_fitz_StructuredText_TextBlock +#define _Included_com_artifex_mupdf_fitz_StructuredText_TextBlock +#ifdef __cplusplus +extern "C" { +#endif #ifdef __cplusplus } #endif @@ -3190,11 +3196,11 @@ extern "C" { extern "C" { #endif #undef com_artifex_mupdf_fitz_TryLaterException_serialVersionUID -#define com_artifex_mupdf_fitz_TryLaterException_serialVersionUID -3042686055658047285i64 +#define com_artifex_mupdf_fitz_TryLaterException_serialVersionUID -3042686055658047285LL #undef com_artifex_mupdf_fitz_TryLaterException_serialVersionUID -#define com_artifex_mupdf_fitz_TryLaterException_serialVersionUID -3387516993124229948i64 +#define com_artifex_mupdf_fitz_TryLaterException_serialVersionUID -3387516993124229948LL #undef com_artifex_mupdf_fitz_TryLaterException_serialVersionUID -#define com_artifex_mupdf_fitz_TryLaterException_serialVersionUID -7034897190745766939i64 +#define com_artifex_mupdf_fitz_TryLaterException_serialVersionUID -7034897190745766939LL #ifdef __cplusplus } #endif -- cgit v1.2.3