From 66ce22c6cdb38ca5941c175aea371df92ae9cb8b Mon Sep 17 00:00:00 2001 From: xlou Date: Wed, 31 Jan 2018 22:24:05 +0000 Subject: Experimental API for N-up feature support for print FPDF_ImportNPagesToOne function is added to support N-up feature for print. If numPagesOnXAxis * numPagesOnYAxis == 0 Returns a nullptr. If numPagesOnXAxis * numPagesOnYAxis == 1 Creates a new PDF document, and import one page to each output page of the PDF document If numPagesOnXAxis * numPagesOnYAxis > 1, FPDF_ImportNPagesToOne imports multiple pages onto the same page. This feature is intended for print pipeline to use. Change-Id: Iec1afffe377ff9b7fef3cb33414b29b324154fa4 Reviewed-on: https://pdfium-review.googlesource.com/22050 Commit-Queue: Shirleen Lou Reviewed-by: Lei Zhang Reviewed-by: Henrique Nakashima Reviewed-by: dsinclair --- fpdfsdk/fpdfview_c_api_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fpdfsdk/fpdfview_c_api_test.c') diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c index 53d8776be0..abffb7676f 100644 --- a/fpdfsdk/fpdfview_c_api_test.c +++ b/fpdfsdk/fpdfview_c_api_test.c @@ -237,6 +237,7 @@ int CheckPDFiumCApi() { // fpdf_ppo.h CHK(FPDF_ImportPages); + CHK(FPDF_ImportNPagesToOne); CHK(FPDF_CopyViewerPreferences); // fpdf_progressive.h -- cgit v1.2.3