From 5110c4743751145c4ae1934cd1d83bc6c55bb43f Mon Sep 17 00:00:00 2001 From: John Abd-El-Malek Date: Sat, 17 May 2014 22:33:34 -0700 Subject: Initial commit. --- fpdfsdk/include/fpdfppo.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 fpdfsdk/include/fpdfppo.h (limited to 'fpdfsdk/include/fpdfppo.h') diff --git a/fpdfsdk/include/fpdfppo.h b/fpdfsdk/include/fpdfppo.h new file mode 100644 index 0000000000..5f77b5bf8d --- /dev/null +++ b/fpdfsdk/include/fpdfppo.h @@ -0,0 +1,34 @@ +// Copyright 2014 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + +#ifndef _FPDFPPO_H_ +#define _FPDFPPO_H_ + +#include "fpdfview.h" + +// Function: FPDF_ImportPages +// Import some pages to a PDF document. +// Parameters: +// dest_doc - The destination document which add the pages. +// src_doc - A document to be imported. +// pagerange - A page range string, Such as "1,3,5-7". +// If this parameter is NULL, it would import all pages in src_doc. +// index - The page index wanted to insert from. +// Return value: +// TRUE for succeed, FALSE for Failed. +DLLEXPORT FPDF_BOOL STDCALL FPDF_ImportPages(FPDF_DOCUMENT dest_doc,FPDF_DOCUMENT src_doc, FPDF_BYTESTRING pagerange, int index); + + +// Function: FPDF_CopyViewerPreferences +// Copy the viewer preferences from one PDF document to another.#endif +// Parameters: +// dest_doc - Handle to document to write the viewer preferences to. +// src_doc - Handle to document with the viewer preferences. +// Return value: +// TRUE for success, FALSE for failure. +DLLEXPORT FPDF_BOOL STDCALL FPDF_CopyViewerPreferences(FPDF_DOCUMENT dest_doc, FPDF_DOCUMENT src_doc); +#endif + -- cgit v1.2.3