Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: public/fpdf_ppo.h

Issue 1465723002: Make XFA public more closely match master. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: spacing Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « public/fpdf_flatten.h ('k') | public/fpdf_progressive.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef PUBLIC_FPDF_PPO_H_ 7 #ifndef PUBLIC_FPDF_PPO_H_
8 #define PUBLIC_FPDF_PPO_H_ 8 #define PUBLIC_FPDF_PPO_H_
9 9
10 #include "fpdfview.h" 10 #include "fpdfview.h"
11 11
12 #ifdef __cplusplus 12 #ifdef __cplusplus
13 extern "C" { 13 extern "C" {
14 #endif 14 #endif
15 15
16 // Function: FPDF_ImportPages 16 // Function: FPDF_ImportPages
17 // Import some pages to a PDF document. 17 // Import some pages to a PDF document.
18 // Parameters: 18 // Parameters:
19 // dest_doc - The destination document which add the pages. 19 // dest_doc - The destination document which add the pages.
20 // src_doc - A document to be imported. 20 // src_doc - A document to be imported.
21 // pagerange - A page range string, Such as "1,3,5-7". 21 // pagerange - A page range string, Such as "1,3,5-7".
22 // If this parameter is NULL, it would import all pages 22 // If this parameter is NULL, it would import all pages
23 // in src_doc. 23 // in src_doc.
24 // index - The page index wanted to insert from. 24 // index - The page index wanted to insert from.
25 // Return value: 25 // Return value:
26 // TRUE for succeed, FALSE for Failed. 26 // TRUE for succeed, FALSE for Failed.
27 // Notes:
28 // The method not support this feature for the document consists of
29 // dynamic XFA fields.
30 //
31 DLLEXPORT FPDF_BOOL STDCALL FPDF_ImportPages(FPDF_DOCUMENT dest_doc, 27 DLLEXPORT FPDF_BOOL STDCALL FPDF_ImportPages(FPDF_DOCUMENT dest_doc,
32 FPDF_DOCUMENT src_doc, 28 FPDF_DOCUMENT src_doc,
33 FPDF_BYTESTRING pagerange, 29 FPDF_BYTESTRING pagerange,
34 int index); 30 int index);
35 31
36 // Function: FPDF_CopyViewerPreferences 32 // Function: FPDF_CopyViewerPreferences
37 // Copy the viewer preferences from one PDF document to another.#endif 33 // Copy the viewer preferences from one PDF document to another.#endif
38 // Parameters: 34 // Parameters:
39 // dest_doc - Handle to document to write the viewer preferences 35 // dest_doc - Handle to document to write the viewer preferences
40 // to. 36 // to.
41 // src_doc - Handle to document with the viewer preferences. 37 // src_doc - Handle to document with the viewer preferences.
42 // Return value: 38 // Return value:
43 // TRUE for success, FALSE for failure. 39 // TRUE for success, FALSE for failure.
44 DLLEXPORT FPDF_BOOL STDCALL FPDF_CopyViewerPreferences(FPDF_DOCUMENT dest_doc, 40 DLLEXPORT FPDF_BOOL STDCALL FPDF_CopyViewerPreferences(FPDF_DOCUMENT dest_doc,
45 FPDF_DOCUMENT src_doc); 41 FPDF_DOCUMENT src_doc);
46 42
47 #ifdef __cplusplus 43 #ifdef __cplusplus
48 } 44 }
49 #endif 45 #endif
50 46
51 #endif // PUBLIC_FPDF_PPO_H_ 47 #endif // PUBLIC_FPDF_PPO_H_
OLDNEW
« no previous file with comments | « public/fpdf_flatten.h ('k') | public/fpdf_progressive.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698