Home | History | Annotate | Download | only in pdf

Lines Matching refs:pageIndex

126 static jint nativeRemovePage(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex) {
128 FPDFPage_Delete(document, pageIndex);
178 static void nativeSetTransformAndClip(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex,
182 CPDF_Page* page = (CPDF_Page*) FPDF_LoadPage(document, pageIndex);
192 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height);
231 jint pageIndex, jobject outSize) {
234 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex);
244 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height);
263 static bool nativeGetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex,
267 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex);
297 static jboolean nativeGetPageMediaBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex,
299 const bool success = nativeGetPageBox(env, thiz, documentPtr, pageIndex, PAGE_BOX_MEDIA,
304 static jboolean nativeGetPageCropBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex,
306 const bool success = nativeGetPageBox(env, thiz, documentPtr, pageIndex, PAGE_BOX_CROP,
311 static void nativeSetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex,
315 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex);
336 static void nativeSetPageMediaBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex,
338 nativeSetPageBox(env, thiz, documentPtr, pageIndex, PAGE_BOX_MEDIA, mediaBox);
341 static void nativeSetPageCropBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex,
343 nativeSetPageBox(env, thiz, documentPtr, pageIndex, PAGE_BOX_CROP, mediaBox);