1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
7 #ifndef PUBLIC_FPDF_PPO_H_
8 #define PUBLIC_FPDF_PPO_H_
16 // Function: FPDF_ImportPages
17 // Import some pages to a PDF document.
19 // dest_doc - The destination document which add the pages.
20 // src_doc - A document to be imported.
21 // pagerange - A page range string, Such as "1,3,5-7".
22 // If this parameter is NULL, it would import all pages
24 // index - The page index wanted to insert from.
26 // TRUE for succeed, FALSE for Failed.
27 DLLEXPORT FPDF_BOOL STDCALL FPDF_ImportPages(FPDF_DOCUMENT dest_doc,
28 FPDF_DOCUMENT src_doc,
29 FPDF_BYTESTRING pagerange,
32 // Function: FPDF_CopyViewerPreferences
33 // Copy the viewer preferences from one PDF document to another.#endif
35 // dest_doc - Handle to document to write the viewer preferences
37 // src_doc - Handle to document with the viewer preferences.
39 // TRUE for success, FALSE for failure.
40 DLLEXPORT FPDF_BOOL STDCALL FPDF_CopyViewerPreferences(FPDF_DOCUMENT dest_doc,
41 FPDF_DOCUMENT src_doc);
47 #endif // PUBLIC_FPDF_PPO_H_