mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
OS X: Update bundled pdfium to r3729
This commit is contained in:
36
dependencies/pdfium/macx/include/fpdf_ppo.h
vendored
36
dependencies/pdfium/macx/include/fpdf_ppo.h
vendored
@ -23,10 +23,34 @@ extern "C" {
|
||||
// index - The page index to insert at.
|
||||
//
|
||||
// Returns TRUE on success.
|
||||
DLLEXPORT FPDF_BOOL STDCALL FPDF_ImportPages(FPDF_DOCUMENT dest_doc,
|
||||
FPDF_DOCUMENT src_doc,
|
||||
FPDF_BYTESTRING pagerange,
|
||||
int index);
|
||||
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_ImportPages(FPDF_DOCUMENT dest_doc,
|
||||
FPDF_DOCUMENT src_doc,
|
||||
FPDF_BYTESTRING pagerange,
|
||||
int index);
|
||||
|
||||
// Experimental API.
|
||||
// Create a new document from |src_doc|. The pages of |src_doc| will be
|
||||
// combined to provide |num_pages_on_x_axis x num_pages_on_y_axis| pages per
|
||||
// |output_doc| page.
|
||||
//
|
||||
// src_doc - The document to be imported.
|
||||
// output_width - The output page width in PDF "user space" units.
|
||||
// output_height - The output page height in PDF "user space" units.
|
||||
// num_pages_on_x_axis - The number of pages on X Axis.
|
||||
// num_pages_on_y_axis - The number of pages on Y Axis.
|
||||
//
|
||||
// Return value:
|
||||
// A handle to the created document, or NULL on failure.
|
||||
//
|
||||
// Comments:
|
||||
// number of pages per page = num_pages_on_x_axis * num_pages_on_y_axis
|
||||
//
|
||||
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV
|
||||
FPDF_ImportNPagesToOne(FPDF_DOCUMENT src_doc,
|
||||
float output_width,
|
||||
float output_height,
|
||||
unsigned int num_pages_on_x_axis,
|
||||
unsigned int num_pages_on_y_axis);
|
||||
|
||||
// Copy the viewer preferences from |src_doc| into |dest_doc|.
|
||||
//
|
||||
@ -34,8 +58,8 @@ DLLEXPORT FPDF_BOOL STDCALL FPDF_ImportPages(FPDF_DOCUMENT dest_doc,
|
||||
// src_doc - Document to read the viewer preferences from.
|
||||
//
|
||||
// Returns TRUE on success.
|
||||
DLLEXPORT FPDF_BOOL STDCALL FPDF_CopyViewerPreferences(FPDF_DOCUMENT dest_doc,
|
||||
FPDF_DOCUMENT src_doc);
|
||||
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV
|
||||
FPDF_CopyViewerPreferences(FPDF_DOCUMENT dest_doc, FPDF_DOCUMENT src_doc);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
|
Reference in New Issue
Block a user