blob: 1aa65a7001f5a5f78885a0780fd291c363bb3c1c [file]
// Generated from Apache PDFBox library which is licensed under the Apache License 2.0.
// The following copyright from the original authors applies.
//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Autogenerated by jnigen. DO NOT EDIT!
#include <stdint.h>
#include "dartjni.h"
#include "jni.h"
thread_local JNIEnv* jniEnv;
JniContext jni;
JniContext (*context_getter)(void);
JNIEnv* (*env_getter)(void);
void setJniGetters(JniContext (*cg)(void), JNIEnv* (*eg)(void)) {
context_getter = cg;
env_getter = eg;
}
// org.apache.pdfbox.pdmodel.PDDocument
jclass _c_PDDocument = NULL;
jmethodID _m_PDDocument__ctor = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__ctor() {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__ctor, "<init>", "()V");
if (_m_PDDocument__ctor == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result =
(*jniEnv)->NewObject(jniEnv, _c_PDDocument, _m_PDDocument__ctor);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__ctor1 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__ctor1(jobject memUsageSetting) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__ctor1, "<init>",
"(Lorg/apache/pdfbox/io/MemoryUsageSetting;)V");
if (_m_PDDocument__ctor1 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->NewObject(jniEnv, _c_PDDocument,
_m_PDDocument__ctor1, memUsageSetting);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__ctor2 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__ctor2(jobject doc) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__ctor2, "<init>",
"(Lorg/apache/pdfbox/cos/COSDocument;)V");
if (_m_PDDocument__ctor2 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result =
(*jniEnv)->NewObject(jniEnv, _c_PDDocument, _m_PDDocument__ctor2, doc);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__ctor3 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__ctor3(jobject doc, jobject source) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__ctor3, "<init>",
"(Lorg/apache/pdfbox/cos/COSDocument;Lorg/apache/pdfbox/io/"
"RandomAccessRead;)V");
if (_m_PDDocument__ctor3 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->NewObject(jniEnv, _c_PDDocument,
_m_PDDocument__ctor3, doc, source);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__ctor4 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__ctor4(jobject doc, jobject source, jobject permission) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__ctor4, "<init>",
"(Lorg/apache/pdfbox/cos/COSDocument;Lorg/apache/pdfbox/io/"
"RandomAccessRead;Lorg/apache/pdfbox/pdmodel/encryption/"
"AccessPermission;)V");
if (_m_PDDocument__ctor4 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->NewObject(
jniEnv, _c_PDDocument, _m_PDDocument__ctor4, doc, source, permission);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__addPage = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__addPage(jobject self_, jobject page) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__addPage, "addPage",
"(Lorg/apache/pdfbox/pdmodel/PDPage;)V");
if (_m_PDDocument__addPage == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__addPage, page);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__addSignature = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__addSignature(jobject self_, jobject sigObject) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__addSignature, "addSignature",
"(Lorg/apache/pdfbox/pdmodel/interactive/digitalsignature/"
"PDSignature;)V");
if (_m_PDDocument__addSignature == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__addSignature,
sigObject);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__addSignature1 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__addSignature1(jobject self_,
jobject sigObject,
jobject options) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__addSignature1, "addSignature",
"(Lorg/apache/pdfbox/pdmodel/interactive/digitalsignature/"
"PDSignature;Lorg/apache/pdfbox/pdmodel/interactive/"
"digitalsignature/SignatureOptions;)V");
if (_m_PDDocument__addSignature1 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__addSignature1,
sigObject, options);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__addSignature2 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__addSignature2(jobject self_,
jobject sigObject,
jobject signatureInterface) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__addSignature2, "addSignature",
"(Lorg/apache/pdfbox/pdmodel/interactive/digitalsignature/"
"PDSignature;Lorg/apache/pdfbox/pdmodel/interactive/"
"digitalsignature/SignatureInterface;)V");
if (_m_PDDocument__addSignature2 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__addSignature2,
sigObject, signatureInterface);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__addSignature3 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__addSignature3(jobject self_,
jobject sigObject,
jobject signatureInterface,
jobject options) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__addSignature3, "addSignature",
"(Lorg/apache/pdfbox/pdmodel/interactive/digitalsignature/"
"PDSignature;Lorg/apache/pdfbox/pdmodel/interactive/"
"digitalsignature/SignatureInterface;Lorg/apache/pdfbox/pdmodel/"
"interactive/digitalsignature/SignatureOptions;)V");
if (_m_PDDocument__addSignature3 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__addSignature3,
sigObject, signatureInterface, options);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__findSignatureField = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__findSignatureField(jobject self_,
jobject fieldIterator,
jobject sigObject) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__findSignatureField,
"findSignatureField",
"(Ljava/util/Iterator;Lorg/apache/pdfbox/pdmodel/interactive/"
"digitalsignature/PDSignature;)Lorg/apache/pdfbox/pdmodel/"
"interactive/form/PDSignatureField;");
if (_m_PDDocument__findSignatureField == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocument__findSignatureField, fieldIterator,
sigObject);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__checkSignatureField = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__checkSignatureField(jobject self_,
jobject fieldIterator,
jobject signatureField) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__checkSignatureField,
"checkSignatureField",
"(Ljava/util/Iterator;Lorg/apache/pdfbox/pdmodel/interactive/"
"form/PDSignatureField;)Z");
if (_m_PDDocument__checkSignatureField == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
uint8_t _result = (*jniEnv)->CallBooleanMethod(
jniEnv, self_, _m_PDDocument__checkSignatureField, fieldIterator,
signatureField);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
jmethodID _m_PDDocument__checkSignatureAnnotation = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__checkSignatureAnnotation(jobject self_,
jobject annotations,
jobject widget) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__checkSignatureAnnotation,
"checkSignatureAnnotation",
"(Ljava/util/List;Lorg/apache/pdfbox/pdmodel/interactive/"
"annotation/PDAnnotationWidget;)Z");
if (_m_PDDocument__checkSignatureAnnotation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
uint8_t _result = (*jniEnv)->CallBooleanMethod(
jniEnv, self_, _m_PDDocument__checkSignatureAnnotation, annotations,
widget);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
jmethodID _m_PDDocument__prepareVisibleSignature = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__prepareVisibleSignature(jobject self_,
jobject signatureField,
jobject acroForm,
jobject visualSignature) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__prepareVisibleSignature,
"prepareVisibleSignature",
"(Lorg/apache/pdfbox/pdmodel/interactive/form/"
"PDSignatureField;Lorg/apache/pdfbox/pdmodel/interactive/form/"
"PDAcroForm;Lorg/apache/pdfbox/cos/COSDocument;)V");
if (_m_PDDocument__prepareVisibleSignature == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDDocument__prepareVisibleSignature,
signatureField, acroForm, visualSignature);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__assignSignatureRectangle = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__assignSignatureRectangle(jobject self_,
jobject signatureField,
jobject annotDict) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__assignSignatureRectangle,
"assignSignatureRectangle",
"(Lorg/apache/pdfbox/pdmodel/interactive/form/"
"PDSignatureField;Lorg/apache/pdfbox/cos/COSDictionary;)V");
if (_m_PDDocument__assignSignatureRectangle == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDDocument__assignSignatureRectangle,
signatureField, annotDict);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__assignAppearanceDictionary = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__assignAppearanceDictionary(jobject self_,
jobject signatureField,
jobject apDict) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__assignAppearanceDictionary,
"assignAppearanceDictionary",
"(Lorg/apache/pdfbox/pdmodel/interactive/form/"
"PDSignatureField;Lorg/apache/pdfbox/cos/COSDictionary;)V");
if (_m_PDDocument__assignAppearanceDictionary == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDDocument__assignAppearanceDictionary,
signatureField, apDict);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__assignAcroFormDefaultResource = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__assignAcroFormDefaultResource(jobject self_,
jobject acroForm,
jobject newDict) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__assignAcroFormDefaultResource,
"assignAcroFormDefaultResource",
"(Lorg/apache/pdfbox/pdmodel/interactive/form/PDAcroForm;Lorg/"
"apache/pdfbox/cos/COSDictionary;)V");
if (_m_PDDocument__assignAcroFormDefaultResource == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDDocument__assignAcroFormDefaultResource,
acroForm, newDict);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__prepareNonVisibleSignature = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__prepareNonVisibleSignature(jobject self_,
jobject signatureField) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(
_c_PDDocument, &_m_PDDocument__prepareNonVisibleSignature,
"prepareNonVisibleSignature",
"(Lorg/apache/pdfbox/pdmodel/interactive/form/PDSignatureField;)V");
if (_m_PDDocument__prepareNonVisibleSignature == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(
jniEnv, self_, _m_PDDocument__prepareNonVisibleSignature, signatureField);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__addSignatureField = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__addSignatureField(jobject self_,
jobject sigFields,
jobject signatureInterface,
jobject options) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__addSignatureField,
"addSignatureField",
"(Ljava/util/List;Lorg/apache/pdfbox/pdmodel/interactive/"
"digitalsignature/SignatureInterface;Lorg/apache/pdfbox/pdmodel/"
"interactive/digitalsignature/SignatureOptions;)V");
if (_m_PDDocument__addSignatureField == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__addSignatureField,
sigFields, signatureInterface, options);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__removePage = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__removePage(jobject self_, jobject page) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__removePage, "removePage",
"(Lorg/apache/pdfbox/pdmodel/PDPage;)V");
if (_m_PDDocument__removePage == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__removePage, page);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__removePage1 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__removePage1(jobject self_, int32_t pageNumber) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__removePage1, "removePage", "(I)V");
if (_m_PDDocument__removePage1 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__removePage1,
pageNumber);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__importPage = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__importPage(jobject self_, jobject page) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(
_c_PDDocument, &_m_PDDocument__importPage, "importPage",
"(Lorg/apache/pdfbox/pdmodel/PDPage;)Lorg/apache/pdfbox/pdmodel/PDPage;");
if (_m_PDDocument__importPage == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocument__importPage, page);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__getDocument = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getDocument(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getDocument, "getDocument",
"()Lorg/apache/pdfbox/cos/COSDocument;");
if (_m_PDDocument__getDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result =
(*jniEnv)->CallObjectMethod(jniEnv, self_, _m_PDDocument__getDocument);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__getDocumentInformation = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getDocumentInformation(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getDocumentInformation,
"getDocumentInformation",
"()Lorg/apache/pdfbox/pdmodel/PDDocumentInformation;");
if (_m_PDDocument__getDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocument__getDocumentInformation);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__setDocumentInformation = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__setDocumentInformation(jobject self_, jobject info) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__setDocumentInformation,
"setDocumentInformation",
"(Lorg/apache/pdfbox/pdmodel/PDDocumentInformation;)V");
if (_m_PDDocument__setDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDDocument__setDocumentInformation, info);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__getDocumentCatalog = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getDocumentCatalog(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getDocumentCatalog,
"getDocumentCatalog",
"()Lorg/apache/pdfbox/pdmodel/PDDocumentCatalog;");
if (_m_PDDocument__getDocumentCatalog == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocument__getDocumentCatalog);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__isEncrypted = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__isEncrypted(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__isEncrypted, "isEncrypted", "()Z");
if (_m_PDDocument__isEncrypted == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
uint8_t _result =
(*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_PDDocument__isEncrypted);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
jmethodID _m_PDDocument__getEncryption = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getEncryption(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getEncryption, "getEncryption",
"()Lorg/apache/pdfbox/pdmodel/encryption/PDEncryption;");
if (_m_PDDocument__getEncryption == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result =
(*jniEnv)->CallObjectMethod(jniEnv, self_, _m_PDDocument__getEncryption);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__setEncryptionDictionary = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__setEncryptionDictionary(jobject self_,
jobject encryption) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__setEncryptionDictionary,
"setEncryptionDictionary",
"(Lorg/apache/pdfbox/pdmodel/encryption/PDEncryption;)V");
if (_m_PDDocument__setEncryptionDictionary == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDDocument__setEncryptionDictionary, encryption);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__getLastSignatureDictionary = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getLastSignatureDictionary(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(
_c_PDDocument, &_m_PDDocument__getLastSignatureDictionary,
"getLastSignatureDictionary",
"()Lorg/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSignature;");
if (_m_PDDocument__getLastSignatureDictionary == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocument__getLastSignatureDictionary);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__getSignatureFields = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getSignatureFields(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getSignatureFields,
"getSignatureFields", "()Ljava/util/List;");
if (_m_PDDocument__getSignatureFields == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocument__getSignatureFields);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__getSignatureDictionaries = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getSignatureDictionaries(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getSignatureDictionaries,
"getSignatureDictionaries", "()Ljava/util/List;");
if (_m_PDDocument__getSignatureDictionaries == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocument__getSignatureDictionaries);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__registerTrueTypeFontForClosing = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__registerTrueTypeFontForClosing(jobject self_,
jobject ttf) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__registerTrueTypeFontForClosing,
"registerTrueTypeFontForClosing",
"(Lorg/apache/fontbox/ttf/TrueTypeFont;)V");
if (_m_PDDocument__registerTrueTypeFontForClosing == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDDocument__registerTrueTypeFontForClosing, ttf);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__getFontsToSubset = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getFontsToSubset(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getFontsToSubset,
"getFontsToSubset", "()Ljava/util/Set;");
if (_m_PDDocument__getFontsToSubset == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocument__getFontsToSubset);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load(jobject file) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(_c_PDDocument, &_m_PDDocument__load, "load",
"(Ljava/io/File;)Lorg/apache/pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load, file);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load1 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load1(jobject file, jobject memUsageSetting) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(
_c_PDDocument, &_m_PDDocument__load1, "load",
"(Ljava/io/File;Lorg/apache/pdfbox/io/MemoryUsageSetting;)Lorg/apache/"
"pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load1 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load1, file, memUsageSetting);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load2 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load2(jobject file, jobject password) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(_c_PDDocument, &_m_PDDocument__load2, "load",
"(Ljava/io/File;Ljava/lang/String;)Lorg/apache/pdfbox/"
"pdmodel/PDDocument;");
if (_m_PDDocument__load2 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load2, file, password);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load3 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load3(jobject file,
jobject password,
jobject memUsageSetting) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(
_c_PDDocument, &_m_PDDocument__load3, "load",
"(Ljava/io/File;Ljava/lang/String;Lorg/apache/pdfbox/io/"
"MemoryUsageSetting;)Lorg/apache/pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load3 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load3, file, password,
memUsageSetting);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load4 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load4(jobject file,
jobject password,
jobject keyStore,
jobject alias) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(
_c_PDDocument, &_m_PDDocument__load4, "load",
"(Ljava/io/File;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/"
"String;)Lorg/apache/pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load4 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load4, file, password, keyStore,
alias);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load5 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load5(jobject file,
jobject password,
jobject keyStore,
jobject alias,
jobject memUsageSetting) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(
_c_PDDocument, &_m_PDDocument__load5, "load",
"(Ljava/io/File;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/"
"String;Lorg/apache/pdfbox/io/MemoryUsageSetting;)Lorg/apache/pdfbox/"
"pdmodel/PDDocument;");
if (_m_PDDocument__load5 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load5, file, password, keyStore,
alias, memUsageSetting);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load6 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load6(jobject raFile,
jobject password,
jobject keyStore,
jobject alias,
jobject memUsageSetting) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(
_c_PDDocument, &_m_PDDocument__load6, "load",
"(Lorg/apache/pdfbox/io/RandomAccessBufferedFileInputStream;Ljava/lang/"
"String;Ljava/io/InputStream;Ljava/lang/String;Lorg/apache/pdfbox/io/"
"MemoryUsageSetting;)Lorg/apache/pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load6 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load6, raFile, password, keyStore,
alias, memUsageSetting);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load7 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load7(jobject input) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(
_c_PDDocument, &_m_PDDocument__load7, "load",
"(Ljava/io/InputStream;)Lorg/apache/pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load7 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load7, input);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load8 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load8(jobject input, jobject memUsageSetting) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(
_c_PDDocument, &_m_PDDocument__load8, "load",
"(Ljava/io/InputStream;Lorg/apache/pdfbox/io/MemoryUsageSetting;)Lorg/"
"apache/pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load8 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load8, input, memUsageSetting);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load9 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load9(jobject input, jobject password) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(_c_PDDocument, &_m_PDDocument__load9, "load",
"(Ljava/io/InputStream;Ljava/lang/String;)Lorg/apache/"
"pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load9 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load9, input, password);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load10 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load10(jobject input,
jobject password,
jobject keyStore,
jobject alias) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(
_c_PDDocument, &_m_PDDocument__load10, "load",
"(Ljava/io/InputStream;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/"
"String;)Lorg/apache/pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load10 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load10, input, password, keyStore,
alias);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load11 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load11(jobject input,
jobject password,
jobject memUsageSetting) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(
_c_PDDocument, &_m_PDDocument__load11, "load",
"(Ljava/io/InputStream;Ljava/lang/String;Lorg/apache/pdfbox/io/"
"MemoryUsageSetting;)Lorg/apache/pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load11 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load11, input, password,
memUsageSetting);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load12 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load12(jobject input,
jobject password,
jobject keyStore,
jobject alias,
jobject memUsageSetting) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(
_c_PDDocument, &_m_PDDocument__load12, "load",
"(Ljava/io/InputStream;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/"
"String;Lorg/apache/pdfbox/io/MemoryUsageSetting;)Lorg/apache/pdfbox/"
"pdmodel/PDDocument;");
if (_m_PDDocument__load12 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load12, input, password, keyStore,
alias, memUsageSetting);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load13 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load13(jobject input) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(_c_PDDocument, &_m_PDDocument__load13, "load",
"(L[B;)Lorg/apache/pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load13 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load13, input);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load14 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load14(jobject input, jobject password) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(
_c_PDDocument, &_m_PDDocument__load14, "load",
"(L[B;Ljava/lang/String;)Lorg/apache/pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load14 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load14, input, password);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load15 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load15(jobject input,
jobject password,
jobject keyStore,
jobject alias) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(_c_PDDocument, &_m_PDDocument__load15, "load",
"(L[B;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/"
"String;)Lorg/apache/pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load15 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load15, input, password, keyStore,
alias);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__load16 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__load16(jobject input,
jobject password,
jobject keyStore,
jobject alias,
jobject memUsageSetting) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(_c_PDDocument, &_m_PDDocument__load16, "load",
"(L[B;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/"
"String;Lorg/apache/pdfbox/io/MemoryUsageSetting;)Lorg/"
"apache/pdfbox/pdmodel/PDDocument;");
if (_m_PDDocument__load16 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDDocument, _m_PDDocument__load16, input, password, keyStore,
alias, memUsageSetting);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__save = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__save(jobject self_, jobject fileName) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__save, "save",
"(Ljava/lang/String;)V");
if (_m_PDDocument__save == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__save, fileName);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__save1 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__save1(jobject self_, jobject file) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__save1, "save",
"(Ljava/io/File;)V");
if (_m_PDDocument__save1 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__save1, file);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__save2 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__save2(jobject self_, jobject output) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__save2, "save",
"(Ljava/io/OutputStream;)V");
if (_m_PDDocument__save2 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__save2, output);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__saveIncremental = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__saveIncremental(jobject self_, jobject output) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__saveIncremental, "saveIncremental",
"(Ljava/io/OutputStream;)V");
if (_m_PDDocument__saveIncremental == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__saveIncremental,
output);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__saveIncremental1 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__saveIncremental1(jobject self_,
jobject output,
jobject objectsToWrite) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__saveIncremental1,
"saveIncremental", "(Ljava/io/OutputStream;Ljava/util/Set;)V");
if (_m_PDDocument__saveIncremental1 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__saveIncremental1,
output, objectsToWrite);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__saveIncrementalForExternalSigning = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__saveIncrementalForExternalSigning(jobject self_,
jobject output) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__saveIncrementalForExternalSigning,
"saveIncrementalForExternalSigning",
"(Ljava/io/OutputStream;)Lorg/apache/pdfbox/pdmodel/interactive/"
"digitalsignature/ExternalSigningSupport;");
if (_m_PDDocument__saveIncrementalForExternalSigning == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocument__saveIncrementalForExternalSigning, output);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__getPage = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getPage(jobject self_, int32_t pageIndex) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getPage, "getPage",
"(I)Lorg/apache/pdfbox/pdmodel/PDPage;");
if (_m_PDDocument__getPage == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocument__getPage, pageIndex);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__getPages = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getPages(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getPages, "getPages",
"()Lorg/apache/pdfbox/pdmodel/PDPageTree;");
if (_m_PDDocument__getPages == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result =
(*jniEnv)->CallObjectMethod(jniEnv, self_, _m_PDDocument__getPages);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__getNumberOfPages = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getNumberOfPages(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getNumberOfPages,
"getNumberOfPages", "()I");
if (_m_PDDocument__getNumberOfPages == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
int32_t _result =
(*jniEnv)->CallIntMethod(jniEnv, self_, _m_PDDocument__getNumberOfPages);
return (JniResult){.result = {.i = _result}, .exception = check_exception()};
}
jmethodID _m_PDDocument__close = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__close(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__close, "close", "()V");
if (_m_PDDocument__close == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__close);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__protect = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__protect(jobject self_, jobject policy) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__protect, "protect",
"(Lorg/apache/pdfbox/pdmodel/encryption/ProtectionPolicy;)V");
if (_m_PDDocument__protect == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__protect, policy);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__getCurrentAccessPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getCurrentAccessPermission(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getCurrentAccessPermission,
"getCurrentAccessPermission",
"()Lorg/apache/pdfbox/pdmodel/encryption/AccessPermission;");
if (_m_PDDocument__getCurrentAccessPermission == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocument__getCurrentAccessPermission);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__isAllSecurityToBeRemoved = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__isAllSecurityToBeRemoved(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__isAllSecurityToBeRemoved,
"isAllSecurityToBeRemoved", "()Z");
if (_m_PDDocument__isAllSecurityToBeRemoved == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
uint8_t _result = (*jniEnv)->CallBooleanMethod(
jniEnv, self_, _m_PDDocument__isAllSecurityToBeRemoved);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
jmethodID _m_PDDocument__setAllSecurityToBeRemoved = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__setAllSecurityToBeRemoved(jobject self_,
uint8_t removeAllSecurity) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__setAllSecurityToBeRemoved,
"setAllSecurityToBeRemoved", "(Z)V");
if (_m_PDDocument__setAllSecurityToBeRemoved == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDDocument__setAllSecurityToBeRemoved,
removeAllSecurity);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__getDocumentId = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getDocumentId(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getDocumentId, "getDocumentId",
"()Ljava/lang/Long;");
if (_m_PDDocument__getDocumentId == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result =
(*jniEnv)->CallObjectMethod(jniEnv, self_, _m_PDDocument__getDocumentId);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__setDocumentId = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__setDocumentId(jobject self_, jobject docId) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__setDocumentId, "setDocumentId",
"(Ljava/lang/Long;)V");
if (_m_PDDocument__setDocumentId == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__setDocumentId, docId);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__getVersion = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getVersion(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getVersion, "getVersion", "()F");
if (_m_PDDocument__getVersion == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
float _result =
(*jniEnv)->CallFloatMethod(jniEnv, self_, _m_PDDocument__getVersion);
return (JniResult){.result = {.f = _result}, .exception = check_exception()};
}
jmethodID _m_PDDocument__setVersion = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__setVersion(jobject self_, float newVersion) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__setVersion, "setVersion", "(F)V");
if (_m_PDDocument__setVersion == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__setVersion,
newVersion);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocument__getResourceCache = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__getResourceCache(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__getResourceCache,
"getResourceCache",
"()Lorg/apache/pdfbox/pdmodel/ResourceCache;");
if (_m_PDDocument__getResourceCache == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocument__getResourceCache);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocument__setResourceCache = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocument__setResourceCache(jobject self_, jobject resourceCache) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocument, &_m_PDDocument__setResourceCache,
"setResourceCache",
"(Lorg/apache/pdfbox/pdmodel/ResourceCache;)V");
if (_m_PDDocument__setResourceCache == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocument__setResourceCache,
resourceCache);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDDocument__RESERVE_BYTE_RANGE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__RESERVE_BYTE_RANGE() {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_field(_c_PDDocument, &_f_PDDocument__RESERVE_BYTE_RANGE,
"RESERVE_BYTE_RANGE", "L[I;");
jobject _result = to_global_ref((*jniEnv)->GetStaticObjectField(
jniEnv, _c_PDDocument, _f_PDDocument__RESERVE_BYTE_RANGE));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
jfieldID _f_PDDocument__LOG = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__LOG() {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_field(_c_PDDocument, &_f_PDDocument__LOG, "LOG",
"Lorg/apache/commons/logging/Log;");
jobject _result = to_global_ref((*jniEnv)->GetStaticObjectField(
jniEnv, _c_PDDocument, _f_PDDocument__LOG));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
jfieldID _f_PDDocument__document = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__document(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__document, "document",
"Lorg/apache/pdfbox/cos/COSDocument;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDDocument__document));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
jfieldID _f_PDDocument__documentInformation = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__documentInformation(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__documentInformation,
"documentInformation",
"Lorg/apache/pdfbox/pdmodel/PDDocumentInformation;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDDocument__documentInformation));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDDocument__documentInformation(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__documentInformation,
"documentInformation",
"Lorg/apache/pdfbox/pdmodel/PDDocumentInformation;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDDocument__documentInformation,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDDocument__documentCatalog = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__documentCatalog(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__documentCatalog, "documentCatalog",
"Lorg/apache/pdfbox/pdmodel/PDDocumentCatalog;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDDocument__documentCatalog));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDDocument__documentCatalog(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__documentCatalog, "documentCatalog",
"Lorg/apache/pdfbox/pdmodel/PDDocumentCatalog;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDDocument__documentCatalog,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDDocument__encryption = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__encryption(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__encryption, "encryption",
"Lorg/apache/pdfbox/pdmodel/encryption/PDEncryption;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDDocument__encryption));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDDocument__encryption(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__encryption, "encryption",
"Lorg/apache/pdfbox/pdmodel/encryption/PDEncryption;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDDocument__encryption, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDDocument__allSecurityToBeRemoved = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__allSecurityToBeRemoved(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__allSecurityToBeRemoved,
"allSecurityToBeRemoved", "Z");
uint8_t _result = (*jniEnv)->GetBooleanField(
jniEnv, self_, _f_PDDocument__allSecurityToBeRemoved);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDDocument__allSecurityToBeRemoved(jobject self_, uint8_t value) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__allSecurityToBeRemoved,
"allSecurityToBeRemoved", "Z");
(*jniEnv)->SetBooleanField(jniEnv, self_,
_f_PDDocument__allSecurityToBeRemoved, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDDocument__documentId = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__documentId(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__documentId, "documentId",
"Ljava/lang/Long;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDDocument__documentId));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDDocument__documentId(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__documentId, "documentId",
"Ljava/lang/Long;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDDocument__documentId, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDDocument__pdfSource = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__pdfSource(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__pdfSource, "pdfSource",
"Lorg/apache/pdfbox/io/RandomAccessRead;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDDocument__pdfSource));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
jfieldID _f_PDDocument__accessPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__accessPermission(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__accessPermission,
"accessPermission",
"Lorg/apache/pdfbox/pdmodel/encryption/AccessPermission;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDDocument__accessPermission));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDDocument__accessPermission(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__accessPermission,
"accessPermission",
"Lorg/apache/pdfbox/pdmodel/encryption/AccessPermission;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDDocument__accessPermission,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDDocument__fontsToSubset = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__fontsToSubset(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__fontsToSubset, "fontsToSubset",
"Ljava/util/Set;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDDocument__fontsToSubset));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
jfieldID _f_PDDocument__fontsToClose = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__fontsToClose(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__fontsToClose, "fontsToClose",
"Ljava/util/Set;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDDocument__fontsToClose));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
jfieldID _f_PDDocument__signInterface = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__signInterface(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__signInterface, "signInterface",
"Lorg/apache/pdfbox/pdmodel/interactive/digitalsignature/"
"SignatureInterface;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDDocument__signInterface));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDDocument__signInterface(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__signInterface, "signInterface",
"Lorg/apache/pdfbox/pdmodel/interactive/digitalsignature/"
"SignatureInterface;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDDocument__signInterface, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDDocument__signingSupport = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__signingSupport(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__signingSupport, "signingSupport",
"Lorg/apache/pdfbox/pdmodel/interactive/digitalsignature/"
"SigningSupport;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDDocument__signingSupport));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDDocument__signingSupport(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__signingSupport, "signingSupport",
"Lorg/apache/pdfbox/pdmodel/interactive/digitalsignature/"
"SigningSupport;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDDocument__signingSupport,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDDocument__resourceCache = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__resourceCache(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__resourceCache, "resourceCache",
"Lorg/apache/pdfbox/pdmodel/ResourceCache;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDDocument__resourceCache));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDDocument__resourceCache(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__resourceCache, "resourceCache",
"Lorg/apache/pdfbox/pdmodel/ResourceCache;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDDocument__resourceCache, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDDocument__signatureAdded = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocument__signatureAdded(jobject self_) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__signatureAdded, "signatureAdded",
"Z");
uint8_t _result =
(*jniEnv)->GetBooleanField(jniEnv, self_, _f_PDDocument__signatureAdded);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDDocument__signatureAdded(jobject self_, uint8_t value) {
load_env();
load_class_gr(&_c_PDDocument, "org/apache/pdfbox/pdmodel/PDDocument");
if (_c_PDDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocument, &_f_PDDocument__signatureAdded, "signatureAdded",
"Z");
(*jniEnv)->SetBooleanField(jniEnv, self_, _f_PDDocument__signatureAdded,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
// org.apache.pdfbox.pdmodel.PDDocumentInformation
jclass _c_PDDocumentInformation = NULL;
jmethodID _m_PDDocumentInformation__ctor = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__ctor() {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__ctor,
"<init>", "()V");
if (_m_PDDocumentInformation__ctor == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->NewObject(jniEnv, _c_PDDocumentInformation,
_m_PDDocumentInformation__ctor);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__ctor1 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__ctor1(jobject dic) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__ctor1,
"<init>", "(Lorg/apache/pdfbox/cos/COSDictionary;)V");
if (_m_PDDocumentInformation__ctor1 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->NewObject(jniEnv, _c_PDDocumentInformation,
_m_PDDocumentInformation__ctor1, dic);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getCOSObject = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getCOSObject(jobject self_) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__getCOSObject,
"getCOSObject", "()Lorg/apache/pdfbox/cos/COSDictionary;");
if (_m_PDDocumentInformation__getCOSObject == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getCOSObject);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getPropertyStringValue = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getPropertyStringValue(jobject self_,
jobject propertyKey) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation,
&_m_PDDocumentInformation__getPropertyStringValue,
"getPropertyStringValue",
"(Ljava/lang/String;)Ljava/lang/Object;");
if (_m_PDDocumentInformation__getPropertyStringValue == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getPropertyStringValue,
propertyKey);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getTitle = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getTitle(jobject self_) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__getTitle,
"getTitle", "()Ljava/lang/String;");
if (_m_PDDocumentInformation__getTitle == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getTitle);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__setTitle = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__setTitle(jobject self_, jobject title) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__setTitle,
"setTitle", "(Ljava/lang/String;)V");
if (_m_PDDocumentInformation__setTitle == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocumentInformation__setTitle,
title);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getAuthor = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getAuthor(jobject self_) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__getAuthor,
"getAuthor", "()Ljava/lang/String;");
if (_m_PDDocumentInformation__getAuthor == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getAuthor);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__setAuthor = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__setAuthor(jobject self_, jobject author) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__setAuthor,
"setAuthor", "(Ljava/lang/String;)V");
if (_m_PDDocumentInformation__setAuthor == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocumentInformation__setAuthor,
author);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getSubject = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getSubject(jobject self_) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__getSubject,
"getSubject", "()Ljava/lang/String;");
if (_m_PDDocumentInformation__getSubject == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getSubject);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__setSubject = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__setSubject(jobject self_, jobject subject) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__setSubject,
"setSubject", "(Ljava/lang/String;)V");
if (_m_PDDocumentInformation__setSubject == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocumentInformation__setSubject,
subject);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getKeywords = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getKeywords(jobject self_) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__getKeywords,
"getKeywords", "()Ljava/lang/String;");
if (_m_PDDocumentInformation__getKeywords == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getKeywords);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__setKeywords = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__setKeywords(jobject self_, jobject keywords) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__setKeywords,
"setKeywords", "(Ljava/lang/String;)V");
if (_m_PDDocumentInformation__setKeywords == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDDocumentInformation__setKeywords, keywords);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getCreator = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getCreator(jobject self_) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__getCreator,
"getCreator", "()Ljava/lang/String;");
if (_m_PDDocumentInformation__getCreator == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getCreator);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__setCreator = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__setCreator(jobject self_, jobject creator) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__setCreator,
"setCreator", "(Ljava/lang/String;)V");
if (_m_PDDocumentInformation__setCreator == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocumentInformation__setCreator,
creator);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getProducer = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getProducer(jobject self_) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__getProducer,
"getProducer", "()Ljava/lang/String;");
if (_m_PDDocumentInformation__getProducer == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getProducer);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__setProducer = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__setProducer(jobject self_, jobject producer) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__setProducer,
"setProducer", "(Ljava/lang/String;)V");
if (_m_PDDocumentInformation__setProducer == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDDocumentInformation__setProducer, producer);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getCreationDate = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getCreationDate(jobject self_) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation,
&_m_PDDocumentInformation__getCreationDate, "getCreationDate",
"()Ljava/util/Calendar;");
if (_m_PDDocumentInformation__getCreationDate == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getCreationDate);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__setCreationDate = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__setCreationDate(jobject self_, jobject date) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation,
&_m_PDDocumentInformation__setCreationDate, "setCreationDate",
"(Ljava/util/Calendar;)V");
if (_m_PDDocumentInformation__setCreationDate == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDDocumentInformation__setCreationDate, date);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getModificationDate = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getModificationDate(jobject self_) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation,
&_m_PDDocumentInformation__getModificationDate,
"getModificationDate", "()Ljava/util/Calendar;");
if (_m_PDDocumentInformation__getModificationDate == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getModificationDate);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__setModificationDate = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__setModificationDate(jobject self_,
jobject date) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation,
&_m_PDDocumentInformation__setModificationDate,
"setModificationDate", "(Ljava/util/Calendar;)V");
if (_m_PDDocumentInformation__setModificationDate == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(
jniEnv, self_, _m_PDDocumentInformation__setModificationDate, date);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getTrapped = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getTrapped(jobject self_) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__getTrapped,
"getTrapped", "()Ljava/lang/String;");
if (_m_PDDocumentInformation__getTrapped == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getTrapped);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getMetadataKeys = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getMetadataKeys(jobject self_) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation,
&_m_PDDocumentInformation__getMetadataKeys, "getMetadataKeys",
"()Ljava/util/Set;");
if (_m_PDDocumentInformation__getMetadataKeys == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getMetadataKeys);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__getCustomMetadataValue = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__getCustomMetadataValue(jobject self_,
jobject fieldName) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation,
&_m_PDDocumentInformation__getCustomMetadataValue,
"getCustomMetadataValue",
"(Ljava/lang/String;)Ljava/lang/String;");
if (_m_PDDocumentInformation__getCustomMetadataValue == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDDocumentInformation__getCustomMetadataValue,
fieldName);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__setCustomMetadataValue = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__setCustomMetadataValue(jobject self_,
jobject fieldName,
jobject fieldValue) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation,
&_m_PDDocumentInformation__setCustomMetadataValue,
"setCustomMetadataValue",
"(Ljava/lang/String;Ljava/lang/String;)V");
if (_m_PDDocumentInformation__setCustomMetadataValue == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDDocumentInformation__setCustomMetadataValue,
fieldName, fieldValue);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDDocumentInformation__setTrapped = NULL;
FFI_PLUGIN_EXPORT
JniResult PDDocumentInformation__setTrapped(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDDocumentInformation, &_m_PDDocumentInformation__setTrapped,
"setTrapped", "(Ljava/lang/String;)V");
if (_m_PDDocumentInformation__setTrapped == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDDocumentInformation__setTrapped,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDDocumentInformation__info = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDDocumentInformation__info(jobject self_) {
load_env();
load_class_gr(&_c_PDDocumentInformation,
"org/apache/pdfbox/pdmodel/PDDocumentInformation");
if (_c_PDDocumentInformation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDDocumentInformation, &_f_PDDocumentInformation__info, "info",
"Lorg/apache/pdfbox/cos/COSDictionary;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDDocumentInformation__info));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
// org.apache.pdfbox.text.PDFTextStripper
jclass _c_PDFTextStripper = NULL;
jmethodID _m_PDFTextStripper__ctor = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__ctor() {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__ctor, "<init>", "()V");
if (_m_PDFTextStripper__ctor == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->NewObject(jniEnv, _c_PDFTextStripper,
_m_PDFTextStripper__ctor);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getText = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getText(jobject self_, jobject doc) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getText, "getText",
"(Lorg/apache/pdfbox/pdmodel/PDDocument;)Ljava/lang/String;");
if (_m_PDFTextStripper__getText == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__getText, doc);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__resetEngine = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__resetEngine(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__resetEngine,
"resetEngine", "()V");
if (_m_PDFTextStripper__resetEngine == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__resetEngine);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writeText = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writeText(jobject self_,
jobject doc,
jobject outputStream) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writeText, "writeText",
"(Lorg/apache/pdfbox/pdmodel/PDDocument;Ljava/io/Writer;)V");
if (_m_PDFTextStripper__writeText == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__writeText, doc,
outputStream);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__processPages = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__processPages(jobject self_, jobject pages) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__processPages,
"processPages", "(Lorg/apache/pdfbox/pdmodel/PDPageTree;)V");
if (_m_PDFTextStripper__processPages == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__processPages,
pages);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__startDocument = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__startDocument(jobject self_, jobject document) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__startDocument,
"startDocument", "(Lorg/apache/pdfbox/pdmodel/PDDocument;)V");
if (_m_PDFTextStripper__startDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__startDocument,
document);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__endDocument = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__endDocument(jobject self_, jobject document) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__endDocument,
"endDocument", "(Lorg/apache/pdfbox/pdmodel/PDDocument;)V");
if (_m_PDFTextStripper__endDocument == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__endDocument,
document);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__processPage = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__processPage(jobject self_, jobject page) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__processPage,
"processPage", "(Lorg/apache/pdfbox/pdmodel/PDPage;)V");
if (_m_PDFTextStripper__processPage == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__processPage,
page);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__fillBeadRectangles = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__fillBeadRectangles(jobject self_, jobject page) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__fillBeadRectangles,
"fillBeadRectangles", "(Lorg/apache/pdfbox/pdmodel/PDPage;)V");
if (_m_PDFTextStripper__fillBeadRectangles == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__fillBeadRectangles, page);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__startArticle = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__startArticle(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__startArticle,
"startArticle", "()V");
if (_m_PDFTextStripper__startArticle == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__startArticle);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__startArticle1 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__startArticle1(jobject self_, uint8_t isLTR) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__startArticle1,
"startArticle", "(Z)V");
if (_m_PDFTextStripper__startArticle1 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__startArticle1,
isLTR);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__endArticle = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__endArticle(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__endArticle, "endArticle",
"()V");
if (_m_PDFTextStripper__endArticle == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__endArticle);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__startPage1 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__startPage1(jobject self_, jobject page) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__startPage1, "startPage",
"(Lorg/apache/pdfbox/pdmodel/PDPage;)V");
if (_m_PDFTextStripper__startPage1 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__startPage1,
page);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__endPage1 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__endPage1(jobject self_, jobject page) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__endPage1, "endPage",
"(Lorg/apache/pdfbox/pdmodel/PDPage;)V");
if (_m_PDFTextStripper__endPage1 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__endPage1, page);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writePage = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writePage(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writePage, "writePage",
"()V");
if (_m_PDFTextStripper__writePage == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__writePage);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__overlap = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__overlap(jobject self_,
float y1,
float height1,
float y2,
float height2) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__overlap, "overlap",
"(FFFF)Z");
if (_m_PDFTextStripper__overlap == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
uint8_t _result = (*jniEnv)->CallBooleanMethod(
jniEnv, self_, _m_PDFTextStripper__overlap, y1, height1, y2, height2);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writeLineSeparator = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writeLineSeparator(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writeLineSeparator,
"writeLineSeparator", "()V");
if (_m_PDFTextStripper__writeLineSeparator == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__writeLineSeparator);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writeWordSeparator = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writeWordSeparator(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writeWordSeparator,
"writeWordSeparator", "()V");
if (_m_PDFTextStripper__writeWordSeparator == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__writeWordSeparator);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writeCharacters = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writeCharacters(jobject self_, jobject text) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writeCharacters,
"writeCharacters", "(Lorg/apache/pdfbox/text/TextPosition;)V");
if (_m_PDFTextStripper__writeCharacters == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__writeCharacters,
text);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writeString = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writeString(jobject self_,
jobject text,
jobject textPositions) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writeString,
"writeString", "(Ljava/lang/String;Ljava/util/List;)V");
if (_m_PDFTextStripper__writeString == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__writeString,
text, textPositions);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writeString1 = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writeString1(jobject self_, jobject text) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writeString1,
"writeString", "(Ljava/lang/String;)V");
if (_m_PDFTextStripper__writeString1 == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__writeString1,
text);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__within = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__within(jobject self_,
float first,
float second,
float variance) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__within, "within",
"(FFF)Z");
if (_m_PDFTextStripper__within == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
uint8_t _result = (*jniEnv)->CallBooleanMethod(
jniEnv, self_, _m_PDFTextStripper__within, first, second, variance);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__processTextPosition = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__processTextPosition(jobject self_, jobject text) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__processTextPosition,
"processTextPosition",
"(Lorg/apache/pdfbox/text/TextPosition;)V");
if (_m_PDFTextStripper__processTextPosition == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__processTextPosition, text);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getStartPage = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getStartPage(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getStartPage,
"getStartPage", "()I");
if (_m_PDFTextStripper__getStartPage == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
int32_t _result =
(*jniEnv)->CallIntMethod(jniEnv, self_, _m_PDFTextStripper__getStartPage);
return (JniResult){.result = {.i = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setStartPage = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setStartPage(jobject self_, int32_t startPageValue) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setStartPage,
"setStartPage", "(I)V");
if (_m_PDFTextStripper__setStartPage == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__setStartPage,
startPageValue);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getEndPage = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getEndPage(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getEndPage, "getEndPage",
"()I");
if (_m_PDFTextStripper__getEndPage == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
int32_t _result =
(*jniEnv)->CallIntMethod(jniEnv, self_, _m_PDFTextStripper__getEndPage);
return (JniResult){.result = {.i = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setEndPage = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setEndPage(jobject self_, int32_t endPageValue) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setEndPage, "setEndPage",
"(I)V");
if (_m_PDFTextStripper__setEndPage == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__setEndPage,
endPageValue);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setLineSeparator = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setLineSeparator(jobject self_, jobject separator) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setLineSeparator,
"setLineSeparator", "(Ljava/lang/String;)V");
if (_m_PDFTextStripper__setLineSeparator == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__setLineSeparator,
separator);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getLineSeparator = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getLineSeparator(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getLineSeparator,
"getLineSeparator", "()Ljava/lang/String;");
if (_m_PDFTextStripper__getLineSeparator == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__getLineSeparator);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getWordSeparator = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getWordSeparator(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getWordSeparator,
"getWordSeparator", "()Ljava/lang/String;");
if (_m_PDFTextStripper__getWordSeparator == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__getWordSeparator);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setWordSeparator = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setWordSeparator(jobject self_, jobject separator) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setWordSeparator,
"setWordSeparator", "(Ljava/lang/String;)V");
if (_m_PDFTextStripper__setWordSeparator == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__setWordSeparator,
separator);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getSuppressDuplicateOverlappingText = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getSuppressDuplicateOverlappingText(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper,
&_m_PDFTextStripper__getSuppressDuplicateOverlappingText,
"getSuppressDuplicateOverlappingText", "()Z");
if (_m_PDFTextStripper__getSuppressDuplicateOverlappingText == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
uint8_t _result = (*jniEnv)->CallBooleanMethod(
jniEnv, self_, _m_PDFTextStripper__getSuppressDuplicateOverlappingText);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getCurrentPageNo = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getCurrentPageNo(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getCurrentPageNo,
"getCurrentPageNo", "()I");
if (_m_PDFTextStripper__getCurrentPageNo == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
int32_t _result = (*jniEnv)->CallIntMethod(
jniEnv, self_, _m_PDFTextStripper__getCurrentPageNo);
return (JniResult){.result = {.i = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getOutput = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getOutput(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getOutput, "getOutput",
"()Ljava/io/Writer;");
if (_m_PDFTextStripper__getOutput == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result =
(*jniEnv)->CallObjectMethod(jniEnv, self_, _m_PDFTextStripper__getOutput);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getCharactersByArticle = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getCharactersByArticle(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getCharactersByArticle,
"getCharactersByArticle", "()Ljava/util/List;");
if (_m_PDFTextStripper__getCharactersByArticle == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__getCharactersByArticle);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setSuppressDuplicateOverlappingText = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setSuppressDuplicateOverlappingText(
jobject self_,
uint8_t suppressDuplicateOverlappingTextValue) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper,
&_m_PDFTextStripper__setSuppressDuplicateOverlappingText,
"setSuppressDuplicateOverlappingText", "(Z)V");
if (_m_PDFTextStripper__setSuppressDuplicateOverlappingText == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(
jniEnv, self_, _m_PDFTextStripper__setSuppressDuplicateOverlappingText,
suppressDuplicateOverlappingTextValue);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getSeparateByBeads = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getSeparateByBeads(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getSeparateByBeads,
"getSeparateByBeads", "()Z");
if (_m_PDFTextStripper__getSeparateByBeads == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
uint8_t _result = (*jniEnv)->CallBooleanMethod(
jniEnv, self_, _m_PDFTextStripper__getSeparateByBeads);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setShouldSeparateByBeads = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setShouldSeparateByBeads(
jobject self_,
uint8_t aShouldSeparateByBeads) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setShouldSeparateByBeads,
"setShouldSeparateByBeads", "(Z)V");
if (_m_PDFTextStripper__setShouldSeparateByBeads == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__setShouldSeparateByBeads,
aShouldSeparateByBeads);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getEndBookmark = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getEndBookmark(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getEndBookmark,
"getEndBookmark",
"()Lorg/apache/pdfbox/pdmodel/interactive/documentnavigation/"
"outline/PDOutlineItem;");
if (_m_PDFTextStripper__getEndBookmark == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__getEndBookmark);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setEndBookmark = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setEndBookmark(jobject self_, jobject aEndBookmark) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setEndBookmark,
"setEndBookmark",
"(Lorg/apache/pdfbox/pdmodel/interactive/documentnavigation/"
"outline/PDOutlineItem;)V");
if (_m_PDFTextStripper__setEndBookmark == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__setEndBookmark,
aEndBookmark);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getStartBookmark = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getStartBookmark(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getStartBookmark,
"getStartBookmark",
"()Lorg/apache/pdfbox/pdmodel/interactive/documentnavigation/"
"outline/PDOutlineItem;");
if (_m_PDFTextStripper__getStartBookmark == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__getStartBookmark);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setStartBookmark = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setStartBookmark(jobject self_,
jobject aStartBookmark) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setStartBookmark,
"setStartBookmark",
"(Lorg/apache/pdfbox/pdmodel/interactive/documentnavigation/"
"outline/PDOutlineItem;)V");
if (_m_PDFTextStripper__setStartBookmark == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__setStartBookmark,
aStartBookmark);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getAddMoreFormatting = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getAddMoreFormatting(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getAddMoreFormatting,
"getAddMoreFormatting", "()Z");
if (_m_PDFTextStripper__getAddMoreFormatting == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
uint8_t _result = (*jniEnv)->CallBooleanMethod(
jniEnv, self_, _m_PDFTextStripper__getAddMoreFormatting);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setAddMoreFormatting = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setAddMoreFormatting(jobject self_,
uint8_t newAddMoreFormatting) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setAddMoreFormatting,
"setAddMoreFormatting", "(Z)V");
if (_m_PDFTextStripper__setAddMoreFormatting == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__setAddMoreFormatting,
newAddMoreFormatting);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getSortByPosition = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getSortByPosition(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getSortByPosition,
"getSortByPosition", "()Z");
if (_m_PDFTextStripper__getSortByPosition == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
uint8_t _result = (*jniEnv)->CallBooleanMethod(
jniEnv, self_, _m_PDFTextStripper__getSortByPosition);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setSortByPosition = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setSortByPosition(jobject self_,
uint8_t newSortByPosition) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setSortByPosition,
"setSortByPosition", "(Z)V");
if (_m_PDFTextStripper__setSortByPosition == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(
jniEnv, self_, _m_PDFTextStripper__setSortByPosition, newSortByPosition);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getSpacingTolerance = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getSpacingTolerance(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getSpacingTolerance,
"getSpacingTolerance", "()F");
if (_m_PDFTextStripper__getSpacingTolerance == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
float _result = (*jniEnv)->CallFloatMethod(
jniEnv, self_, _m_PDFTextStripper__getSpacingTolerance);
return (JniResult){.result = {.f = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setSpacingTolerance = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setSpacingTolerance(jobject self_,
float spacingToleranceValue) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setSpacingTolerance,
"setSpacingTolerance", "(F)V");
if (_m_PDFTextStripper__setSpacingTolerance == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__setSpacingTolerance,
spacingToleranceValue);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getAverageCharTolerance = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getAverageCharTolerance(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getAverageCharTolerance,
"getAverageCharTolerance", "()F");
if (_m_PDFTextStripper__getAverageCharTolerance == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
float _result = (*jniEnv)->CallFloatMethod(
jniEnv, self_, _m_PDFTextStripper__getAverageCharTolerance);
return (JniResult){.result = {.f = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setAverageCharTolerance = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setAverageCharTolerance(
jobject self_,
float averageCharToleranceValue) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setAverageCharTolerance,
"setAverageCharTolerance", "(F)V");
if (_m_PDFTextStripper__setAverageCharTolerance == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__setAverageCharTolerance,
averageCharToleranceValue);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getIndentThreshold = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getIndentThreshold(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getIndentThreshold,
"getIndentThreshold", "()F");
if (_m_PDFTextStripper__getIndentThreshold == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
float _result = (*jniEnv)->CallFloatMethod(
jniEnv, self_, _m_PDFTextStripper__getIndentThreshold);
return (JniResult){.result = {.f = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setIndentThreshold = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setIndentThreshold(jobject self_,
float indentThresholdValue) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setIndentThreshold,
"setIndentThreshold", "(F)V");
if (_m_PDFTextStripper__setIndentThreshold == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__setIndentThreshold,
indentThresholdValue);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getDropThreshold = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getDropThreshold(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getDropThreshold,
"getDropThreshold", "()F");
if (_m_PDFTextStripper__getDropThreshold == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
float _result = (*jniEnv)->CallFloatMethod(
jniEnv, self_, _m_PDFTextStripper__getDropThreshold);
return (JniResult){.result = {.f = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setDropThreshold = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setDropThreshold(jobject self_,
float dropThresholdValue) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setDropThreshold,
"setDropThreshold", "(F)V");
if (_m_PDFTextStripper__setDropThreshold == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__setDropThreshold,
dropThresholdValue);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getParagraphStart = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getParagraphStart(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getParagraphStart,
"getParagraphStart", "()Ljava/lang/String;");
if (_m_PDFTextStripper__getParagraphStart == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__getParagraphStart);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setParagraphStart = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setParagraphStart(jobject self_, jobject s) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setParagraphStart,
"setParagraphStart", "(Ljava/lang/String;)V");
if (_m_PDFTextStripper__setParagraphStart == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__setParagraphStart, s);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getParagraphEnd = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getParagraphEnd(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getParagraphEnd,
"getParagraphEnd", "()Ljava/lang/String;");
if (_m_PDFTextStripper__getParagraphEnd == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__getParagraphEnd);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setParagraphEnd = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setParagraphEnd(jobject self_, jobject s) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setParagraphEnd,
"setParagraphEnd", "(Ljava/lang/String;)V");
if (_m_PDFTextStripper__setParagraphEnd == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__setParagraphEnd,
s);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getPageStart = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getPageStart(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getPageStart,
"getPageStart", "()Ljava/lang/String;");
if (_m_PDFTextStripper__getPageStart == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__getPageStart);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setPageStart = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setPageStart(jobject self_, jobject pageStartValue) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setPageStart,
"setPageStart", "(Ljava/lang/String;)V");
if (_m_PDFTextStripper__setPageStart == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__setPageStart,
pageStartValue);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getPageEnd = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getPageEnd(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getPageEnd, "getPageEnd",
"()Ljava/lang/String;");
if (_m_PDFTextStripper__getPageEnd == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_,
_m_PDFTextStripper__getPageEnd);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setPageEnd = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setPageEnd(jobject self_, jobject pageEndValue) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setPageEnd, "setPageEnd",
"(Ljava/lang/String;)V");
if (_m_PDFTextStripper__setPageEnd == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__setPageEnd,
pageEndValue);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getArticleStart = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getArticleStart(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getArticleStart,
"getArticleStart", "()Ljava/lang/String;");
if (_m_PDFTextStripper__getArticleStart == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__getArticleStart);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setArticleStart = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setArticleStart(jobject self_,
jobject articleStartValue) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setArticleStart,
"setArticleStart", "(Ljava/lang/String;)V");
if (_m_PDFTextStripper__setArticleStart == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__setArticleStart,
articleStartValue);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getArticleEnd = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getArticleEnd(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getArticleEnd,
"getArticleEnd", "()Ljava/lang/String;");
if (_m_PDFTextStripper__getArticleEnd == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__getArticleEnd);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setArticleEnd = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setArticleEnd(jobject self_,
jobject articleEndValue) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setArticleEnd,
"setArticleEnd", "(Ljava/lang/String;)V");
if (_m_PDFTextStripper__setArticleEnd == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__setArticleEnd,
articleEndValue);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__handleLineSeparation = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__handleLineSeparation(jobject self_,
jobject current,
jobject lastPosition,
jobject lastLineStartPosition,
float maxHeightForLine) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__handleLineSeparation,
"handleLineSeparation",
"(Lorg/apache/pdfbox/text/PDFTextStripper$PositionWrapper;Lorg/"
"apache/pdfbox/text/PDFTextStripper$PositionWrapper;Lorg/apache/"
"pdfbox/text/PDFTextStripper$PositionWrapper;F)Lorg/apache/"
"pdfbox/text/PDFTextStripper$PositionWrapper;");
if (_m_PDFTextStripper__handleLineSeparation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__handleLineSeparation, current,
lastPosition, lastLineStartPosition, maxHeightForLine);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__isParagraphSeparation = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__isParagraphSeparation(jobject self_,
jobject position,
jobject lastPosition,
jobject lastLineStartPosition,
float maxHeightForLine) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__isParagraphSeparation,
"isParagraphSeparation",
"(Lorg/apache/pdfbox/text/PDFTextStripper$PositionWrapper;Lorg/"
"apache/pdfbox/text/PDFTextStripper$PositionWrapper;Lorg/apache/"
"pdfbox/text/PDFTextStripper$PositionWrapper;F)V");
if (_m_PDFTextStripper__isParagraphSeparation == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(
jniEnv, self_, _m_PDFTextStripper__isParagraphSeparation, position,
lastPosition, lastLineStartPosition, maxHeightForLine);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__multiplyFloat = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__multiplyFloat(jobject self_,
float value1,
float value2) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__multiplyFloat,
"multiplyFloat", "(FF)F");
if (_m_PDFTextStripper__multiplyFloat == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
float _result = (*jniEnv)->CallFloatMethod(
jniEnv, self_, _m_PDFTextStripper__multiplyFloat, value1, value2);
return (JniResult){.result = {.f = _result}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writeParagraphSeparator = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writeParagraphSeparator(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writeParagraphSeparator,
"writeParagraphSeparator", "()V");
if (_m_PDFTextStripper__writeParagraphSeparator == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__writeParagraphSeparator);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writeParagraphStart = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writeParagraphStart(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writeParagraphStart,
"writeParagraphStart", "()V");
if (_m_PDFTextStripper__writeParagraphStart == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__writeParagraphStart);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writeParagraphEnd = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writeParagraphEnd(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writeParagraphEnd,
"writeParagraphEnd", "()V");
if (_m_PDFTextStripper__writeParagraphEnd == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__writeParagraphEnd);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writePageStart = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writePageStart(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writePageStart,
"writePageStart", "()V");
if (_m_PDFTextStripper__writePageStart == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__writePageStart);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writePageEnd = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writePageEnd(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writePageEnd,
"writePageEnd", "()V");
if (_m_PDFTextStripper__writePageEnd == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__writePageEnd);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__matchListItemPattern = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__matchListItemPattern(jobject self_, jobject pw) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__matchListItemPattern,
"matchListItemPattern",
"(Lorg/apache/pdfbox/text/PDFTextStripper$PositionWrapper;)Ljava/"
"util/regex/Pattern;");
if (_m_PDFTextStripper__matchListItemPattern == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__matchListItemPattern, pw);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__setListItemPatterns = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__setListItemPatterns(jobject self_,
jobject patterns) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__setListItemPatterns,
"setListItemPatterns", "(Ljava/util/List;)V");
if (_m_PDFTextStripper__setListItemPatterns == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_,
_m_PDFTextStripper__setListItemPatterns, patterns);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__getListItemPatterns = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__getListItemPatterns(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__getListItemPatterns,
"getListItemPatterns", "()Ljava/util/List;");
if (_m_PDFTextStripper__getListItemPatterns == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__getListItemPatterns);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__matchPattern = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__matchPattern(jobject string, jobject patterns) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(
_c_PDFTextStripper, &_m_PDFTextStripper__matchPattern, "matchPattern",
"(Ljava/lang/String;Ljava/util/List;)Ljava/util/regex/Pattern;");
if (_m_PDFTextStripper__matchPattern == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallStaticObjectMethod(
jniEnv, _c_PDFTextStripper, _m_PDFTextStripper__matchPattern, string,
patterns);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__writeLine = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__writeLine(jobject self_, jobject line) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__writeLine, "writeLine",
"(Ljava/util/List;)V");
if (_m_PDFTextStripper__writeLine == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallVoidMethod(jniEnv, self_, _m_PDFTextStripper__writeLine, line);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__normalize = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__normalize(jobject self_, jobject line) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__normalize, "normalize",
"(Ljava/util/List;)Ljava/util/List;");
if (_m_PDFTextStripper__normalize == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__normalize, line);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__handleDirection = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__handleDirection(jobject self_, jobject word) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__handleDirection,
"handleDirection", "(Ljava/lang/String;)Ljava/lang/String;");
if (_m_PDFTextStripper__handleDirection == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__handleDirection, word);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__parseBidiFile = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__parseBidiFile(jobject inputStream) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_method(_c_PDFTextStripper, &_m_PDFTextStripper__parseBidiFile,
"parseBidiFile", "(Ljava/io/InputStream;)V");
if (_m_PDFTextStripper__parseBidiFile == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
(*jniEnv)->CallStaticVoidMethod(jniEnv, _c_PDFTextStripper,
_m_PDFTextStripper__parseBidiFile,
inputStream);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jmethodID _m_PDFTextStripper__createWord = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__createWord(jobject self_,
jobject word,
jobject wordPositions) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__createWord, "createWord",
"(Ljava/lang/String;Ljava/util/List;)Lorg/apache/pdfbox/text/"
"PDFTextStripper$WordWithTextPositions;");
if (_m_PDFTextStripper__createWord == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__createWord, word, wordPositions);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__normalizeWord = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__normalizeWord(jobject self_, jobject word) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(_c_PDFTextStripper, &_m_PDFTextStripper__normalizeWord,
"normalizeWord", "(Ljava/lang/String;)Ljava/lang/String;");
if (_m_PDFTextStripper__normalizeWord == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__normalizeWord, word);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jmethodID _m_PDFTextStripper__normalizeAdd = NULL;
FFI_PLUGIN_EXPORT
JniResult PDFTextStripper__normalizeAdd(jobject self_,
jobject normalized,
jobject lineBuilder,
jobject wordPositions,
jobject item) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_method(
_c_PDFTextStripper, &_m_PDFTextStripper__normalizeAdd, "normalizeAdd",
"(Ljava/util/List;Ljava/lang/StringBuilder;Ljava/util/List;Lorg/apache/"
"pdfbox/text/PDFTextStripper$LineItem;)Ljava/lang/StringBuilder;");
if (_m_PDFTextStripper__normalizeAdd == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
jobject _result = (*jniEnv)->CallObjectMethod(
jniEnv, self_, _m_PDFTextStripper__normalizeAdd, normalized, lineBuilder,
wordPositions, item);
return (JniResult){.result = {.l = to_global_ref(_result)},
.exception = check_exception()};
}
jfieldID _f_PDFTextStripper__defaultIndentThreshold = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__defaultIndentThreshold() {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_field(_c_PDFTextStripper,
&_f_PDFTextStripper__defaultIndentThreshold,
"defaultIndentThreshold", "F");
float _result = (*jniEnv)->GetStaticFloatField(
jniEnv, _c_PDFTextStripper, _f_PDFTextStripper__defaultIndentThreshold);
return (JniResult){.result = {.f = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__defaultIndentThreshold(float value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_field(_c_PDFTextStripper,
&_f_PDFTextStripper__defaultIndentThreshold,
"defaultIndentThreshold", "F");
(*jniEnv)->SetStaticFloatField(jniEnv, _c_PDFTextStripper,
_f_PDFTextStripper__defaultIndentThreshold,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__defaultDropThreshold = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__defaultDropThreshold() {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_field(_c_PDFTextStripper,
&_f_PDFTextStripper__defaultDropThreshold,
"defaultDropThreshold", "F");
float _result = (*jniEnv)->GetStaticFloatField(
jniEnv, _c_PDFTextStripper, _f_PDFTextStripper__defaultDropThreshold);
return (JniResult){.result = {.f = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__defaultDropThreshold(float value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_field(_c_PDFTextStripper,
&_f_PDFTextStripper__defaultDropThreshold,
"defaultDropThreshold", "F");
(*jniEnv)->SetStaticFloatField(jniEnv, _c_PDFTextStripper,
_f_PDFTextStripper__defaultDropThreshold,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__LOG = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__LOG() {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_field(_c_PDFTextStripper, &_f_PDFTextStripper__LOG, "LOG",
"Lorg/apache/commons/logging/Log;");
jobject _result = to_global_ref((*jniEnv)->GetStaticObjectField(
jniEnv, _c_PDFTextStripper, _f_PDFTextStripper__LOG));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__LINE_SEPARATOR = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__LINE_SEPARATOR(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__LINE_SEPARATOR,
"LINE_SEPARATOR", "Ljava/lang/String;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDFTextStripper__LINE_SEPARATOR));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__lineSeparator = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__lineSeparator(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__lineSeparator,
"lineSeparator", "Ljava/lang/String;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDFTextStripper__lineSeparator));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__lineSeparator(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__lineSeparator,
"lineSeparator", "Ljava/lang/String;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__lineSeparator,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__wordSeparator = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__wordSeparator(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__wordSeparator,
"wordSeparator", "Ljava/lang/String;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDFTextStripper__wordSeparator));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__wordSeparator(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__wordSeparator,
"wordSeparator", "Ljava/lang/String;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__wordSeparator,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__paragraphStart = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__paragraphStart(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__paragraphStart,
"paragraphStart", "Ljava/lang/String;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDFTextStripper__paragraphStart));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__paragraphStart(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__paragraphStart,
"paragraphStart", "Ljava/lang/String;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__paragraphStart,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__paragraphEnd = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__paragraphEnd(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__paragraphEnd,
"paragraphEnd", "Ljava/lang/String;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDFTextStripper__paragraphEnd));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__paragraphEnd(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__paragraphEnd,
"paragraphEnd", "Ljava/lang/String;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__paragraphEnd,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__pageStart = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__pageStart(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__pageStart, "pageStart",
"Ljava/lang/String;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDFTextStripper__pageStart));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__pageStart(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__pageStart, "pageStart",
"Ljava/lang/String;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__pageStart,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__pageEnd = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__pageEnd(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__pageEnd, "pageEnd",
"Ljava/lang/String;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDFTextStripper__pageEnd));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__pageEnd(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__pageEnd, "pageEnd",
"Ljava/lang/String;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__pageEnd, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__articleStart = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__articleStart(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__articleStart,
"articleStart", "Ljava/lang/String;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDFTextStripper__articleStart));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__articleStart(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__articleStart,
"articleStart", "Ljava/lang/String;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__articleStart,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__articleEnd = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__articleEnd(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__articleEnd, "articleEnd",
"Ljava/lang/String;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDFTextStripper__articleEnd));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__articleEnd(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__articleEnd, "articleEnd",
"Ljava/lang/String;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__articleEnd,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__currentPageNo = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__currentPageNo(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__currentPageNo,
"currentPageNo", "I");
int32_t _result =
(*jniEnv)->GetIntField(jniEnv, self_, _f_PDFTextStripper__currentPageNo);
return (JniResult){.result = {.i = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__currentPageNo(jobject self_, int32_t value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__currentPageNo,
"currentPageNo", "I");
(*jniEnv)->SetIntField(jniEnv, self_, _f_PDFTextStripper__currentPageNo,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__startPage = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__startPage(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__startPage, "startPage",
"I");
int32_t _result =
(*jniEnv)->GetIntField(jniEnv, self_, _f_PDFTextStripper__startPage);
return (JniResult){.result = {.i = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__startPage(jobject self_, int32_t value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__startPage, "startPage",
"I");
(*jniEnv)->SetIntField(jniEnv, self_, _f_PDFTextStripper__startPage, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__endPage = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__endPage(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__endPage, "endPage", "I");
int32_t _result =
(*jniEnv)->GetIntField(jniEnv, self_, _f_PDFTextStripper__endPage);
return (JniResult){.result = {.i = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__endPage(jobject self_, int32_t value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__endPage, "endPage", "I");
(*jniEnv)->SetIntField(jniEnv, self_, _f_PDFTextStripper__endPage, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__startBookmark = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__startBookmark(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__startBookmark,
"startBookmark",
"Lorg/apache/pdfbox/pdmodel/interactive/documentnavigation/"
"outline/PDOutlineItem;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDFTextStripper__startBookmark));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__startBookmark(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__startBookmark,
"startBookmark",
"Lorg/apache/pdfbox/pdmodel/interactive/documentnavigation/"
"outline/PDOutlineItem;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__startBookmark,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__startBookmarkPageNumber = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__startBookmarkPageNumber(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__startBookmarkPageNumber,
"startBookmarkPageNumber", "I");
int32_t _result = (*jniEnv)->GetIntField(
jniEnv, self_, _f_PDFTextStripper__startBookmarkPageNumber);
return (JniResult){.result = {.i = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__startBookmarkPageNumber(jobject self_,
int32_t value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__startBookmarkPageNumber,
"startBookmarkPageNumber", "I");
(*jniEnv)->SetIntField(jniEnv, self_,
_f_PDFTextStripper__startBookmarkPageNumber, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__endBookmarkPageNumber = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__endBookmarkPageNumber(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__endBookmarkPageNumber,
"endBookmarkPageNumber", "I");
int32_t _result = (*jniEnv)->GetIntField(
jniEnv, self_, _f_PDFTextStripper__endBookmarkPageNumber);
return (JniResult){.result = {.i = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__endBookmarkPageNumber(jobject self_,
int32_t value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__endBookmarkPageNumber,
"endBookmarkPageNumber", "I");
(*jniEnv)->SetIntField(jniEnv, self_,
_f_PDFTextStripper__endBookmarkPageNumber, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__endBookmark = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__endBookmark(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__endBookmark,
"endBookmark",
"Lorg/apache/pdfbox/pdmodel/interactive/documentnavigation/"
"outline/PDOutlineItem;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDFTextStripper__endBookmark));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__endBookmark(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__endBookmark,
"endBookmark",
"Lorg/apache/pdfbox/pdmodel/interactive/documentnavigation/"
"outline/PDOutlineItem;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__endBookmark,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__suppressDuplicateOverlappingText = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__suppressDuplicateOverlappingText(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper,
&_f_PDFTextStripper__suppressDuplicateOverlappingText,
"suppressDuplicateOverlappingText", "Z");
uint8_t _result = (*jniEnv)->GetBooleanField(
jniEnv, self_, _f_PDFTextStripper__suppressDuplicateOverlappingText);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__suppressDuplicateOverlappingText(jobject self_,
uint8_t value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper,
&_f_PDFTextStripper__suppressDuplicateOverlappingText,
"suppressDuplicateOverlappingText", "Z");
(*jniEnv)->SetBooleanField(
jniEnv, self_, _f_PDFTextStripper__suppressDuplicateOverlappingText,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__shouldSeparateByBeads = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__shouldSeparateByBeads(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__shouldSeparateByBeads,
"shouldSeparateByBeads", "Z");
uint8_t _result = (*jniEnv)->GetBooleanField(
jniEnv, self_, _f_PDFTextStripper__shouldSeparateByBeads);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__shouldSeparateByBeads(jobject self_,
uint8_t value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__shouldSeparateByBeads,
"shouldSeparateByBeads", "Z");
(*jniEnv)->SetBooleanField(jniEnv, self_,
_f_PDFTextStripper__shouldSeparateByBeads, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__sortByPosition = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__sortByPosition(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__sortByPosition,
"sortByPosition", "Z");
uint8_t _result = (*jniEnv)->GetBooleanField(
jniEnv, self_, _f_PDFTextStripper__sortByPosition);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__sortByPosition(jobject self_, uint8_t value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__sortByPosition,
"sortByPosition", "Z");
(*jniEnv)->SetBooleanField(jniEnv, self_, _f_PDFTextStripper__sortByPosition,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__addMoreFormatting = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__addMoreFormatting(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__addMoreFormatting,
"addMoreFormatting", "Z");
uint8_t _result = (*jniEnv)->GetBooleanField(
jniEnv, self_, _f_PDFTextStripper__addMoreFormatting);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__addMoreFormatting(jobject self_, uint8_t value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__addMoreFormatting,
"addMoreFormatting", "Z");
(*jniEnv)->SetBooleanField(jniEnv, self_,
_f_PDFTextStripper__addMoreFormatting, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__indentThreshold = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__indentThreshold(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__indentThreshold,
"indentThreshold", "F");
float _result = (*jniEnv)->GetFloatField(jniEnv, self_,
_f_PDFTextStripper__indentThreshold);
return (JniResult){.result = {.f = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__indentThreshold(jobject self_, float value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__indentThreshold,
"indentThreshold", "F");
(*jniEnv)->SetFloatField(jniEnv, self_, _f_PDFTextStripper__indentThreshold,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__dropThreshold = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__dropThreshold(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__dropThreshold,
"dropThreshold", "F");
float _result = (*jniEnv)->GetFloatField(jniEnv, self_,
_f_PDFTextStripper__dropThreshold);
return (JniResult){.result = {.f = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__dropThreshold(jobject self_, float value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__dropThreshold,
"dropThreshold", "F");
(*jniEnv)->SetFloatField(jniEnv, self_, _f_PDFTextStripper__dropThreshold,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__spacingTolerance = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__spacingTolerance(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__spacingTolerance,
"spacingTolerance", "F");
float _result = (*jniEnv)->GetFloatField(
jniEnv, self_, _f_PDFTextStripper__spacingTolerance);
return (JniResult){.result = {.f = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__spacingTolerance(jobject self_, float value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__spacingTolerance,
"spacingTolerance", "F");
(*jniEnv)->SetFloatField(jniEnv, self_, _f_PDFTextStripper__spacingTolerance,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__averageCharTolerance = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__averageCharTolerance(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__averageCharTolerance,
"averageCharTolerance", "F");
float _result = (*jniEnv)->GetFloatField(
jniEnv, self_, _f_PDFTextStripper__averageCharTolerance);
return (JniResult){.result = {.f = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__averageCharTolerance(jobject self_,
float value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__averageCharTolerance,
"averageCharTolerance", "F");
(*jniEnv)->SetFloatField(jniEnv, self_,
_f_PDFTextStripper__averageCharTolerance, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__beadRectangles = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__beadRectangles(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__beadRectangles,
"beadRectangles", "Ljava/util/List;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDFTextStripper__beadRectangles));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__beadRectangles(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__beadRectangles,
"beadRectangles", "Ljava/util/List;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__beadRectangles,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__charactersByArticle = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__charactersByArticle(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__charactersByArticle,
"charactersByArticle", "Ljava/util/ArrayList;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDFTextStripper__charactersByArticle));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__charactersByArticle(jobject self_,
jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__charactersByArticle,
"charactersByArticle", "Ljava/util/ArrayList;");
(*jniEnv)->SetObjectField(jniEnv, self_,
_f_PDFTextStripper__charactersByArticle, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__characterListMapping = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__characterListMapping(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__characterListMapping,
"characterListMapping", "Ljava/util/Map;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDFTextStripper__characterListMapping));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__characterListMapping(jobject self_,
jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__characterListMapping,
"characterListMapping", "Ljava/util/Map;");
(*jniEnv)->SetObjectField(jniEnv, self_,
_f_PDFTextStripper__characterListMapping, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__document = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__document(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__document, "document",
"Lorg/apache/pdfbox/pdmodel/PDDocument;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDFTextStripper__document));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__document(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__document, "document",
"Lorg/apache/pdfbox/pdmodel/PDDocument;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__document, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__output = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__output(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__output, "output",
"Ljava/io/Writer;");
jobject _result = to_global_ref(
(*jniEnv)->GetObjectField(jniEnv, self_, _f_PDFTextStripper__output));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__output(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__output, "output",
"Ljava/io/Writer;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__output, value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__inParagraph = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__inParagraph(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__inParagraph,
"inParagraph", "Z");
uint8_t _result = (*jniEnv)->GetBooleanField(jniEnv, self_,
_f_PDFTextStripper__inParagraph);
return (JniResult){.result = {.z = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__inParagraph(jobject self_, uint8_t value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__inParagraph,
"inParagraph", "Z");
(*jniEnv)->SetBooleanField(jniEnv, self_, _f_PDFTextStripper__inParagraph,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__LIST_ITEM_EXPRESSIONS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__LIST_ITEM_EXPRESSIONS() {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_field(_c_PDFTextStripper,
&_f_PDFTextStripper__LIST_ITEM_EXPRESSIONS,
"LIST_ITEM_EXPRESSIONS", "L[java/lang/String;");
jobject _result = to_global_ref((*jniEnv)->GetStaticObjectField(
jniEnv, _c_PDFTextStripper, _f_PDFTextStripper__LIST_ITEM_EXPRESSIONS));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__listOfPatterns = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__listOfPatterns(jobject self_) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__listOfPatterns,
"listOfPatterns", "Ljava/util/List;");
jobject _result = to_global_ref((*jniEnv)->GetObjectField(
jniEnv, self_, _f_PDFTextStripper__listOfPatterns));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__listOfPatterns(jobject self_, jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_field(_c_PDFTextStripper, &_f_PDFTextStripper__listOfPatterns,
"listOfPatterns", "Ljava/util/List;");
(*jniEnv)->SetObjectField(jniEnv, self_, _f_PDFTextStripper__listOfPatterns,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}
jfieldID _f_PDFTextStripper__MIRRORING_CHAR_MAP = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PDFTextStripper__MIRRORING_CHAR_MAP() {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_field(_c_PDFTextStripper, &_f_PDFTextStripper__MIRRORING_CHAR_MAP,
"MIRRORING_CHAR_MAP", "Ljava/util/Map;");
jobject _result = to_global_ref((*jniEnv)->GetStaticObjectField(
jniEnv, _c_PDFTextStripper, _f_PDFTextStripper__MIRRORING_CHAR_MAP));
return (JniResult){.result = {.l = _result}, .exception = check_exception()};
}
FFI_PLUGIN_EXPORT
JniResult set_PDFTextStripper__MIRRORING_CHAR_MAP(jobject value) {
load_env();
load_class_gr(&_c_PDFTextStripper, "org/apache/pdfbox/text/PDFTextStripper");
if (_c_PDFTextStripper == NULL)
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
load_static_field(_c_PDFTextStripper, &_f_PDFTextStripper__MIRRORING_CHAR_MAP,
"MIRRORING_CHAR_MAP", "Ljava/util/Map;");
(*jniEnv)->SetStaticObjectField(jniEnv, _c_PDFTextStripper,
_f_PDFTextStripper__MIRRORING_CHAR_MAP,
value);
return (JniResult){.result = {.j = 0}, .exception = check_exception()};
}