OLD | NEW |
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_EXT_H_ | 7 #ifndef PUBLIC_FPDF_EXT_H_ |
8 #define PUBLIC_FPDF_EXT_H_ | 8 #define PUBLIC_FPDF_EXT_H_ |
9 | 9 |
10 #include "fpdfview.h" | 10 #include "fpdfview.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // Attachments panel visible. | 81 // Attachments panel visible. |
82 #define PAGEMODE_USEATTACHMENTS 5 | 82 #define PAGEMODE_USEATTACHMENTS 5 |
83 | 83 |
84 // Get the document's PageMode. | 84 // Get the document's PageMode. |
85 // | 85 // |
86 // doc - Handle to document. | 86 // doc - Handle to document. |
87 // | 87 // |
88 // Returns one of the |PAGEMODE_*| flags defined above. | 88 // Returns one of the |PAGEMODE_*| flags defined above. |
89 // | 89 // |
90 // The page mode defines how the document should be initially displayed. | 90 // The page mode defines how the document should be initially displayed. |
91 DLLEXPORT int FPDFDoc_GetPageMode(FPDF_DOCUMENT document); | 91 DLLEXPORT int STDCALL FPDFDoc_GetPageMode(FPDF_DOCUMENT document); |
92 | 92 |
93 #ifdef __cplusplus | 93 #ifdef __cplusplus |
94 } // extern "C" | 94 } // extern "C" |
95 #endif // __cplusplus | 95 #endif // __cplusplus |
96 | 96 |
97 #endif // PUBLIC_FPDF_EXT_H_ | 97 #endif // PUBLIC_FPDF_EXT_H_ |
OLD | NEW |